Home
last modified time | relevance | path

Searched refs:interpvplabel (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_process.c184 struct label **interpvplabel) in mac_execve_interpreter_enter() argument
188 *interpvplabel = mac_vnode_label_alloc(); in mac_execve_interpreter_enter()
189 mac_vnode_copy_label(interpvp->v_label, *interpvplabel); in mac_execve_interpreter_enter()
191 *interpvplabel = NULL; in mac_execve_interpreter_enter()
195 mac_execve_interpreter_exit(struct label *interpvplabel) in mac_execve_interpreter_exit() argument
198 if (interpvplabel != NULL) in mac_execve_interpreter_exit()
199 mac_vnode_label_free(interpvplabel); in mac_execve_interpreter_exit()
H A Dmac_vfs.c344 struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) in mac_vnode_execve_transition() argument
350 vp->v_label, interpvplabel, imgp, imgp->execlabel); in mac_vnode_execve_transition()
355 struct label *interpvplabel, struct image_params *imgp) in mac_vnode_execve_will_transition() argument
364 vp->v_label, interpvplabel, imgp, imgp->execlabel); in mac_vnode_execve_will_transition()
H A Dmac_framework.h389 void mac_execve_interpreter_exit(struct label *interpvplabel);
708 struct label *interpvplabel, struct image_params *imgp);
710 struct vnode *vp, struct label *interpvplabel,
H A Dmac_policy.h675 struct label *vplabel, struct label *interpvplabel,
679 struct label *interpvplabel, struct image_params *imgp,
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c475 struct label *interpvplabel, struct image_params *imgp, in mac_grantbylabel_vnode_execve_will_transition() argument
481 gbl = SLOT(interpvplabel); in mac_grantbylabel_vnode_execve_will_transition()
/freebsd/sys/kern/
H A Dkern_exec.c410 struct label *interpvplabel = NULL; in do_execve() local
598 interpvplabel, imgp) != 0; in do_execve()
691 mac_execve_interpreter_enter(newtextvp, &interpvplabel); in do_execve()
864 imgp->vp, interpvplabel, imgp); in do_execve()
1001 mac_execve_interpreter_exit(interpvplabel); in do_execve()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c2814 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in lomac_vnode_execve_transition() argument
2822 robj = interpvplabel != NULL ? SLOT(interpvplabel) : obj; in lomac_vnode_execve_transition()
2849 struct label *vplabel, struct label *interpvplabel, in lomac_vnode_execve_will_transition() argument
2859 robj = interpvplabel != NULL ? SLOT(interpvplabel) : obj; in lomac_vnode_execve_will_transition()
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c1643 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_transition() argument
1651 struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_will_transition() argument
/freebsd/sys/security/mac_test/
H A Dmac_test.c2939 struct label *interpvplabel, struct image_params *imgp, in test_vnode_execve_transition() argument
2946 LABEL_CHECK(interpvplabel, MAGIC_VNODE); in test_vnode_execve_transition()
2954 struct label *filelabel, struct label *interpvplabel, in test_vnode_execve_will_transition() argument
2960 LABEL_CHECK(interpvplabel, MAGIC_VNODE); in test_vnode_execve_will_transition()