Home
last modified time | relevance | path

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

/security/tomoyo/
Dutil.c837 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 …]
Dtomoyo.c329 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/
Dapparmorfs.c75 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/
Dsmack_lsm.c3264 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/
Dservices.c3091 struct audit_field *f = &rule->fields[i]; in selinux_audit_rule_known() local
3092 switch (f->type) { in selinux_audit_rule_known()