Searched refs:audit_mark (Results 1 – 5 of 5) sorted by relevance
43 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() local52 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 …]
507 struct audit_fsnotify_mark *audit_mark; in audit_dupe_exe() local514 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()
161 static inline struct audit_tree_mark *audit_mark(struct fsnotify_mark *mark) in audit_mark() function168 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()
458 struct audit_fsnotify_mark *audit_mark; in audit_data_to_entry() local592 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()
278 extern void audit_remove_mark(struct audit_fsnotify_mark *audit_mark);
Completed in 11 milliseconds