Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/apparmor/
H A Dfile.c506 struct aa_label *flabel, struct file *file, in __file_path_perm()
519 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
529 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
541 if (label == flabel) in __file_path_perm()
547 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
561 struct aa_label *flabel, struct file *file, in __file_sock_perm()
570 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
573 /* TODO: improve to skip profiles cached in flabel */ in __file_sock_perm()
578 last_error(error, aa_sock_file_perm(flabel, op, request, sock)); in __file_sock_perm()
600 struct aa_label *flabel; in aa_file_perm() local
505 __file_path_perm(const char *op, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied, bool in_atomic) __file_path_perm() argument
560 __file_sock_perm(const char *op, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied) __file_sock_perm() argument
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dfile.c486 struct aa_label *flabel, struct file *file, in __file_path_perm()
501 if (!denied && aa_label_is_subset(flabel, label)) in __file_path_perm()
511 error = fn_for_each_not_in_set(flabel, label, profile, in __file_path_perm()
524 if (label == flabel) in __file_path_perm()
531 error = fn_for_each_not_in_set(label, flabel, profile, in __file_path_perm()
547 struct aa_label *flabel, struct file *file, in __file_sock_perm()
556 if (!denied && aa_label_is_subset(flabel, label)) in __file_sock_perm()
559 /* TODO: improve to skip profiles cached in flabel */ in __file_sock_perm()
564 last_error(error, aa_sock_file_perm(subj_cred, flabel, op, in __file_sock_perm()
589 struct aa_label *flabel; in aa_file_perm() local
484 __file_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied, bool in_atomic) __file_path_perm() argument
545 __file_sock_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied) __file_sock_perm() argument
[all...]

Completed in 3 milliseconds