Home
last modified time | relevance | path

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

/freebsd-13.1/sys/security/mac/
H A Dmac_process.c186 struct label **interpvplabel) in mac_execve_interpreter_enter() argument
190 *interpvplabel = mac_vnode_label_alloc(); in mac_execve_interpreter_enter()
191 mac_vnode_copy_label(interpvp->v_label, *interpvplabel); in mac_execve_interpreter_enter()
193 *interpvplabel = NULL; in mac_execve_interpreter_enter()
197 mac_execve_interpreter_exit(struct label *interpvplabel) in mac_execve_interpreter_exit() argument
200 if (interpvplabel != NULL) in mac_execve_interpreter_exit()
201 mac_vnode_label_free(interpvplabel); in mac_execve_interpreter_exit()
H A Dmac_vfs.c346 struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) in mac_vnode_execve_transition() argument
352 vp->v_label, interpvplabel, imgp, imgp->execlabel); in mac_vnode_execve_transition()
357 struct label *interpvplabel, struct image_params *imgp) in mac_vnode_execve_will_transition() argument
366 vp->v_label, interpvplabel, imgp, imgp->execlabel); in mac_vnode_execve_will_transition()
H A Dmac_framework.h356 void mac_execve_interpreter_exit(struct label *interpvplabel);
675 struct label *interpvplabel, struct image_params *imgp);
677 struct vnode *vp, struct label *interpvplabel,
H A Dmac_policy.h656 struct label *vplabel, struct label *interpvplabel,
660 struct label *interpvplabel, struct image_params *imgp,
/freebsd-13.1/sys/kern/
H A Dkern_exec.c404 struct label *interpvplabel = NULL; in do_execve() local
575 interpvplabel, imgp) != 0; in do_execve()
678 mac_execve_interpreter_enter(newtextvp, &interpvplabel); in do_execve()
856 imgp->vp, interpvplabel, imgp); in do_execve()
991 mac_execve_interpreter_exit(interpvplabel); in do_execve()
/freebsd-13.1/sys/security/mac_lomac/
H A Dmac_lomac.c2812 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in lomac_vnode_execve_transition() argument
2820 robj = interpvplabel != NULL ? SLOT(interpvplabel) : obj; in lomac_vnode_execve_transition()
2847 struct label *vplabel, struct label *interpvplabel, in lomac_vnode_execve_will_transition() argument
2857 robj = interpvplabel != NULL ? SLOT(interpvplabel) : obj; in lomac_vnode_execve_will_transition()
/freebsd-13.1/sys/security/mac_stub/
H A Dmac_stub.c1619 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_transition() argument
1627 struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_will_transition() argument
/freebsd-13.1/sys/security/mac_test/
H A Dmac_test.c2907 struct label *interpvplabel, struct image_params *imgp, in test_vnode_execve_transition() argument
2914 LABEL_CHECK(interpvplabel, MAGIC_VNODE); in test_vnode_execve_transition()
2922 struct label *filelabel, struct label *interpvplabel, in test_vnode_execve_will_transition() argument
2928 LABEL_CHECK(interpvplabel, MAGIC_VNODE); in test_vnode_execve_will_transition()