Home
last modified time | relevance | path

Searched refs:msgget (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_msgget.c58 if ((id = msgget(MSG_KEY, 0)) != -1) in clean()
76 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
83 if (msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | 0600) != -1) in ATF_TC_BODY()
92 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
123 if (msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | 0600) == -1) in ATF_TC_BODY()
134 id = msgget(MSG_KEY, 0); in ATF_TC_BODY()
165 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
213 buf[i] = msgget(MSG_KEY + i, IPC_CREAT | IPC_EXCL | 0600); in ATF_TC_BODY()
228 buf[i] = msgget(MSG_KEY + i, IPC_CREAT | IPC_EXCL | 0600); in ATF_TC_BODY()
266 id = msgget(MSG_KEY, IPC_CREAT | IPC_EXCL | (int)mode[i]); in ATF_TC_BODY()
H A Dt_msgsnd.c68 if ((id = msgget(MSG_KEY, 0)) != -1) in clean()
85 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
141 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
189 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
246 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
297 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
317 id = msgget(MSG_KEY, 0); in ATF_TC_BODY()
H A Dt_msgrcv.c69 if ((id = msgget(MSG_KEY, 0)) != -1) in clean()
85 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
115 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
161 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
214 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
253 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
312 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
H A Dt_msgctl.c65 if ((id = msgget(MSG_KEY, 0)) != -1) in clean()
84 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
124 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
198 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
266 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
313 id = msgget(MSG_KEY, IPC_CREAT | 0600); in ATF_TC_BODY()
/freebsd/contrib/ntp/adjtimed/
H A Dadjtimed.c92 if ((mqid = msgget(KEY, 0)) != -1) { in main()
182 if (msgget(KEY, IPC_CREAT|IPC_EXCL) == -1) { in main()
195 if ((mqid = msgget(KEY, 0)) == -1) { in main()
/freebsd/tools/regression/sysvmsg/
H A Dmsgtest.c131 if ((sender_msqid = msgget(msgkey, IPC_CREAT | 0640)) == -1) in main()
305 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
/freebsd/tests/sys/audit/
H A Dinter-process.c73 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
100 ATF_REQUIRE_EQ(-1, msgget((key_t)(-1), 0)); in ATF_TC_BODY()
120 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
177 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
236 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
283 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
333 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
385 ATF_REQUIRE((msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRUSR)) != -1); in ATF_TC_BODY()
/freebsd/sys/sys/
H A Dmsg.h162 int msgget(key_t, int);
H A Dsyscall.mk143 msgget.o \
/freebsd/contrib/ntp/libntp/
H A Dadjtime.c224 if ((mqid = msgget(KEY, 0)) == -1) in _adjtime()
/freebsd/usr.bin/ipcrm/
H A Dipcrm.c102 id = msgget(key, 0); in msgrm()
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_sysv.c208 sender_msqid = msgget(msgkey, IPC_CREAT | 0640); in ATF_TC_BODY()
348 if ((msqid = msgget(msgkey, 0)) == -1) in receiver()
/freebsd/lib/libsys/
H A DSymbol.sys.map163 msgget;
H A DMakefile.sys286 msgget.2 \
/freebsd/sys/kern/
H A Dsysv_msg.c176 SYSCALL_INIT_HELPER(msgget),
199 SYSCALL32_INIT_HELPER_COMPAT(msgget),
/freebsd/contrib/openbsm/etc/
H A Daudit_event109 88:AUE_MSGGET:msgget(2):ip
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2279 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2281 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
H A Dsanitizer_syscalls_netbsd.inc1712 PRE_SYSCALL(msgget)(long long key_, long long msgflg_) { /* Nothing to do */ }
1713 POST_SYSCALL(msgget)(long long res, long long key_, long long msgflg_) {
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2328 fun:msgget=uninstrumented