Searched refs:f (Results 1 – 5 of 5) sorted by relevance
/security/tomoyo/ |
D | util.c | 837 static bool tomoyo_path_matches_pattern2(const char *f, const char *p) in tomoyo_path_matches_pattern2() argument 842 while (*f && *p) { in tomoyo_path_matches_pattern2() 843 f_delimiter = strchr(f, '/'); in tomoyo_path_matches_pattern2() 845 f_delimiter = f + strlen(f); in tomoyo_path_matches_pattern2() 851 if (!tomoyo_file_matches_pattern(f, f_delimiter, p, in tomoyo_path_matches_pattern2() 854 f = f_delimiter; in tomoyo_path_matches_pattern2() 855 if (*f) in tomoyo_path_matches_pattern2() 856 f++; in tomoyo_path_matches_pattern2() 865 return !*f && !*p; in tomoyo_path_matches_pattern2() 878 if (!tomoyo_file_matches_pattern(f, f_delimiter, p + 2, in tomoyo_path_matches_pattern2() [all …]
|
D | tomoyo.c | 322 static int tomoyo_file_open(struct file *f, const struct cred *cred) in tomoyo_file_open() argument 324 int flags = f->f_flags; in tomoyo_file_open() 328 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, flags); in tomoyo_file_open()
|
/security/apparmor/ |
D | apparmorfs.c | 117 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load() argument 140 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace() argument 162 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove() argument 685 static void *p_start(struct seq_file *f, loff_t *pos) in p_start() argument 690 f->private = aa_get_namespace(root); in p_start() 714 static void *p_next(struct seq_file *f, void *p, loff_t *pos) in p_next() argument 717 struct aa_namespace *ns = f->private; in p_next() 730 static void p_stop(struct seq_file *f, void *p) in p_stop() argument 733 struct aa_namespace *root = f->private, *ns; in p_stop() 750 static int seq_show_profile(struct seq_file *f, void *p) in seq_show_profile() argument [all …]
|
/security/smack/ |
D | smack_lsm.c | 4436 struct audit_field *f; in smack_audit_rule_known() local 4440 f = &krule->fields[i]; in smack_audit_rule_known() 4442 if (f->type == AUDIT_SUBJ_USER || f->type == AUDIT_OBJ_USER) in smack_audit_rule_known()
|
/security/selinux/ss/ |
D | services.c | 3133 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known() local 3134 switch (f->type) { in selinux_audit_rule_known()
|