summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-06 17:33:28 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit46d4c3a36a98c9f3add60e1d4e25b4fed1d304da (patch)
tree85c93ce893bfd32e2ad322eedd0b7d0a39b17b2e /factory
parentcca09ee8d6ece8e22b638efd05c4c0eb49e91b91 (diff)
copy: extend check for mount point crossing
We do this checks as protection against bind mount cycles on the same file system. However, the check wasn't really effective for that, as it would only detect cycles A → B → A this way. By using fs_is_mount_point() we'll also detect cycles A → A. Also, while we are at it, make these file system boundary checks optional. This is not used anywhere, but might be eventually... Most importantly though add a longer blurb explanation the why.
Diffstat (limited to 'factory')
0 files changed, 0 insertions, 0 deletions