Home
last modified time | relevance | path

Searched refs:TRYEMULROOT (Results 1 – 15 of 15) sorted by relevance

/netbsd/sys/kern/
H A Dsubr_emul.c129 flags = FOLLOW | TRYEMULROOT | EMULROOTSET; in emul_find_interp()
H A Dvfs_syscalls.c662 NDINIT(&nd, LOOKUP, NOFOLLOW | LOCKLEAF | TRYEMULROOT, pb); in sys_unmount()
1752 error = vn_open(dvp, pb, TRYEMULROOT, flags, cmode, in do_open()
2076 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in sys___getfh30()
2406 NDINIT(&nd, CREATE, LOCKPARENT | TRYEMULROOT, pb); in do_sys_mknodat()
2533 NDINIT(&nd, CREATE, LOCKPARENT | TRYEMULROOT, pb); in do_sys_mkfifoat()
2587 NDINIT(&nd, CREATE, LOCKPARENT | TRYEMULROOT, linkpb); in do_sys_linkat()
2698 NDINIT(&nd, CREATE, LOCKPARENT | TRYEMULROOT, linkpb); in do_sys_symlinkat()
3126 nd_flag = FOLLOW | LOCKLEAF | LOCKSHARED | TRYEMULROOT; in do_sys_accessat()
3301 NDINIT(&nd, LOOKUP, flag | LOCKLEAF | TRYEMULROOT, pb); in kern_pathconf()
4382 NDINIT(&fnd, DELETE, (LOCKPARENT | TRYEMULROOT), fpb); in do_sys_renameat()
[all …]
H A Dvfs_lookup.c546 if ((cnp->cn_flags & TRYEMULROOT) == 0) { in namei_getstartdir()
570 } else if (cnp->cn_flags & TRYEMULROOT && erootdir != NULL) { in namei_getstartdir()
1899 if (cnp->cn_flags & TRYEMULROOT) { in namei_tryemulroot()
1915 cnp->cn_flags &= ~TRYEMULROOT; in namei_tryemulroot()
2259 return NOFOLLOW | TRYEMULROOT; in namei_simple_convert_flags()
2263 return FOLLOW | TRYEMULROOT; in namei_simple_convert_flags()
H A Dkern_acct.c320 error = vn_open(NULL, pb, TRYEMULROOT, FWRITE|O_APPEND, 0, in sys_acct()
H A Dvfs_vnops.c185 KASSERT((nmode & (TRYEMULROOT | NOCHROOT)) == nmode); in vn_open()
197 nd.ni_cnd.cn_flags &= TRYEMULROOT | NOCHROOT; in vn_open()
H A Duipc_usrreq.c992 NDINIT(&nd, CREATE, FOLLOW | LOCKPARENT | TRYEMULROOT, pb); in unp_bind()
1175 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in unp_connect()
H A Dvfs_mount.c861 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in mount_domount()
H A Dkern_exec.c383 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in check_exec()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_fd.c77 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in netbsd32___getfh30()
/netbsd/sys/sys/
H A Dnamei.h154 #define TRYEMULROOT 0x00000010 /* try relative to emulation root macro
H A Dnamei.src146 NAMEIFL TRYEMULROOT 0x00000010 /* try relative to emulation root
268 * - the only flags it uses are (NO)FOLLOW and TRYEMULROOT;
/netbsd/sys/compat/common/
H A Dvfs_syscalls_30.c363 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in compat_30_sys_getfh()
/netbsd/external/cddl/osnet/sys/kern/
H A Dddi.c162 NDINIT(&nd, DELETE, LOCKPARENT | LOCKLEAF | TRYEMULROOT, pb); in do_rmdirp()
/netbsd/sys/compat/linux/common/
H A Dlinux_file.c607 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in linux_unlink_dircheck()
/netbsd/sys/uvm/
H A Duvm_swap.c628 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb); in sys_swapctl()