commit | bc77daa783afcc56004d4ed3582983b234e01872 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jun 06 09:12:33 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 29 12:57:07 2013 +0400 |
tree | 9bd21739d43b5193eebaff2ed04de5113844a0f8 | |
parent | 0888c321de70d93f8e15614073af6c3ef56088b1 [diff] |
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>