Searched refs:new_path (Results 1 – 6 of 6) sorted by relevance
/security/apparmor/ |
D | mount.c | 640 const struct path *new_path, in build_pivotroot() argument 652 AA_BUG(!new_path); in build_pivotroot() 664 error = aa_path_name(new_path, path_flags(profile, new_path), in build_pivotroot() 692 const struct path *new_path) in aa_pivotroot() argument 701 AA_BUG(!new_path); in aa_pivotroot() 709 build_pivotroot(profile, new_path, new_buffer, in aa_pivotroot()
|
D | lsm.c | 370 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename() local 382 error = aa_path_perm(OP_RENAME_DEST, label, &new_path, in apparmor_path_rename() 584 const struct path *new_path) in apparmor_sb_pivotroot() argument 591 error = aa_pivotroot(label, old_path, new_path); in apparmor_sb_pivotroot()
|
/security/apparmor/include/ |
D | mount.h | 48 const struct path *new_path);
|
/security/tomoyo/ |
D | tomoyo.c | 418 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/ |
D | fs.c | 547 const struct path *const new_path) in hook_sb_pivotroot() argument
|
/security/ |
D | security.c | 986 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()
|