/external/strace/tests/ |
ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { 65 int rc = msgctl(msqid, IPC_RMID, 0); 67 msqid, str_ipc_64, str_ipc_rmid); 68 msqid = -1; 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); 100 if (msqid == -1 [all...] |
ipc.c | 104 const int msqid = -2; local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); 111 msqid, efault, msgsz, msgtyp, rc, errno2name());
|
/external/strace/tests-m32/ |
ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { 65 int rc = msgctl(msqid, IPC_RMID, 0); 67 msqid, str_ipc_64, str_ipc_rmid); 68 msqid = -1; 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); 100 if (msqid == -1 [all...] |
ipc.c | 104 const int msqid = -2; local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); 111 msqid, efault, msgsz, msgtyp, rc, errno2name());
|
/external/strace/tests-mx32/ |
ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { 65 int rc = msgctl(msqid, IPC_RMID, 0); 67 msqid, str_ipc_64, str_ipc_rmid); 68 msqid = -1; 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); 100 if (msqid == -1 [all...] |
ipc.c | 104 const int msqid = -2; local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); 111 msqid, efault, msgsz, msgtyp, rc, errno2name());
|
/external/ltp/include/ |
tst_safe_sysv_ipc.h | 30 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp, 32 #define SAFE_MSGSND(msqid, msgp, msgsz, msgflg) \ 33 safe_msgsnd(__FILE__, __LINE__, (msqid), (msgp), (msgsz), (msgflg)) 35 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp, 37 #define SAFE_MSGRCV(msqid, msgp, msgsz, msgtyp, msgflg) \ 38 safe_msgrcv(__FILE__, __LINE__, (msqid), (msgp), (msgsz), (msgtyp), (msgflg)) 40 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, 42 #define SAFE_MSGCTL(msqid, cmd, buf) ({ \ 43 int tst_ret_ = safe_msgctl(__FILE__, __LINE__, (msqid), (cmd), (buf)); \ 44 (msqid) = ((cmd) == IPC_RMID ? -1 : (msqid)); [all...] |
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
msgrcv08.c | 56 static void msr(int msqid) 66 if (msgsnd(msqid, &msbs, sizeof(msbs.mtext), IPC_NOWAIT)) 69 sret = msgrcv(msqid, &msbr, sizeof(msbr.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR); 89 int msqid = msgget(IPC_PRIVATE, IPC_CREAT | IPC_EXCL | 0666); local 91 if (msqid < 0) 94 msr(msqid); 96 if (msgctl(msqid, IPC_RMID, 0))
|
/external/ltp/lib/ |
tst_safe_sysv_ipc.c | 57 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp, 62 rval = msgsnd(msqid, msgp, msgsz, msgflg); 66 file, lineno, msqid, msgp, msgsz, msgflg); 72 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp, 77 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); 81 file, lineno, msqid, msgp, msgsz, msgtyp, msgflg); 87 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, 92 rval = msgctl(msqid, cmd, buf); 96 file, lineno, msqid, cmd, buf, rval);
|
/external/toybox/toys/pending/ |
ipcs.c | 62 printf("\nMessage Queue msqid=%d\n" 341 int max_nr, i, msqid; local 371 "msqid", "owner", "send", "recv", "change"); 375 "msqid", "owner", "lspid", "lrpid"); 379 "msqid", "perms", "cuid", "cgid", "uid", "gid"); 383 "key", "msqid", "owner", "perms", "used-bytes", "messages"); 387 if ((msqid = msgctl(i, MSG_STAT, &buf)) < 0 ) continue; 390 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name); 391 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); 399 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name) [all...] |
/external/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
zsysnum_openbsd_386.go | 154 SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \ 155 SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ 183 SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
|
zsysnum_openbsd_amd64.go | 164 SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \ 165 SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ 193 SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
|
zsysnum_openbsd_arm.go | 160 SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \ 161 SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ 189 SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
|
zsysnum_dragonfly_amd64.go | 145 SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \ 147 SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, \ 148 SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
|
zsysnum_netbsd_386.go | 119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } 120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } 242 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
|
zsysnum_netbsd_amd64.go | 119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } 120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } 242 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
|
zsysnum_netbsd_arm.go | 119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } 120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } 242 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
|
/external/syzkaller/sys/netbsd/gen/ |
amd64.go | [all...] |
/external/syzkaller/sys/freebsd/gen/ |
amd64.go | [all...] |