diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-06 15:12:33 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 10:57:07 +0200 |
commit | bc77daa783afcc56004d4ed3582983b234e01872 (patch) | |
tree | 9bd21739d43b5193eebaff2ed04de5113844a0f8 /mm/swap.c | |
parent | pcm_native: switch to fdget()/fdput() (diff) | |
download | linux-bc77daa783afcc56004d4ed3582983b234e01872.tar.xz linux-bc77daa783afcc56004d4ed3582983b234e01872.zip |
do_last(): fix missing checks for LAST_BIND case
/proc/self/cwd with O_CREAT should fail with EISDIR. /proc/self/exe, OTOH,
should fail with ENOTDIR when opened with O_DIRECTORY.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions