diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-10-08 23:21:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 15:52:31 +0900 |
commit | 121977187ca0a7f20b848530deb04cc56167769b (patch) | |
tree | be4fc44f5aff4fe226e371959f3734db5bf4427e /tools/perf/util | |
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>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions