linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dup2 return value mismatch
@ 2012-10-31  2:18 Linliangjie
  2012-10-31  3:00 ` Al Viro
  0 siblings, 1 reply; 5+ messages in thread
From: Linliangjie @ 2012-10-31  2:18 UTC (permalink / raw)
  To: linux-fsdevel@vger.kernel.org
  Cc: viro@zeniv.linux.org.uk, Sanil kumar, shyju pv, Nagamani Mantha,
	Maxiansheng (Max)


Test:
negative test for dup2 call with maxfd


It has been noticed that new changes return directly -EMFILE when the newfd is larger than maxfd in 3.7-rc3 instead of EBADF in 3.6-rc6
file changed : /fs/fcntl.c
Kernel Commit id of the change : f33ff9927f42045116d738ee47ff7bc59f739bd7


More details: "https://bugzilla.kernel.org/show_bug.cgi?id=49791"


IS this an issue or is there a man page update required?


Jack 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-31  3:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31  2:18 dup2 return value mismatch Linliangjie
2012-10-31  3:00 ` Al Viro
2012-10-31  3:14   ` Linus Torvalds
2012-10-31  3:37     ` Al Viro
2012-10-31  3:39       ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).