| /OK3568_Linux_fs/kernel/fs/ |
| H A D | file.c | 1181 static int ksys_dup3(unsigned int oldfd, unsigned int newfd, int flags) in ksys_dup3() argument 1190 if (unlikely(oldfd == newfd)) in ksys_dup3() 1193 if (newfd >= rlimit(RLIMIT_NOFILE)) in ksys_dup3() 1197 err = expand_files(files, newfd); in ksys_dup3() 1206 return do_dup2(files, file, newfd, flags); in ksys_dup3() 1215 SYSCALL_DEFINE3(dup3, unsigned int, oldfd, unsigned int, newfd, int, flags) in SYSCALL_DEFINE3() argument 1217 return ksys_dup3(oldfd, newfd, flags); in SYSCALL_DEFINE3() 1220 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2() argument 1222 if (unlikely(newfd == oldfd)) { /* corner case */ in SYSCALL_DEFINE2() 1232 return ksys_dup3(oldfd, newfd, 0); in SYSCALL_DEFINE2()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | seccomp.h | 131 __u32 newfd; member
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | utils.c | 2178 int newfd; in os_move_fd() local 2181 newfd = fcntl(fd, F_DUPFD_CLOEXEC, MAXCLIENTS); in os_move_fd() 2183 newfd = fcntl(fd, F_DUPFD, MAXCLIENTS); in os_move_fd() 2185 if (newfd < 0) in os_move_fd() 2188 fcntl(newfd, F_SETFD, FD_CLOEXEC); in os_move_fd() 2191 return newfd; in os_move_fd()
|
| H A D | connection.c | 339 int newfd = _XSERVTransGetConnectionNumber(ListenTransConns[i]); in ResetWellKnownSockets() local 341 ListenTransFds[i] = newfd; in ResetWellKnownSockets()
|
| /OK3568_Linux_fs/kernel/net/ |
| H A D | socket.c | 1757 int newfd; in __sys_accept4_file() local 1765 newfd = __get_unused_fd_flags(flags, nofile); in __sys_accept4_file() 1766 if (unlikely(newfd < 0)) in __sys_accept4_file() 1767 return newfd; in __sys_accept4_file() 1772 put_unused_fd(newfd); in __sys_accept4_file() 1775 fd_install(newfd, newfile); in __sys_accept4_file() 1776 return newfd; in __sys_accept4_file()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 233 __u32 newfd; member 3996 addfd.newfd = 0; in TEST() 4013 addfd.newfd = 1; in TEST() 4016 addfd.newfd = 0; in TEST() 4045 addfd.newfd = 42; in TEST() 4124 addfd.newfd = 0; in TEST() 4132 addfd.newfd = 100; in TEST()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | seccomp.c | 1577 if (addfd.newfd && !(addfd.flags & SECCOMP_ADDFD_FLAG_SETFD)) in seccomp_notify_addfd() 1586 addfd.newfd : -1; in seccomp_notify_addfd()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | syscalls.h | 392 asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags); 1093 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
|
| /OK3568_Linux_fs/kernel/Documentation/trace/ |
| H A D | ftrace.rst | 3470 bash-1998 [000] d... 140.733504: sys_dup2(oldfd: a, newfd: 1)
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/ |
| H A D | libc.info-6 | 6766 -- Function: int linkat (int oldfd, const char *OLDNAME, int newfd,
|
| H A D | libc.info-13 | 14795 ‘int linkat (int oldfd, const char *OLDNAME, int newfd, const char *NEWNAME, int flags)’
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/ |
| H A D | libc.info-6 | 6766 -- Function: int linkat (int oldfd, const char *OLDNAME, int newfd,
|
| H A D | libc.info-13 | 14795 ‘int linkat (int oldfd, const char *OLDNAME, int newfd, const char *NEWNAME, int flags)’
|