tag | line | file | source code |
---|---|---|---|
newfd | 38 | fs/fcntl.c | asmlinkage int sys_dup2(unsigned int oldfd, unsigned int newfd) |
newfd | 42 | fs/fcntl.c | if (newfd == oldfd) |
newfd | 43 | fs/fcntl.c | return newfd; |
newfd | 48 | fs/fcntl.c | if (newfd > NR_OPEN) /* historical botch - should have been >= */ |
newfd | 51 | fs/fcntl.c | if (newfd == NR_OPEN) |
newfd | 57 | fs/fcntl.c | sys_close(newfd); |
newfd | 58 | fs/fcntl.c | return dupfd(oldfd,newfd); |