Searched refs:cwd_vp (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsm_klib.c778 audit_canon_path(struct vnode *cwd_vp, char *path, char *cpath) argument
785 * Convert multiple leading '/' into a single '/' if the cwd_vp is
787 * cwd_vp represents a chroot directory (i.e. the caller checked for
796 if (cwd_vp == NULL)
799 if (cwd_vp != NULL) {
801 ret = vn_getpath(cwd_vp, cpath, &len);
H A Daudit.h215 void audit_arg_sockaddr(struct kaudit_record *ar, struct vnode *cwd_vp,
222 void audit_arg_upath(struct kaudit_record *ar, struct vnode *cwd_vp,
H A Daudit_arg.c347 audit_arg_sockaddr(struct kaudit_record *ar, struct vnode *cwd_vp, argument
356 if (cwd_vp == NULL || sa == NULL)
380 audit_arg_upath(ar, cwd_vp, path, ARG_UPATH1);
382 audit_arg_upath(ar, cwd_vp, sun->sun_path,
664 audit_arg_upath(struct kaudit_record *ar, struct vnode *cwd_vp, char *upath, u_int64_t flag) argument
684 if (audit_canon_path(cwd_vp, upath, *pathp) == 0)
H A Daudit_private.h398 int audit_canon_path(struct vnode *cwd_vp, char *path,

Completed in 30 milliseconds