Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Daudit.h52 struct audit_krule rule;
253 extern struct audit_entry *audit_dupe_rule(struct audit_krule *old);
269 extern int audit_to_watch(struct audit_krule *krule, char *path, int len,
271 extern int audit_add_watch(struct audit_krule *krule, struct list_head **list);
272 extern void audit_remove_watch_rule(struct audit_krule *krule);
277 extern struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule,
281 extern void audit_remove_mark_rule(struct audit_krule *krule);
284 extern int audit_dupe_exe(struct audit_krule *new, struct audit_krule *old);
292 extern int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op);
293 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()
118 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change()
139 void audit_remove_mark_rule(struct audit_krule *krule) in audit_remove_mark_rule()
148 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()
227 static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) in audit_watch_log_rule_change()
250 struct audit_krule *r, *nextr; in audit_update_watch()
325 struct audit_krule *r, *nextr; in audit_remove_parent_watches()
365 static void audit_add_to_parent(struct audit_krule *krule, in audit_add_to_parent()
400 int audit_add_watch(struct audit_krule *krule, struct list_head **list) in audit_add_watch()
447 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.c86 struct audit_krule *erule = &e->rule; in audit_free_rule()
153 static inline int audit_to_inode(struct audit_krule *krule, in audit_to_inode()
634 static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule) in audit_krule_to_data()
704 static int audit_compare_rule(struct audit_krule *a, struct audit_krule *b) in audit_compare_rule()
819 struct audit_entry *audit_dupe_rule(struct audit_krule *old) in audit_dupe_rule()
823 struct audit_krule *new; in audit_dupe_rule()
1081 struct audit_krule *r; in audit_list_rules()
1107 static void audit_log_rule_change(char *action, struct audit_krule *rule, int res) in audit_log_rule_change()
1400 static int update_lsm_rule(struct audit_krule *r) in update_lsm_rule()
1439 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()
725 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.c462 struct audit_krule *rule, in audit_filter_rules()
792 static int audit_in_mask(const struct audit_krule *rule, unsigned long val) in audit_in_mask()
/linux-6.1.9/security/selinux/include/
Daudit.h57 int selinux_audit_rule_known(struct audit_krule *rule);
/linux-6.1.9/security/apparmor/include/
Daudit.h190 int aa_audit_rule_known(struct audit_krule *rule);
/linux-6.1.9/security/apparmor/
Daudit.c207 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known()
/linux-6.1.9/include/linux/
Dsecurity.h74 struct audit_krule;
1910 int security_audit_rule_known(struct audit_krule *krule);
1922 static inline int security_audit_rule_known(struct audit_krule *krule) in security_audit_rule_known()
Daudit.h39 struct audit_krule { struct
Dlsm_hook_defs.h383 LSM_HOOK(int, 0, audit_rule_known, struct audit_krule *krule)
/linux-6.1.9/security/
Dsecurity.c2580 int security_audit_rule_known(struct audit_krule *krule) in security_audit_rule_known()
/linux-6.1.9/security/selinux/ss/
Dservices.c3669 int selinux_audit_rule_known(struct audit_krule *rule) in selinux_audit_rule_known()
/linux-6.1.9/security/smack/
Dsmack_lsm.c4499 static int smack_audit_rule_known(struct audit_krule *krule) in smack_audit_rule_known()