summaryrefslogtreecommitdiff
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:15:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-26 15:07:43 -0400
commite57712ebebbb9db7d8dcef216437b3171ddcf115 (patch)
tree484b748a272fe32385ca37d4d87ace7d4e8732bb /fs/binfmt_flat.c
parent03209378b4b25775bf5e6a86e86f074a1057a439 (diff)
downloadlinux-stable-e57712ebebbb9db7d8dcef216437b3171ddcf115.tar.gz
linux-stable-e57712ebebbb9db7d8dcef216437b3171ddcf115.tar.bz2
linux-stable-e57712ebebbb9db7d8dcef216437b3171ddcf115.zip
merge fchmod() and fchmodat() guts, kill ancient broken kludge
The kludge in question is undocumented and doesn't work for 32bit binaries on amd64, sparc64 and s390. Passing (mode_t)-1 as mode had (since 0.99.14v and contrary to behaviour of any other Unix, prescriptions of POSIX, SuS and our own manpages) was kinda-sorta no-op. Note that any software relying on that (and looking for examples shows none) would be visibly broken on sparc64, where practically all userland is built 32bit. No such complaints noticed... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions