aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-03-16 18:34:20 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-23 14:59:55 -0700
commitf2b10ab15c8d062ccbfd1913a8261bc475a2fb59 (patch)
tree47684f21dc975f5f79f30eb1149d88b883127486 /fs
parentae2bc4d2561258f8ce41c0dfd67bea094adf1b3f (diff)
nfsd: nfsd should drop CAP_MKNOD for non-root
commit 76a67ec6fb79ff3570dcb5342142c16098299911 upstream. Since creating a device node is normally an operation requiring special privilege, Igor Zhbanov points out that it is surprising (to say the least) that a client can, for example, create a device node on a filesystem exported with root_squash. So, make sure CAP_MKNOD is among the capabilities dropped when an nfsd thread handles a request from a non-root user. Reported-by: Igor Zhbanov <izh1979@gmail.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions