~cbrauner/ubuntu/+source/linux/+git/disco:2019-05-07/shiftfs_btrfs_ioctls

Last commit made on 2019-06-11
Get this branch:
git clone -b 2019-05-07/shiftfs_btrfs_ioctls https://git.launchpad.net/~cbrauner/ubuntu/+source/linux/+git/disco
Only Christian Brauner can upload to this branch. If you are Christian Brauner please log in for upload directions.

Branch merges

Branch information

Name:
2019-05-07/shiftfs_btrfs_ioctls
Repository:
lp:~cbrauner/ubuntu/+source/linux/+git/disco

Recent commits

853e743... by Christian Brauner on 2019-05-07

UBUNTU: SAUCE: shiftfs: allow changing ro/rw for subvolumes

BugLink: https://bugs.launchpad.net/bugs/1832316

This enables toggling between ro/rw for btrfs subvolumes under shiftfs.

Currently, btrfs workloads employing shiftfs cause regression.
With btrfs unprivileged users can already toggle whether a subvolume
will be ro or rw. This is broken on current shiftfs as we haven't
whitelisted these ioctls().
To prevent such regression, we need to whitelist the ioctls
BTRFS_IOC_FS_INFO, BTRFS_IOC_SUBVOL_GETFLAGS, and
BTRFS_IOC_SUBVOL_SETFLAGS. All of them should be safe for unprivileged
users.

Cc: Seth Forshee <email address hidden>
Cc: Tyler Hicks <email address hidden>
Signed-off-by: Christian Brauner <email address hidden>

Some recent commit information could not be fetched.