/freebsd/sys/compat/linux/ |
H A D | linux_xattr.c | 218 .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 D | linux_util.c | 84 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path); in linux_pwd_onexec()
|
/freebsd/sys/kern/ |
H A D | vfs_extattr.c | 103 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 D | vfs_acl.c | 355 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 D | vfs_mountroot.c | 349 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 D | kern_ctf.c | 103 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, lf->pathname); in link_elf_ctf_get()
|
H A D | vfs_syscalls.c | 123 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 D | subr_firmware.c | 297 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, fn); in try_binary_file()
|
H A D | vfs_lookup.c | 564 * 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 D | imgact_binmisc.c | 165 NDINIT(&nd, LOOKUP, FOLLOW | ISOPEN, UIO_SYSSPACE, t); in imgact_binmisc_populate_interp()
|
H A D | vfs_cache.c | 3261 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 D | zfs_file_os.c | 74 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 D | verified_exec.c | 212 NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, params->file); in verifiedexecioctl()
|
/freebsd/sys/sys/ |
H A D | namei.h | 150 #define FOLLOW 0x0040 /* follow symbolic links */ macro
|
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 322 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 D | mac_veriexec.c | 936 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 D | null_vfsops.c | 131 NDINIT(ndp, LOOKUP, FOLLOW|LOCKLEAF, UIO_SYSSPACE, target); in nullfs_mount()
|
/freebsd/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 241 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, sc->mdio->md_file); in open_file()
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vfsops.c | 231 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, target); in unionfs_domount()
|
/freebsd/sys/fs/udf/ |
H A D | udf_vfsops.c | 217 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in udf_mount()
|
/freebsd/sys/security/audit/ |
H A D | audit_syscalls.c | 801 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_auditctl()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_vfsops.c | 163 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in cd9660_mount()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonport.c | 243 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, fname); in nfsrv_lookupfilename()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 357 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, from); in msdosfs_mount()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vfsops.c | 985 NDINIT(&nd, LOOKUP, ISOPEN | FOLLOW | LOCKLEAF, UIO_SYSSPACE, from); in tarfs_mount()
|