Home
last modified time | relevance | path

Searched refs:newfd (Results 1 – 6 of 6) sorted by relevance

/xnu-11215.1.10/libsyscall/wrappers/
H A Drenameat.c25 int __renameat(int oldfd, const char *old, int newfd, const char *new);
28 renameat(int oldfd, const char *old, int newfd, const char *new) in renameat() argument
30 int res = __renameat(oldfd, old, newfd, new); in renameat()
H A Drenamex.c27 int __renameatx_np(int oldfd, const char *old, int newfd, const char *new, unsigned int flags);
30 renameatx_np(int oldfd, const char *old, int newfd, const char *new, unsigned int flags) in renameatx_np() argument
32 int res = __renameatx_np(oldfd, old, newfd, new, flags); in renameatx_np()
/xnu-11215.1.10/security/
H A Dmac_file.c60 mac_file_check_dup(struct ucred *cred, struct fileglob *fg, int newfd) in mac_file_check_dup() argument
64 MAC_CHECK(file_check_dup, cred, fg, NULL, newfd); in mac_file_check_dup()
H A Dmac_framework.h192 int mac_file_check_dup(kauth_cred_t cred, struct fileglob *fg, int newfd) __result_use_check;
H A Dmac_policy.h809 int newfd
/xnu-11215.1.10/bsd/kern/
H A Duipc_syscalls.c465 int newfd; in accept_nocancel() local
620 error = falloc(p, &fp, &newfd); in accept_nocancel()
637 *retval = newfd; in accept_nocancel()
711 procfdtbl_releasefd(p, newfd, NULL); in accept_nocancel()
712 fp_drop(p, newfd, fp, 1); in accept_nocancel()
718 newfd, 0, (int64_t)VM_KERNEL_ADDRPERM(so)); in accept_nocancel()