commit | 6c5d0512a091480c9f981162227fdb1c9d70e555 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 26 13:38:19 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 26 20:53:44 2008 -0400 |
tree | d9706cc3c26beacd588a9b976bb4384369a2b86d | |
parent | 4cc38a1b383f0c6c65a3fef4ff8144e8000e4ec3 [diff] |
[PATCH] get rid of corner case in dup3() entirely Since Ulrich is OK with getting rid of dup3(fd, fd, flags) completely, to hell the damn thing goes. Corner case for dup2() is handled in sys_dup2() (complete with -EBADF if dup2(fd, fd) is called with fd that is not open), the rest is done in dup3(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>