Home
last modified time | relevance | path

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

/linux/kernel/
A Daudit_fsnotify.c43 kfree(audit_mark->path); in audit_fsnotify_mark_free()
44 kfree(audit_mark); in audit_fsnotify_mark_free()
49 struct audit_fsnotify_mark *audit_mark; in audit_fsnotify_free_mark() local
52 audit_fsnotify_mark_free(audit_mark); in audit_fsnotify_free_mark()
91 audit_mark = kzalloc(sizeof(*audit_mark), GFP_KERNEL); in audit_alloc_mark()
92 if (unlikely(!audit_mark)) { in audit_alloc_mark()
93 audit_mark = ERR_PTR(-ENOMEM); in audit_alloc_mark()
99 audit_mark->path = pathname; in audit_alloc_mark()
101 audit_mark->rule = krule; in audit_alloc_mark()
106 audit_mark = ERR_PTR(ret); in audit_alloc_mark()
[all …]
A Daudit_watch.c507 struct audit_fsnotify_mark *audit_mark; in audit_dupe_exe() local
514 audit_mark = audit_alloc_mark(new, pathname, strlen(pathname)); in audit_dupe_exe()
515 if (IS_ERR(audit_mark)) { in audit_dupe_exe()
517 return PTR_ERR(audit_mark); in audit_dupe_exe()
519 new->exe = audit_mark; in audit_dupe_exe()
A Daudit_tree.c161 static inline struct audit_tree_mark *audit_mark(struct fsnotify_mark *mark) in audit_mark() function
168 return audit_mark(mark)->chunk; in mark_chunk()
173 kmem_cache_free(audit_tree_mark_cachep, audit_mark(mark)); in audit_tree_destroy_watch()
286 audit_mark(mark)->chunk = chunk; in replace_mark_chunk()
A Dauditfilter.c458 struct audit_fsnotify_mark *audit_mark; in audit_data_to_entry() local
592 audit_mark = audit_alloc_mark(&entry->rule, str, f_val); in audit_data_to_entry()
593 if (IS_ERR(audit_mark)) { in audit_data_to_entry()
595 err = PTR_ERR(audit_mark); in audit_data_to_entry()
599 entry->rule.exe = audit_mark; in audit_data_to_entry()
A Daudit.h278 extern void audit_remove_mark(struct audit_fsnotify_mark *audit_mark);

Completed in 12 milliseconds