Home
last modified time | relevance | path

Searched refs:map_old_perms (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/security/apparmor/
H A Dpolicy_compat.c73 * map_old_perms - map old file perms layout to the new layout
78 static u32 map_old_perms(u32 old) in map_old_perms() function
117 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in compute_fperms_user()
118 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in compute_fperms_user()
119 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in compute_fperms_user()
132 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in compute_fperms_other()
133 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in compute_fperms_other()
134 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in compute_fperms_other()
/kernel/linux/linux-5.10/security/apparmor/
H A Dfile.c176 * map_old_perms - map old file perms layout to the new layout
181 static u32 map_old_perms(u32 old) in map_old_perms() function
224 perms.allow = map_old_perms(dfa_user_allow(dfa, state)); in aa_compute_fperms()
225 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in aa_compute_fperms()
226 perms.quiet = map_old_perms(dfa_user_quiet(dfa, state)); in aa_compute_fperms()
229 perms.allow = map_old_perms(dfa_other_allow(dfa, state)); in aa_compute_fperms()
230 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in aa_compute_fperms()
231 perms.quiet = map_old_perms(dfa_other_quiet(dfa, state)); in aa_compute_fperms()

Completed in 3 milliseconds