]> granicus.if.org Git - strace/commit
Enhance shmctl syscall decoding
authorElvira Khabirova <lineprinter0@gmail.com>
Fri, 31 Jul 2015 15:43:21 +0000 (18:43 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 28 Aug 2015 08:46:23 +0000 (08:46 +0000)
commit0a6af9b0a45553587954ef306d56e78ac1f4f363
tree294ad3c244fd65b0e9d911f7a5672f0946fada9b
parentb7699b55ddef3b7926b67cfb4429a277d47ca7f4
Enhance shmctl syscall decoding

Make parser of shmctl syscall print struct shmid_ds.

* ipc_shmctl.c (shmid_ds_t): New typedef.  Mpersify it.
(print_shmid_ds): New function.  Use shmid_ds_t.
(sys_shmctl): Use print_shmid_ds.
* tests/ipc_shm.c: Update for struct shmid_ds support.
ipc_shmctl.c
tests/ipc_shm.c