Lines Matching defs:path
39 char *path; /* insertion path */
110 kfree(watch->path);
125 return watch->path;
136 static struct audit_parent *audit_init_parent(const struct path *path)
138 struct inode *inode = d_backing_inode(path->dentry);
160 static struct audit_watch *audit_init_watch(char *path)
170 watch->path = path;
178 int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op)
185 if (path[0] != '/' || path[len-1] == '/' ||
192 watch = audit_init_watch(path);
205 char *path;
208 path = kstrdup(old->path, GFP_KERNEL);
209 if (unlikely(!path))
212 new = audit_init_watch(path);
214 kfree(path);
237 audit_log_format(ab, "op=%s path=", op);
238 audit_log_untrustedstring(ab, w->path);
257 if (audit_compare_dname_path(dname, owatch->path,
347 /* Get path information necessary for adding watches. */
348 static int audit_get_nd(struct audit_watch *watch, struct path *parent)
350 struct dentry *d = kern_path_locked(watch->path, parent);
374 if (strcmp(watch->path, w->path))
404 struct path parent_path;