diff options
author | Christian Brauner <[email protected]> | 2021-05-11 16:30:15 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2021-05-12 14:13:16 +0200 |
commit | 2ca4dcc4909d787ee153272f7efc2bff3b498720 (patch) | |
tree | 730c43aa2706393f338200da6eb1ba333487d244 /include/linux/fpga/fpga-bridge.h | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
fs/mount_setattr: tighten permission checks
We currently don't have any filesystems that support idmapped mounts
which are mountable inside a user namespace. That was a deliberate
decision for now as a userns root can just mount the filesystem
themselves. So enforce this restriction explicitly until there's a real
use-case for this. This way we can notice it and will have a chance to
adapt and audit our translation helpers and fstests appropriately if we
need to support such filesystems.
Cc: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
CC: [email protected]
Suggested-by: Seth Forshee <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions