diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2012-03-11 23:59:29 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-03-11 23:59:29 +0000 |
commit | 7af9f35001af19e2844b3e9fb3c672ee696be17b (patch) | |
tree | cb72deb2c20b9d86f9603890d9665c48f01bbcda /linux | |
parent | 1ff463d15412de77fcf5b8ca1cf43c63dce1dbe1 (diff) | |
download | android_external_strace-7af9f35001af19e2844b3e9fb3c672ee696be17b.tar.gz android_external_strace-7af9f35001af19e2844b3e9fb3c672ee696be17b.tar.bz2 android_external_strace-7af9f35001af19e2844b3e9fb3c672ee696be17b.zip |
Implement sendmmsg syscall decoder
* linux/dummy.h (sys_sendmmsg): Remove.
* linux/syscall.h (sys_sendmmsg): New prototype.
* net.c (printmmsghdr): Add index argument specifying the element in
mmsghdr array to print.
(decode_mmsg): New function, prints the whole mmsghdr array, its length
and message flags.
(sys_sendmmsg): New function.
(sys_recvmmsg): Use decode_mmsg to fix mmsghdr array decoding.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dummy.h | 1 | ||||
-rw-r--r-- | linux/syscall.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/linux/dummy.h b/linux/dummy.h index 88e3ba99..f22a8d32 100644 --- a/linux/dummy.h +++ b/linux/dummy.h @@ -45,7 +45,6 @@ #define sys_prlimit64 printargs #define sys_request_key printargs #define sys_rt_tgsigqueueinfo printargs -#define sys_sendmmsg printargs #define sys_sync_file_range printargs #define sys_sysfs printargs #define sys_syslog printargs diff --git a/linux/syscall.h b/linux/syscall.h index f5b0ef6a..18039703 100644 --- a/linux/syscall.h +++ b/linux/syscall.h @@ -220,6 +220,7 @@ int sys_semtimedop(); int sys_send(); int sys_sendfile(); int sys_sendfile64(); +int sys_sendmmsg(); int sys_sendmsg(); int sys_sendto(); int sys_set_mempolicy(); |