Home
last modified time | relevance | path

Searched refs:vn_path (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/security/
H A Dmac_process.c929 char *vn_path = NULL; in mac_proc_check_launch_constraints() local
977 vn_path = zalloc(ZV_NAMEI); in mac_proc_check_launch_constraints()
978 if (vn_getpath(vp, vn_path, (int*)&vn_pathlen) == 0) { in mac_proc_check_launch_constraints()
979 path = vn_path; in mac_proc_check_launch_constraints()
1017 if (vn_path) { in mac_proc_check_launch_constraints()
1018 zfree(ZV_NAMEI, vn_path); in mac_proc_check_launch_constraints()
H A Dmac_vfs.c1312 char *vn_path = NULL; in mac_vnode_check_signature() local
1335 vn_path = zalloc(ZV_NAMEI); in mac_vnode_check_signature()
1336 if (vn_getpath(vp, vn_path, (int*)&vn_pathlen) == 0) { in mac_vnode_check_signature()
1337 path = vn_path; in mac_vnode_check_signature()
1400 if (vn_path) { in mac_vnode_check_signature()
1401 zfree(ZV_NAMEI, vn_path); in mac_vnode_check_signature()
/xnu-11215/bsd/kern/
H A Dmach_loader.c3205 char *vn_path = NULL; in set_signature_error() local
3209 vn_path = zalloc(ZV_NAMEI); in set_signature_error()
3210 if (vn_getpath(vp, vn_path, (int*)&vn_pathlen) == 0) { in set_signature_error()
3211 path = vn_path; in set_signature_error()
3252 if (vn_path) { in set_signature_error()
3253 zfree(ZV_NAMEI, vn_path); in set_signature_error()