Home
last modified time | relevance | path

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

/NextBSD/sys/security/mac/
HDmac_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()
203 mac_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, mode_t mode) in mac_posixshm_check_setmode()
218 mac_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, uid_t uid, in mac_posixshm_check_setowner()
[all …]
/NextBSD/sys/sys/
HDmman.h205 struct shmfd { struct
206 size_t shm_size;
207 vm_object_t shm_object;
208 int shm_refs;
209 uid_t shm_uid;
210 gid_t shm_gid;
211 mode_t shm_mode;
212 int shm_kmappings;
218 struct timespec shm_atime;
219 struct timespec shm_mtime;
[all …]
/NextBSD/sys/kern/
HDuipc_shm.c255 struct shmfd *shmfd; in shm_seek() local
297 struct shmfd *shmfd; in shm_read() local
320 struct shmfd *shmfd; in shm_write() local
349 struct shmfd *shmfd; in shm_truncate() local
367 struct shmfd *shmfd; in shm_stat() local
406 struct shmfd *shmfd; in shm_close() local
416 shm_dotruncate(struct shmfd *shmfd, off_t length) in shm_dotruncate()
527 struct shmfd *shmfd; in shm_alloc() local
563 shm_hold(struct shmfd *shmfd) in shm_hold()
571 shm_drop(struct shmfd *shmfd) in shm_drop()
[all …]
HDuipc_syscalls.c2260 struct shmfd *shmfd; in sendfile_getobj() local
2359 struct shmfd *shmfd; in vn_sendfile() local
/NextBSD/tools/tools/syscall_timing/
HDsyscall_timing.c389 int fd, i, shmfd; in test_dup() local
414 int shmfd; in test_shmfd() local
438 int shmfd; in test_fstat_shmfd() local
/NextBSD/tests/sys/vm/
HDmmap_test.c113 int devstatfd, shmfd, zerofd; in ATF_TC_BODY() local
/NextBSD/sys/security/mac_stub/
HDmac_stub.c737 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_mmap()
745 stub_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_open()
761 stub_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setmode()
769 stub_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setowner()
778 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat()
786 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate()
793 stub_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_unlink()
809 stub_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_create()
/NextBSD/sys/security/mac_mls/
HDmac_mls.c1592 mls_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_mmap()
1616 mls_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_open()
1658 mls_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setmode()
1676 mls_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_setowner()
1695 struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_stat()
1713 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in mls_posixshm_check_truncate()
1730 mls_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_check_unlink()
1766 mls_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in mls_posixshm_create()
/NextBSD/sys/security/mac_test/
HDmac_test.c1393 test_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_mmap()
1405 test_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_open()
1432 test_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setmode()
1444 test_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_setowner()
1457 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_stat()
1470 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_truncate()
1482 test_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_check_unlink()
1509 test_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in test_posixshm_create()
/NextBSD/sys/security/mac_biba/
HDmac_biba.c1696 biba_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_mmap()
1720 biba_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_open()
1762 biba_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setmode()
1780 biba_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_setowner()
1799 struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_stat()
1817 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in biba_posixshm_check_truncate()
1834 biba_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_check_unlink()
1870 biba_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in biba_posixshm_create()
/NextBSD/usr.sbin/notifyd/
HDnotifyd.c1078 int32_t shmfd, isnew; in open_shared_memory() local
/NextBSD/lib/libnotify/
HDnotify_client.c194 int32_t shmfd; in shm_attach() local
/NextBSD/lib/libprocstat/
HDlibprocstat.c1139 struct shmfd shmfd; in procstat_get_shm_info_kvm() local