aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2013-03-22 03:10:15 -0700
committerEric W. Biederman <[email protected]>2013-03-27 07:50:04 -0700
commit90563b198e4c6674c63672fae1923da467215f45 (patch)
treeaa8528c1c23dccbeca409059ec5f5d21ca1318bf /net/lapb/lapb_iface.c
parent3151527ee007b73a0ebd296010f1c0454a919c7d (diff)
vfs: Add a mount flag to lock read only bind mounts
When a read-only bind mount is copied from mount namespace in a higher privileged user namespace to a mount namespace in a lesser privileged user namespace, it should not be possible to remove the the read-only restriction. Add a MNT_LOCK_READONLY mount flag to indicate that a mount must remain read-only. CC: [email protected] Acked-by: Serge Hallyn <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions