From: Al Viro Date: Mon, 8 Oct 2012 22:21:58 +0000 (+0100) Subject: Fix F_DUPFD_CLOEXEC breakage X-Git-Tag: v3.7-rc1~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121977187ca0a7f20b848530deb04cc56167769b;p=pandora-kernel.git 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 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed