diff options
author | Omar Sandoval <osandov@fb.com> | 2018-11-13 23:47:03 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-11-26 16:45:34 +0100 |
commit | 2a74c0e4ee9a4a66deadc99045e69e68f2c33136 (patch) | |
tree | a709c7e0aa5b1000725283da03861e4d057a8564 /common-defs.h | |
parent | bfe2dc379662bd2aba40db9fe9185a57dae0c4a9 (diff) |
libbtrfsutil: relax the privileges of subvolume iterator
We can use the new BTRFS_IOC_GET_SUBVOL_ROOTREF and
BTRFS_IOC_INO_LOOKUP_USER ioctls to allow non-root users to list
subvolumes.
This is based on a patch from Misono Tomohiro but takes a different
approach (mainly, this approach is more similar to the existing tree
search approach).
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'common-defs.h')
0 files changed, 0 insertions, 0 deletions