Searched refs:watch (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | audit_watch.c | 100 void audit_get_watch(struct audit_watch *watch) in audit_get_watch() argument 102 refcount_inc(&watch->count); in audit_get_watch() 105 void audit_put_watch(struct audit_watch *watch) in audit_put_watch() argument 107 if (refcount_dec_and_test(&watch->count)) { in audit_put_watch() 108 WARN_ON(watch->parent); in audit_put_watch() 109 WARN_ON(!list_empty(&watch->rules)); in audit_put_watch() 110 kfree(watch->path); in audit_put_watch() 111 kfree(watch); in audit_put_watch() 115 static void audit_remove_watch(struct audit_watch *watch) in audit_remove_watch() argument 117 list_del(&watch->wlist); in audit_remove_watch() [all …]
|
D | watch_queue.c | 205 struct watch *watch; in __post_watch_notification() local 214 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification() 215 if (watch->id != id) in __post_watch_notification() 218 n->info |= watch->info_id; in __post_watch_notification() 220 wqueue = rcu_dereference(watch->queue); in __post_watch_notification() 225 if (security_post_notification(watch->cred, cred, n) < 0) in __post_watch_notification() 423 struct watch *watch = container_of(rcu, struct watch, rcu); in free_watch() local 425 put_watch_queue(rcu_access_pointer(watch->queue)); in free_watch() 426 atomic_dec(&watch->cred->user->nr_watches); in free_watch() 427 put_cred(watch->cred); in free_watch() [all …]
|
D | auditfilter.c | 87 if (erule->watch) in audit_free_rule() 88 audit_put_watch(erule->watch); in audit_free_rule() 155 krule->inode_f || krule->watch || krule->tree || in audit_to_inode() 663 audit_watch_path(krule->watch)); in audit_krule_to_data() 727 if (strcmp(audit_watch_path(a->watch), in audit_compare_rule() 728 audit_watch_path(b->watch))) in audit_compare_rule() 881 if (old->watch) { in audit_dupe_rule() 882 audit_get_watch(old->watch); in audit_dupe_rule() 883 new->watch = old->watch; in audit_dupe_rule() 901 } else if (entry->rule.watch) { in audit_find_rule() [all …]
|
D | audit.h | 259 extern void audit_put_watch(struct audit_watch *watch); 260 extern void audit_get_watch(struct audit_watch *watch); 265 extern char *audit_watch_path(struct audit_watch *watch); 266 extern int audit_watch_compare(struct audit_watch *watch, unsigned long ino,
|
D | audit_tree.c | 732 rule->inode_f || rule->watch || rule->tree) in audit_make_tree()
|
D | auditsc.c | 634 result = audit_watch_compare(rule->watch, in audit_filter_rules()
|