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.h423 struct prison *pr, struct label *prlabel,
433 struct label *prlabel, struct label *newlabel);
435 struct prison *pr, struct label *prlabel);
439 struct prison *pr, struct label *prlabel,
442 struct prison *pr, struct label *prlabel,
445 struct prison *pr, struct label *prlabel);
447 struct prison *pr, struct label *prlabel);
451 struct prison *pr, struct label *prlabel, struct proc *p,
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c883 struct label *prlabel, struct label *newlabel) in stub_prison_relabel() argument
890 struct label *prlabel, struct label *newlabel) in stub_prison_check_relabel() argument
898 struct label *prlabel) in stub_prison_check_attach() argument
913 struct label *prlabel, struct vfsoptlist *opts, int flags) in stub_prison_check_get() argument
921 struct label *prlabel, struct vfsoptlist *opts, int flags) in stub_prison_check_set() argument
929 struct label *prlabel) in stub_prison_check_remove() argument
937 struct label *prlabel) in stub_prison_created() argument
950 struct label *prlabel, struct proc *p, struct label *proclabel) in stub_prison_attached() argument
/freebsd/sys/security/mac_test/
H A Dmac_test.c1691 struct label *prlabel, struct label *newlabel) in test_prison_relabel() argument
1694 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_relabel()
1702 struct label *prlabel, struct label *newlabel) in test_prison_check_relabel() argument
1705 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_relabel()
1714 struct label *prlabel) in test_prison_check_attach() argument
1717 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_attach()
1734 struct label *prlabel, struct vfsoptlist *opts, int flags) in test_prison_check_get() argument
1737 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_get()
1745 struct label *prlabel, struct vfsoptlist *opts, int flags) in test_prison_check_set() argument
1748 LABEL_CHECK(prlabel, MAGIC_PRISON); in test_prison_check_set()
[all …]