| /freebsd-14.2/sys/security/mac/ |
| H A D | mac_posix_shm.c | 66 mac_posixshm_init(struct shmfd *shmfd) in mac_posixshm_init() 84 mac_posixshm_destroy(struct shmfd *shmfd) in mac_posixshm_destroy() 94 mac_posixshm_create(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_create() 119 mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, int prot, in mac_posixshm_check_mmap() 136 mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mac_posixshm_check_open() 153 struct shmfd *shmfd) in mac_posixshm_check_stat() 170 struct shmfd *shmfd) in mac_posixshm_check_truncate() 186 mac_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd) in mac_posixshm_check_unlink() 216 mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, uid_t uid, in mac_posixshm_check_setowner() 234 struct shmfd *shmfd) in mac_posixshm_check_read() [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | mman.h | 265 struct shmfd { struct 266 vm_ooffset_t shm_size; 267 vm_object_t shm_object; 269 int shm_refs; 270 uid_t shm_uid; 271 gid_t shm_gid; 272 mode_t shm_mode; 273 int shm_kmappings; 279 struct timespec shm_atime; 280 struct timespec shm_mtime; [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | uipc_shm.c | 416 struct shmfd *shmfd; in shm_seek() local 458 struct shmfd *shmfd; in shm_read() local 481 struct shmfd *shmfd; in shm_write() local 535 struct shmfd *shmfd; in shm_truncate() local 553 struct shmfd *shmfd; in shm_ioctl() local 604 struct shmfd *shmfd; in shm_stat() local 649 struct shmfd *shmfd; in shm_close() local 938 struct shmfd *shmfd; in shm_alloc() local 1160 struct shmfd *shmfd; in kern_shm_open2() local 1654 struct shmfd *shmfd; in shm_mmap() local [all …]
|
| H A D | kern_sendfile.c | 569 struct shmfd *shmfd; in sendfile_getobj() local 685 struct shmfd *shmfd; in vn_sendfile() local
|
| /freebsd-14.2/tests/sys/vm/ |
| H A D | mlock_test.c | 186 int count, error, shmfd; in ATF_TC_BODY() local
|
| H A D | mmap_test.c | 136 int devstatfd, pagesize, shmfd, zerofd; in ATF_TC_BODY() local
|
| /freebsd-14.2/tools/tools/syscall_timing/ |
| H A D | syscall_timing.c | 696 int shmfd; in test_shmfd() local 717 int fd, shmfd; in test_shmfd_dup() local 741 int shmfd; in test_shmfd_fstat() local
|
| /freebsd-14.2/sys/security/mac_stub/ |
| H A D | mac_stub.c | 762 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_mmap() 770 stub_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_open() 786 stub_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setmode() 794 stub_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setowner() 803 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat() 811 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate() 818 stub_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_unlink() 834 stub_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_create()
|
| /freebsd-14.2/sys/security/mac_test/ |
| H A D | mac_test.c | 1427 test_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_mmap() 1439 test_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_open() 1466 test_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setmode() 1478 test_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setowner() 1491 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_stat() 1504 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_truncate() 1516 test_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_unlink() 1543 test_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_create()
|
| /freebsd-14.2/sys/security/mac_mls/ |
| H A D | mac_mls.c | 1591 mls_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_mmap() 1615 mls_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_open() 1657 mls_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setmode() 1675 mls_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setowner() 1694 struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_stat() 1712 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_truncate() 1729 mls_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_unlink() 1765 mls_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_create()
|
| /freebsd-14.2/sys/security/mac_biba/ |
| H A D | mac_biba.c | 1695 biba_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_mmap() 1719 biba_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_open() 1761 biba_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setmode() 1779 biba_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setowner() 1798 struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_stat() 1816 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_truncate() 1833 biba_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_unlink() 1869 biba_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_create()
|
| /freebsd-14.2/lib/libprocstat/ |
| H A D | libprocstat.c | 1183 struct shmfd shmfd; in procstat_get_shm_info_kvm() local
|