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 | 329 static int tomoyo_file_open(struct file *f, const struct cred *cred) in tomoyo_file_open() argument 331 int flags = f->f_flags; in tomoyo_file_open() 335 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, flags); in tomoyo_file_open()
|
/security/apparmor/ |
D | apparmorfs.c | 75 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load() argument 98 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace() argument 120 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove() argument
|
/security/smack/ |
D | smack_lsm.c | 3264 struct audit_field *f; in smack_audit_rule_known() local 3268 f = &krule->fields[i]; in smack_audit_rule_known() 3270 if (f->type == AUDIT_SUBJ_USER || f->type == AUDIT_OBJ_USER) in smack_audit_rule_known()
|
/security/selinux/ss/ |
D | services.c | 3091 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known() local 3092 switch (f->type) { in selinux_audit_rule_known()
|