Home
last modified time | relevance | path

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

/kernel/
Daudit_fsnotify.c41 static void audit_fsnotify_mark_free(struct audit_fsnotify_mark *audit_mark) in audit_fsnotify_mark_free() argument
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() local
51 audit_mark = container_of(mark, struct audit_fsnotify_mark, mark); in audit_fsnotify_free_mark()
52 audit_fsnotify_mark_free(audit_mark); in audit_fsnotify_free_mark()
67 static void audit_update_mark(struct audit_fsnotify_mark *audit_mark, in audit_update_mark() argument
70 audit_mark->dev = inode ? inode->i_sb->s_dev : AUDIT_DEV_UNSET; in audit_update_mark()
71 audit_mark->ino = inode ? inode->i_ino : AUDIT_INO_UNSET; in audit_update_mark()
76 struct audit_fsnotify_mark *audit_mark; in audit_alloc_mark() local
[all …]
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()
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()
Dauditfilter.c450 struct audit_fsnotify_mark *audit_mark; in audit_data_to_entry() local
584 audit_mark = audit_alloc_mark(&entry->rule, str, f_val); in audit_data_to_entry()
585 if (IS_ERR(audit_mark)) { in audit_data_to_entry()
587 err = PTR_ERR(audit_mark); in audit_data_to_entry()
591 entry->rule.exe = audit_mark; in audit_data_to_entry()
Daudit.h275 extern void audit_remove_mark(struct audit_fsnotify_mark *audit_mark);