Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 5 of 5) sorted by relevance

/security/apparmor/
Dmount.c607 const struct path *new_path, in build_pivotroot() argument
619 AA_BUG(!new_path); in build_pivotroot()
631 error = aa_path_name(new_path, path_flags(profile, new_path), in build_pivotroot()
659 const struct path *new_path) in aa_pivotroot() argument
668 AA_BUG(!new_path); in aa_pivotroot()
672 build_pivotroot(profile, new_path, new_buffer, in aa_pivotroot()
Dlsm.c356 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename() local
367 error = aa_path_perm(OP_RENAME_DEST, label, &new_path, in apparmor_path_rename()
562 const struct path *new_path) in apparmor_sb_pivotroot() argument
569 error = aa_pivotroot(label, old_path, new_path); in apparmor_sb_pivotroot()
/security/apparmor/include/
Dmount.h48 const struct path *new_path);
/security/tomoyo/
Dtomoyo.c426 static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) in tomoyo_sb_pivotroot() argument
428 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); in tomoyo_sb_pivotroot()
/security/
Dsecurity.c868 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path) in security_sb_pivotroot() argument
870 return call_int_hook(sb_pivotroot, 0, old_path, new_path); in security_sb_pivotroot()