/linux/security/tomoyo/ |
H A D | load_policy.c | 43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
|
H A D | realpath.c | 303 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
|
H A D | mount.c | 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
|
/linux/kernel/ |
H A D | audit_tree.c | 690 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees() 832 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule() 883 err = kern_path(new, 0, &path2); in audit_tag_tree() 891 err = kern_path(old, 0, &path1); in audit_tag_tree() 910 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree()
|
/linux/include/linux/ |
H A D | namei.h | 59 extern int kern_path(const char *, unsigned, struct path *);
|
/linux/security/apparmor/ |
H A D | mount.c | 437 error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in aa_bind_mount() 525 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount_old() 563 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount()
|
/linux/fs/smb/server/mgmt/ |
H A D | share_config.c | 192 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
|
/linux/fs/configfs/ |
H A D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux/fs/cachefiles/ |
H A D | cache.c | 40 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
|
/linux/fs/nfsd/ |
H A D | export.c | 152 err = kern_path(buf, 0, &key.ek_path); in expkey_parse() 639 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse() 1035 if (kern_path(name, 0, &path)) { in exp_rootfh()
|
H A D | nfs4recover.c | 661 status = kern_path(recdir, LOOKUP_FOLLOW, &path); in nfs4_reset_recoverydir() 2007 status = kern_path(nfs4_recoverydir(), LOOKUP_FOLLOW, &path); in check_for_legacy_methods()
|
H A D | nfsctl.c | 274 error = kern_path(fo_path, 0, &path); in write_unlock_fs()
|
/linux/fs/ecryptfs/ |
H A D | main.c | 478 rc = kern_path(fc->source, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_get_tree()
|
/linux/kernel/trace/ |
H A D | trace_uprobe.c | 596 ret = kern_path(filename, LOOKUP_FOLLOW, &path); in __trace_uprobe_create() 1646 ret = kern_path(name, LOOKUP_FOLLOW, &path); in create_local_trace_uprobe()
|
H A D | bpf_trace.c | 3378 err = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_uprobe_multi_link_attach()
|
/linux/fs/overlayfs/ |
H A D | params.c | 239 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc()
|
/linux/block/ |
H A D | bdev.c | 1205 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
/linux/drivers/mtd/ubi/ |
H A D | build.c | 1175 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
|
/linux/tools/testing/selftests/bpf/test_kmods/ |
H A D | bpf_testmod.c | 538 err = kern_path("/proc/self/exe", LOOKUP_FOLLOW, &uprobe.path); in testmod_register_uprobe()
|
/linux/fs/gfs2/ |
H A D | ops_fstype.c | 1683 error = kern_path(fc->source, LOOKUP_FOLLOW, &path); in gfs2_meta_get_tree()
|
/linux/fs/smb/server/ |
H A D | vfs.c | 643 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
|
/linux/fs/btrfs/ |
H A D | volumes.c | 759 ret = kern_path(old_path, LOOKUP_FOLLOW, &old); in is_same_device() 762 ret = kern_path(new_path, LOOKUP_FOLLOW, &new); in is_same_device() 2007 ret = kern_path(device_path, LOOKUP_FOLLOW, &path); in update_dev_time()
|
/linux/fs/ |
H A D | namei.c | 2813 int kern_path(const char *name, unsigned int flags, struct path *path) in kern_path() function 2822 EXPORT_SYMBOL(kern_path);
|
H A D | namespace.c | 3025 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback() 3676 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old()
|
/linux/drivers/block/ |
H A D | ublk_drv.c | 3593 err = kern_path(dev_path, LOOKUP_FOLLOW, &path); in ublk_char_dev_permission()
|