summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-02-02 10:17:51 +1100
committerDave Chinner <david@fromorbit.com>2015-02-02 10:17:51 +1100
commit41c145271d79eae508321340b727d3e3c9a66664 (patch)
treec22e4607190bca41d2e45445ec41277d41be0aca /mm/compaction.c
parentfd179b9c3bdab682ae5bb3e10380a31853be179a (diff)
downloadop-kernel-dev-41c145271d79eae508321340b727d3e3c9a66664.zip
op-kernel-dev-41c145271d79eae508321340b727d3e3c9a66664.tar.gz
xfs: XFS_IOCTL_SETXATTR can run in user namespaces
Currently XFS_IOCTL_SETXATTR will fail if run in a user namespace as it it not allowed to change project IDs. The current code, however, also prevents any other change being made as well, so things like extent size hints cannot be set in user namespaces. This is wrong, so only disallow access to project IDs and related flags from inside the init namespace. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud