Home
last modified time | relevance | path

Searched refs:audit_krule (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/kernel/
Daudit.h48 struct audit_krule rule;
241 extern struct audit_entry *audit_dupe_rule(struct audit_krule *old);
257 extern int audit_to_watch(struct audit_krule *krule, char *path, int len,
259 extern int audit_add_watch(struct audit_krule *krule, struct list_head **list);
260 extern void audit_remove_watch_rule(struct audit_krule *krule);
265 extern struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule,
269 extern void audit_remove_mark_rule(struct audit_krule *krule);
272 extern int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old);
280 extern int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op);
281 extern int audit_add_tree_rule(struct audit_krule *rule);
[all …]
Daudit_fsnotify.c31 struct audit_krule *rule;
74 struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pathname, int len) in audit_alloc_mark()
117 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change()
138 void audit_remove_mark_rule(struct audit_krule *krule) in audit_remove_mark_rule()
147 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule()
Daudit_watch.c178 int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) in audit_to_watch()
226 static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) in audit_watch_log_rule_change()
249 struct audit_krule *r, *nextr; in audit_update_watch()
324 struct audit_krule *r, *nextr; in audit_remove_parent_watches()
364 static void audit_add_to_parent(struct audit_krule *krule, in audit_add_to_parent()
399 int audit_add_watch(struct audit_krule *krule, struct list_head **list) in audit_add_watch()
446 void audit_remove_watch_rule(struct audit_krule *krule) in audit_remove_watch_rule()
505 int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old) in audit_dupe_exe()
Dauditfilter.c84 struct audit_krule *erule = &e->rule; in audit_free_rule()
151 static inline int audit_to_inode(struct audit_krule *krule, in audit_to_inode()
626 static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule) in audit_krule_to_data()
696 static int audit_compare_rule(struct audit_krule *a, struct audit_krule *b) in audit_compare_rule()
811 struct audit_entry *audit_dupe_rule(struct audit_krule *old) in audit_dupe_rule()
815 struct audit_krule *new; in audit_dupe_rule()
1072 struct audit_krule *r; in audit_list_rules()
1098 static void audit_log_rule_change(char *action, struct audit_krule *rule, int res) in audit_log_rule_change()
1391 static int update_lsm_rule(struct audit_krule *r) in update_lsm_rule()
1430 struct audit_krule *r, *n; in audit_update_lsm_rules()
Daudit_tree.c526 struct audit_krule *rule) in audit_tree_log_remove_rule()
544 struct audit_krule *rule, *next; in kill_rules()
647 int audit_remove_tree_rule(struct audit_krule *rule) in audit_remove_tree_rule()
726 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) in audit_make_tree()
800 int audit_add_tree_rule(struct audit_krule *rule) in audit_add_tree_rule()
Dauditsc.c468 struct audit_krule *rule, in audit_filter_rules()
788 static int audit_in_mask(const struct audit_krule *rule, unsigned long val) in audit_in_mask()
/kernel/linux/linux-5.10/security/selinux/include/
Daudit.h54 int selinux_audit_rule_known(struct audit_krule *krule);
/kernel/linux/linux-5.10/security/apparmor/include/
Daudit.h190 int aa_audit_rule_known(struct audit_krule *rule);
/kernel/linux/linux-5.10/security/apparmor/
Daudit.c207 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known()
/kernel/linux/linux-5.10/include/linux/
Dsecurity.h74 struct audit_krule;
1843 int security_audit_rule_known(struct audit_krule *krule);
1855 static inline int security_audit_rule_known(struct audit_krule *krule) in security_audit_rule_known()
Daudit.h38 struct audit_krule { struct
Dlsm_hook_defs.h372 LSM_HOOK(int, 0, audit_rule_known, struct audit_krule *krule)
/kernel/linux/linux-5.10/security/
Dsecurity.c2485 int security_audit_rule_known(struct audit_krule *krule) in security_audit_rule_known()
/kernel/linux/linux-5.10/security/selinux/ss/
Dservices.c3647 int selinux_audit_rule_known(struct audit_krule *rule) in selinux_audit_rule_known()
/kernel/linux/linux-5.10/security/smack/
Dsmack_lsm.c4486 static int smack_audit_rule_known(struct audit_krule *krule) in smack_audit_rule_known()