Home
last modified time | relevance | path

Searched defs:shmfd (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/security/mac/
H A Dmac_posix_shm.c68 mac_posixshm_init(struct shmfd *shmfd) in mac_posixshm_init()
86 mac_posixshm_destroy(struct shmfd *shmfd) in mac_posixshm_destroy()
96 mac_posixshm_create(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_create()
121 mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, int prot, in mac_posixshm_check_mmap()
138 mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mac_posixshm_check_open()
155 struct shmfd *shmfd) in mac_posixshm_check_stat()
172 struct shmfd *shmfd) in mac_posixshm_check_truncate()
188 mac_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_check_unlink()
218 mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, uid_t uid, in mac_posixshm_check_setowner()
236 struct shmfd *shmfd) in mac_posixshm_check_read()
[all …]
/f-stack/freebsd/sys/
H A Dmman.h268 struct shmfd { struct
269 vm_ooffset_t shm_size;
270 vm_object_t shm_object;
271 int shm_refs;
272 uid_t shm_uid;
273 gid_t shm_gid;
274 mode_t shm_mode;
275 int shm_kmappings;
281 struct timespec shm_atime;
282 struct timespec shm_mtime;
[all …]
/f-stack/freebsd/kern/
H A Duipc_shm.c346 struct shmfd *shmfd; in shm_seek() local
388 struct shmfd *shmfd; in shm_read() local
411 struct shmfd *shmfd; in shm_write() local
468 struct shmfd *shmfd; in shm_truncate() local
486 struct shmfd *shmfd; in shm_ioctl() local
540 struct shmfd *shmfd; in shm_stat() local
582 struct shmfd *shmfd; in shm_close() local
856 struct shmfd *shmfd; in shm_alloc() local
1035 struct shmfd *shmfd; in kern_shm_open2() local
1529 struct shmfd *shmfd; in shm_mmap() local
[all …]
H A Dkern_sendfile.c571 struct shmfd *shmfd; in sendfile_getobj() local
691 struct shmfd *shmfd; in vn_sendfile() local
/f-stack/freebsd/security/mac_stub/
H A Dmac_stub.c738 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_mmap()
746 stub_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_open()
762 stub_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setmode()
770 stub_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setowner()
779 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat()
787 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate()
794 stub_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_unlink()
810 stub_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_create()
/f-stack/freebsd/security/mac_mls/
H A Dmac_mls.c1593 mls_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_mmap()
1617 mls_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_open()
1659 mls_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setmode()
1677 mls_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setowner()
1696 struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_stat()
1714 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_truncate()
1731 mls_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_unlink()
1767 mls_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_create()
/f-stack/freebsd/security/mac_test/
H A Dmac_test.c1395 test_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_mmap()
1407 test_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_open()
1434 test_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setmode()
1446 test_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setowner()
1459 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_stat()
1472 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_truncate()
1484 test_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_unlink()
1511 test_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_create()
/f-stack/freebsd/security/mac_biba/
H A Dmac_biba.c1697 biba_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_mmap()
1721 biba_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_open()
1763 biba_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setmode()
1781 biba_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setowner()
1800 struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_stat()
1818 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_truncate()
1835 biba_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_unlink()
1871 biba_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_create()