1bc727fc2fe023bad35f6ad451e638d5eaafc737 |
|
13-Sep-2016 |
Eugene Syromyatnikov <evgsyr@gmail.com> |
tests: add more IPC decoding checks * tests/ipc_msg.c: Additional msgget (parameter format) and msgctl (parameter format, decoding of struct msqid_ds in IPC_SET/IPC_STAT commands) checks. * tests/ipc_sem.c: Additional semget and semctl checks. * tests/ipc_shm.c: Additional shmget and shmctl checks. * tests/semop.c: Additional semop checks. Add checks for semtimedop. * tests/semop.test: Add explicit -e parameter in order to trace both semop and semtimedop. * tests/shmxt.c: Additional shmat and shmdt checks.
/external/strace/tests/ipc_msg.c
|
adffd0442414fb25df49005c3852ff0a1970e182 |
|
11-Sep-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: use sprintrc_grep in tests/ipc_msg.c * tests/ipc_msg.c (main): Use sprintrc_grep.
/external/strace/tests/ipc_msg.c
|
7b93574bc705c2140fdc58fd30c5acefd043571b |
|
08-Sep-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
ipc: fix printing key_t arguments of msgget, semget, and shmget syscalls * ipc_msg.c (SYS_FUNC(msgget)): As key_t type in the kernel is __kernel_key_t (i.e. int), cast key_t argument to int and print it using %#x format. * ipc_sem.c (SYS_FUNC(semget)): Likewise. * ipc_shm.c (SYS_FUNC(shmget)): Likewise. * tests/ipc_msg.c (main): Test it. * tests/ipc_sem.c (main): Likewise. * tests/ipc_shm.c (main): Likewise.
/external/strace/tests/ipc_msg.c
|
3ba7feca53f49c88c3b2d0cb235681d7fd990e86 |
|
06-Jan-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
tests/ipc_msg.c: use libtests * tests/ipc_msg.c (cleanup): New function. (main): Use it and perror_msg_and_skip.
/external/strace/tests/ipc_msg.c
|
38a34c9349267c99ce1ddbd0b6e985147415d355 |
|
17-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Add copyright headers to some files which lack them Before this change, all files that exist since 20th century had copyright headers, while most files that appeared later didn't. This change fixes the inconsistency by adding missing copyright headers. It doesn't mean that copyright headers became maintained. In my view, git history provides much better information on this subject and is much more accurate than copyright headers.
/external/strace/tests/ipc_msg.c
|
d0a61871c8c591505a60f244f4e7be40b28dfc9b |
|
18-Aug-2015 |
Elvira Khabirova <lineprinter0@gmail.com> |
Enhance msgctl syscall decoding Make parser of msgctl syscall print struct msqid_ds. * ipc_msgctl.c (msqid_ds_t): New typedef. Mpersify it. (print_msqid_ds): New function. Use msqid_ds_t. (sys_msgctl): Use print_msqid_ds. * tests/ipc_msg.c: Update for struct msqid_ds support.
/external/strace/tests/ipc_msg.c
|
2370d53281e00bc99558b2bd8f0794b2e989caa4 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
ipc.c: use printaddr and umove_or_printaddr * ipc.c (sys_msgctl): Use printaddr. (tprint_msgbuf): New function. (tprint_msgsnd, tprint_msgrcv): Use it. (sys_msgrcv): Use umove_or_printaddr. (tprint_sembuf): Rename to tprint_sembuf_array. (tprint_sembuf): New function. (tprint_sembuf_array): Use it. (sys_semop, sys_semtimedop): Update callers. (sys_shmctl, sys_shmat, sys_shmdt): Use printaddr. (sys_mq_open, printmqattr): Use printaddr and umove_or_printaddr. * tests/ipc_msg.c (main): Update msgctl IPC_RMID regexp. * tests/ipc_shm.c (main): Update shmctl IPC_RMID regexp.
/external/strace/tests/ipc_msg.c
|
3aa45f3cc2103c7bf80c45452c29e7b7e7dda089 |
|
11-Mar-2015 |
Andreas Schwab <schwab@suse.de> |
tests/ipc_*: match IPC_64 flag * tests/ipc_msg.c (main): Optionally match "IPC_64|" in the third argument of the ipc call. * tests/ipc_sem.c (main): Likewise. * tests/ipc_shm.c (main): Likewise.
/external/strace/tests/ipc_msg.c
|
7230d0a38862a286776aedd2e8b6fe86f5891e59 |
|
14-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: add IPC_STAT to ipc tests, workaround limitiations of old kernels * tests/ipc_msg.c: Include <errno.h>. (main): Add a test call with IPC_STAT, handle old kernels MSG_STAT behaviour. * tests/ipc_sem.c: Include <errno.h>. (main): Add a test call with IPC_STAT, handle old kernels SEM_STAT behaviour. * tests/ipc_shm.c: Include <errno.h>. (main): Add a test call with IPC_STAT, handle old kernels SHM_STAT behaviour.
/external/strace/tests/ipc_msg.c
|
12e24427845a1e97e6ffd65153a3752c6d02de7d |
|
12-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: add tests for ipc syscalls decoding * tests/ipc_msg.c: New file. * tests/ipc_sem.c: Likewise. * tests/ipc_shm.c: Likewise. * tests/ipc_msg.test: New test. * tests/ipc_sem.test: Likewise. * tests/ipc_shm.test: Likewise. * tests/Makefile.am (check_PROGRAMS): Add ipc_msg, ipc_sem, and ipc_shm. (TESTS): Add ipc_msg.test, ipc_sem.test, and ipc_shm.test. * tests/.gitignore: Add ipc_msg, ipc_sem, and ipc_shm.
/external/strace/tests/ipc_msg.c
|