Home
last modified time | relevance | path

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

/security/apparmor/
A Dmount.c426 struct path old_path; in aa_bind_mount() local
453 path_put(&old_path); in aa_bind_mount()
520 struct path old_path; in aa_move_mount_old() local
525 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount_old()
530 path_put(&old_path); in aa_move_mount_old()
665 const struct path *old_path, in build_pivotroot() argument
677 AA_BUG(!old_path); in build_pivotroot()
683 error = aa_path_name(old_path, path_flags(profile, old_path), in build_pivotroot()
717 const struct path *old_path, in aa_pivotroot() argument
726 AA_BUG(!old_path); in aa_pivotroot()
[all …]
A Dlsm.c397 struct path old_path = { .mnt = old_dir->mnt, in apparmor_path_rename() local
421 label, &old_path, in apparmor_path_rename()
428 label, &old_path, 0, in apparmor_path_rename()
774 static int apparmor_sb_pivotroot(const struct path *old_path, in apparmor_sb_pivotroot() argument
782 error = aa_pivotroot(current_cred(), label, old_path, new_path); in apparmor_sb_pivotroot()
/security/apparmor/include/
A Dmount.h57 struct aa_label *label, const struct path *old_path,
/security/tomoyo/
A Dtomoyo.c441 static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) in tomoyo_sb_pivotroot() argument
443 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); in tomoyo_sb_pivotroot()
/security/landlock/
A Dfs.c1493 static int hook_sb_pivotroot(const struct path *const old_path, in hook_sb_pivotroot() argument
/security/
A Dsecurity.c1596 int security_sb_pivotroot(const struct path *old_path, in security_sb_pivotroot() argument
1599 return call_int_hook(sb_pivotroot, old_path, new_path); in security_sb_pivotroot()

Completed in 23 milliseconds