Lines Matching refs:path
39 char *path; /* insertion path */ member
110 kfree(watch->path); in audit_put_watch()
125 return watch->path; in audit_watch_path()
136 static struct audit_parent *audit_init_parent(struct path *path) in audit_init_parent() argument
138 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent()
160 static struct audit_watch *audit_init_watch(char *path) in audit_init_watch() argument
170 watch->path = path; in audit_init_watch()
178 int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) in audit_to_watch() argument
185 if (path[0] != '/' || path[len-1] == '/' || in audit_to_watch()
191 watch = audit_init_watch(path); in audit_to_watch()
204 char *path; in audit_dupe_watch() local
207 path = kstrdup(old->path, GFP_KERNEL); in audit_dupe_watch()
208 if (unlikely(!path)) in audit_dupe_watch()
211 new = audit_init_watch(path); in audit_dupe_watch()
213 kfree(path); in audit_dupe_watch()
237 audit_log_untrustedstring(ab, w->path); in audit_watch_log_rule_change()
256 if (audit_compare_dname_path(dname, owatch->path, in audit_update_watch()
349 static int audit_get_nd(struct audit_watch *watch, struct path *parent) in audit_get_nd()
351 struct dentry *d = kern_path_locked(watch->path, parent); in audit_get_nd()
375 if (strcmp(watch->path, w->path)) in audit_add_to_parent()
405 struct path parent_path; in audit_add_watch()
485 inode = d_backing_inode(((const struct path *)data)->dentry); in audit_watch_handle_event()