Home
last modified time | relevance | path

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

/freebsd/sys/security/mac/
H A Dmac_posix_shm.c66 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/sys/sys/
H A Dmman.h263 struct shmfd { struct
264 vm_ooffset_t shm_size;
265 vm_object_t shm_object;
267 int shm_refs;
268 uid_t shm_uid;
269 gid_t shm_gid;
270 mode_t shm_mode;
271 int shm_kmappings;
277 struct timespec shm_atime;
278 struct timespec shm_mtime;
[all …]
/freebsd/sys/kern/
H A Duipc_shm.c416 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
939 struct shmfd *shmfd; in shm_alloc() local
1159 struct shmfd *shmfd; in kern_shm_open2() local
1653 struct shmfd *shmfd; in shm_mmap() local
[all …]
H A Dkern_sendfile.c569 struct shmfd *shmfd; in sendfile_getobj() local
685 struct shmfd *shmfd; in vn_sendfile() local
/freebsd/tests/sys/vm/
H A Dmlock_test.c186 int count, error, shmfd; in ATF_TC_BODY() local
H A Dmmap_test.c136 int devstatfd, pagesize, shmfd, zerofd; in ATF_TC_BODY() local
/freebsd/tools/tools/syscall_timing/
H A Dsyscall_timing.c696 int shmfd; in test_shmfd() local
717 int fd, shmfd; in test_shmfd_dup() local
741 int shmfd; in test_shmfd_fstat() local
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c762 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/sys/security/mac_mls/
H A Dmac_mls.c1591 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/sys/security/mac_test/
H A Dmac_test.c1427 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/sys/security/mac_biba/
H A Dmac_biba.c1695 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/lib/libprocstat/
H A Dlibprocstat.c1180 struct shmfd shmfd; in procstat_get_shm_info_kvm() local