Home
last modified time | relevance | path

Searched refs:shmlabel (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1526 struct label *shmlabel, mode_t mode) in mls_posixsem_check_setmode() argument
1534 obj = SLOT(shmlabel); in mls_posixsem_check_setmode()
1544 struct label *shmlabel, uid_t uid, gid_t gid) in mls_posixsem_check_setowner() argument
1552 obj = SLOT(shmlabel); in mls_posixsem_check_setowner()
1592 struct label *shmlabel, int prot, int flags) in mls_posixshm_check_mmap() argument
1600 obj = SLOT(shmlabel); in mls_posixshm_check_mmap()
1616 struct label *shmlabel, accmode_t accmode) in mls_posixshm_check_open() argument
1624 obj = SLOT(shmlabel); in mls_posixshm_check_open()
1640 struct shmfd *shm, struct label *shmlabel) in mls_posixshm_check_read() argument
1648 obj = SLOT(shmlabel); in mls_posixshm_check_read()
[all …]
/freebsd/sys/security/mac/
H A Dmac_policy.h355 struct ksem *ks, struct label *shmlabel,
358 struct ksem *ks, struct label *shmlabel,
376 struct shmfd *shmfd, struct label *shmlabel, int prot,
379 struct shmfd *shmfd, struct label *shmlabel,
383 struct label *shmlabel);
385 struct shmfd *shmfd, struct label *shmlabel,
388 struct shmfd *shmfd, struct label *shmlabel,
392 struct label *shmlabel);
395 struct label *shmlabel);
397 struct shmfd *shmfd, struct label *shmlabel);
[all …]
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c1696 struct label *shmlabel, int prot, int flags) in biba_posixshm_check_mmap() argument
1704 obj = SLOT(shmlabel); in biba_posixshm_check_mmap()
1720 struct label *shmlabel, accmode_t accmode) in biba_posixshm_check_open() argument
1728 obj = SLOT(shmlabel); in biba_posixshm_check_open()
1744 struct shmfd *vp, struct label *shmlabel) in biba_posixshm_check_read() argument
1752 obj = SLOT(shmlabel); in biba_posixshm_check_read()
1762 struct label *shmlabel, mode_t mode) in biba_posixshm_check_setmode() argument
1770 obj = SLOT(shmlabel); in biba_posixshm_check_setmode()
1780 struct label *shmlabel, uid_t uid, gid_t gid) in biba_posixshm_check_setowner() argument
1788 obj = SLOT(shmlabel); in biba_posixshm_check_setowner()
[all …]
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c763 struct label *shmlabel, int prot, int flags) in stub_posixshm_check_mmap() argument
771 struct label *shmlabel, accmode_t accmode) in stub_posixshm_check_open() argument
779 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_read() argument
787 struct label *shmlabel, mode_t mode) in stub_posixshm_check_setmode() argument
795 struct label *shmlabel, uid_t uid, gid_t gid) in stub_posixshm_check_setowner() argument
803 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat() argument
811 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate() argument
819 struct label *shmlabel) in stub_posixshm_check_unlink() argument
827 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_write() argument
835 struct label *shmlabel) in stub_posixshm_create() argument
[all …]
/freebsd/sys/security/mac_test/
H A Dmac_test.c1452 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_read() argument
1458 LABEL_CHECK(shmlabel, MAGIC_POSIX_SHM); in test_posixshm_check_read()
1529 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_write() argument
1535 LABEL_CHECK(shmlabel, MAGIC_POSIX_SHM); in test_posixshm_check_write()
2413 test_sysvshm_cleanup(struct label *shmlabel) in test_sysvshm_cleanup() argument
2416 LABEL_CHECK(shmlabel, MAGIC_SYSV_SHM); in test_sysvshm_cleanup()
2423 struct label *shmlabel) in test_sysvshm_create() argument
2426 LABEL_CHECK(shmlabel, MAGIC_SYSV_SHM); in test_sysvshm_create()