Home
last modified time | relevance | path

Searched refs:FOLLOW (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/sys/compat/linux/
H A Dlinux_xattr.c218 .follow = FOLLOW, in linux_listxattr()
277 .follow = FOLLOW, in linux_removexattr()
336 .follow = FOLLOW, in linux_getxattr()
424 .follow = FOLLOW, in linux_setxattr()
H A Dlinux_util.c84 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path); in linux_pwd_onexec()
/freebsd/sys/kern/
H A Dvfs_extattr.c103 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE2, UIO_USERSPACE, in sys_extattrctl()
113 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_extattrctl()
281 uap->attrname, uap->data, uap->nbytes, FOLLOW)); in sys_extattr_set_file()
468 uap->attrname, uap->data, uap->nbytes, FOLLOW)); in sys_extattr_get_file()
622 uap->attrname, FOLLOW)); in sys_extattr_delete_file()
790 uap->data, uap->nbytes, FOLLOW)); in sys_extattr_list_file()
H A Dvfs_acl.c355 FOLLOW)); in sys___acl_get_file()
394 FOLLOW)); in sys___acl_set_file()
472 return (kern___acl_delete_path(td, uap->path, uap->type, FOLLOW)); in sys___acl_delete_file()
530 FOLLOW)); in sys___acl_aclcheck_file()
H A Dvfs_mountroot.c349 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspath); in vfs_mountroot_shuffle()
353 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, in vfs_mountroot_shuffle()
383 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, "/dev"); in vfs_mountroot_shuffle()
723 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, dev); in parse_mount_dev_present()
947 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/.mount.conf"); in vfs_mountroot_readconf()
H A Dkern_ctf.c103 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, lf->pathname); in link_elf_ctf_get()
H A Dvfs_syscalls.c123 res |= FOLLOW; in at2cnpflags()
127 FOLLOW; in at2cnpflags()
201 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_quotactl()
334 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path); in kern_statfs()
951 NDINIT(&nd, LOOKUP, FOLLOW | LOCKSHARED | LOCKLEAF | AUDITVNODE1, in kern_chdir()
996 NDINIT(&nd, LOOKUP, FOLLOW | LOCKSHARED | LOCKLEAF | AUDITVNODE1, in sys_chroot()
1168 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW | AUDITVNODE1 | WANTIOCTLCAPS, in openatfp()
2592 error = kern_pathconf(td, uap->path, UIO_USERSPACE, uap->name, FOLLOW, in sys_pathconf()
3292 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path, fd, in kern_utimesat()
3490 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path); in kern_truncate()
[all …]
H A Dsubr_firmware.c297 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, fn); in try_binary_file()
H A Dvfs_lookup.c564 * The FOLLOW flag is set when symbolic links are to be followed
1344 ((cnp->cn_flags & FOLLOW) || (cnp->cn_flags & TRAILINGSLASH) || in vfs_lookup()
1592 KASSERT(dp->v_type != VLNK || !(cnp->cn_flags & FOLLOW), in vfs_relookup()
H A Dimgact_binmisc.c165 NDINIT(&nd, LOOKUP, FOLLOW | ISOPEN, UIO_SYSSPACE, t); in imgact_binmisc_populate_interp()
H A Dvfs_cache.c3261 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW | WANTPARENT | AUDITVNODE1, in kern___realpathat()
3919 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_SYSSPACE, path);
3985 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_SYSSPACE, path);
4452 FAILIFEXISTS | FOLLOW | EMPTYPATH | LOCKSHARED | ISRESTARTED | WILLBEDIR | \ in cache_fpl_istrailingslash()
4828 if ((cnp->cn_flags & FOLLOW) != 0) { in cache_fplookup_final_modifying()
5209 if ((cnp->cn_flags & FOLLOW) != 0) { in cache_fplookup_noentry()
5457 if ((cnp->cn_flags & FOLLOW) == 0) { in cache_fplookup_symlink()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c74 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path); in zfs_file_open()
76 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, td); in zfs_file_open()
/freebsd/sys/dev/veriexec/
H A Dverified_exec.c212 NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, params->file); in verifiedexecioctl()
/freebsd/sys/sys/
H A Dnamei.h150 #define FOLLOW 0x0040 /* follow symbolic links */ macro
/freebsd/sys/security/mac/
H A Dmac_syscalls.c322 return (kern___mac_get_path(td, uap->path_p, uap->mac_p, FOLLOW)); in sys___mac_get_file()
490 return (kern___mac_set_path(td, uap->path_p, uap->mac_p, FOLLOW)); in sys___mac_set_file()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c936 FOLLOW | LOCKLEAF | LOCKSHARED | AUDITVNODE1, in mac_veriexec_syscall()
962 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, in mac_veriexec_syscall()
/freebsd/sys/fs/nullfs/
H A Dnull_vfsops.c131 NDINIT(ndp, LOOKUP, FOLLOW|LOCKLEAF, UIO_SYSSPACE, target); in nullfs_mount()
/freebsd/sys/dev/beri/virtio/
H A Dvirtio_block.c241 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, sc->mdio->md_file); in open_file()
/freebsd/sys/fs/unionfs/
H A Dunion_vfsops.c231 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, target); in unionfs_domount()
/freebsd/sys/fs/udf/
H A Dudf_vfsops.c217 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in udf_mount()
/freebsd/sys/security/audit/
H A Daudit_syscalls.c801 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_auditctl()
/freebsd/sys/fs/cd9660/
H A Dcd9660_vfsops.c163 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in cd9660_mount()
/freebsd/sys/fs/nfs/
H A Dnfs_commonport.c243 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, fname); in nfsrv_lookupfilename()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c357 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, from); in msdosfs_mount()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vfsops.c985 NDINIT(&nd, LOOKUP, ISOPEN | FOLLOW | LOCKLEAF, UIO_SYSSPACE, from); in tarfs_mount()

12