commit | 121977187ca0a7f20b848530deb04cc56167769b | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Mon Oct 08 23:21:58 2012 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 09 15:52:31 2012 +0900 |
tree | be4fc44f5aff4fe226e371959f3734db5bf4427e | |
parent | f5a246eab9a268f51ba8189ea5b098a1bfff200e [diff] |
Fix F_DUPFD_CLOEXEC breakage Fix a braino in F_DUPFD_CLOEXEC; f_dupfd() expects flags for alloc_fd(), get_unused_fd() etc and there clone-on-exec if O_CLOEXEC, not FD_CLOEXEC. Reported-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>