Home
last modified time | relevance | path

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

/security/apparmor/
Dmount.c428 struct path old_path; in aa_bind_mount() local
439 error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in aa_bind_mount()
450 match_mnt(profile, path, buffer, &old_path, old_buffer, in aa_bind_mount()
455 path_put(&old_path); in aa_bind_mount()
490 struct path old_path; in aa_move_mount() local
499 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount()
509 match_mnt(profile, path, buffer, &old_path, old_buffer, in aa_move_mount()
514 path_put(&old_path); in aa_move_mount()
642 const struct path *old_path, in build_pivotroot() argument
653 AA_BUG(!old_path); in build_pivotroot()
[all …]
Dlsm.c368 struct path old_path = { .mnt = old_dir->mnt, in apparmor_path_rename() local
377 error = aa_path_perm(OP_RENAME_SRC, label, &old_path, 0, in apparmor_path_rename()
583 static int apparmor_sb_pivotroot(const struct path *old_path, in apparmor_sb_pivotroot() argument
591 error = aa_pivotroot(label, old_path, new_path); in apparmor_sb_pivotroot()
/security/apparmor/include/
Dmount.h47 int aa_pivotroot(struct aa_label *label, const struct path *old_path,
/security/tomoyo/
Dtomoyo.c418 static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) in tomoyo_sb_pivotroot() argument
420 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); in tomoyo_sb_pivotroot()
/security/landlock/
Dfs.c546 static int hook_sb_pivotroot(const struct path *const old_path, in hook_sb_pivotroot() argument
/security/
Dsecurity.c986 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path) in security_sb_pivotroot() argument
988 return call_int_hook(sb_pivotroot, 0, old_path, new_path); in security_sb_pivotroot()