summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-10-18 12:05:22 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 23:37:22 +0200
commitd32c4f2626acc385d5187bd5c0c24f442328dc60 (patch)
treecd08c94dcf8610c2c2cfc96e5abe744163f3a038 /kernel/sysctl.c
parentNFS: if ATTR_KILL_S*ID bits are set, then skip mode change (diff)
downloadlinux-d32c4f2626acc385d5187bd5c0c24f442328dc60.tar.xz
linux-d32c4f2626acc385d5187bd5c0c24f442328dc60.zip
CIFS: ignore mode change if it's just for clearing setuid/setgid bits
If the ATTR_KILL_S*ID bits are set then any mode change is only for clearing the setuid/setgid bits. For CIFS, skip the mode change and let the server handle it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Cc: Steven French <sfrench@us.ibm.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions