Home
last modified time | relevance | path

Searched refs:prlabel (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_prison.c72 struct label *prlabel; in mac_prison_init() local
81 prlabel = mac_prison_label_alloc(flag); in mac_prison_init()
82 if (prlabel == NULL) { in mac_prison_init()
89 pr->pr_label = prlabel; in mac_prison_init()
H A Dmac_policy.h414 struct prison *pr, struct label *prlabel,
424 struct label *prlabel, struct label *newlabel);
426 struct prison *pr, struct label *prlabel);
430 struct prison *pr, struct label *prlabel,
433 struct prison *pr, struct label *prlabel,
436 struct prison *pr, struct label *prlabel);
438 struct prison *pr, struct label *prlabel);
440 struct prison *pr, struct label *prlabel, struct proc *p,
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c858 struct label *prlabel, struct label *newlabel) in stub_prison_relabel() argument
865 struct label *prlabel, struct label *newlabel) in stub_prison_check_relabel() argument
873 struct label *prlabel) in stub_prison_check_attach() argument
888 struct label *prlabel, struct vfsoptlist *opts, int flags) in stub_prison_check_get() argument
896 struct label *prlabel, struct vfsoptlist *opts, int flags) in stub_prison_check_set() argument
904 struct label *prlabel) in stub_prison_check_remove() argument
912 struct label *prlabel) in stub_prison_created() argument
919 struct label *prlabel, struct proc *p, struct label *proclabel) in stub_prison_attached() argument
/freebsd/sys/security/mac_test/
H A Dmac_test.c1657 struct label *prlabel, struct label *newlabel) in test_prison_relabel() argument
1660 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_relabel()
1668 struct label *prlabel, struct label *newlabel) in test_prison_check_relabel() argument
1671 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_relabel()
1680 struct label *prlabel) in test_prison_check_attach() argument
1683 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_attach()
1700 struct label *prlabel, struct vfsoptlist *opts, int flags) in test_prison_check_get() argument
1703 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_get()
1711 struct label *prlabel, struct vfsoptlist *opts, int flags) in test_prison_check_set() argument
1714 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_set()
[all …]