[PATCH 2/2] sh: Add entries for not-multiplexed socket calls
Carmelo AMOROSO
carmelo.amoroso at st.com
Mon Dec 13 08:58:50 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/13/2010 8:37 AM, Carmelo AMOROSO wrote:
> * linux/sh/syscallent.h: Add specific entries for not-multiplexed
> socket calls (available in kernel mainline since v2.6.37-rc1)
>
> Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
> ---
> linux/sh/syscallent.h | 36 ++++++++++++++++++------------------
> 1 files changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
> index a778639..60744c9 100644
> --- a/linux/sh/syscallent.h
> +++ b/linux/sh/syscallent.h
> @@ -372,24 +372,24 @@
> { 5, 0, printargs, "SYS_337" }, /* 337 */
> { 5, 0, printargs, "SYS_338" }, /* 338 */
> { 5, 0, printargs, "SYS_339" }, /* 339 */
> - { 5, 0, printargs, "SYS_340" }, /* 340 */
> - { 5, 0, printargs, "SYS_341" }, /* 341 */
> - { 5, 0, printargs, "SYS_342" }, /* 342 */
> - { 5, 0, printargs, "SYS_343" }, /* 343 */
> - { 5, 0, printargs, "SYS_344" }, /* 344 */
> - { 5, 0, printargs, "SYS_345" }, /* 345 */
> - { 5, 0, printargs, "SYS_346" }, /* 346 */
> - { 5, 0, printargs, "SYS_347" }, /* 347 */
> - { 5, 0, printargs, "SYS_348" }, /* 348 */
> - { 5, 0, printargs, "SYS_349" }, /* 349 */
> - { 5, 0, printargs, "SYS_350" }, /* 350 */
> - { 5, 0, printargs, "SYS_351" }, /* 351 */
> - { 5, 0, printargs, "SYS_352" }, /* 352 */
> - { 5, 0, printargs, "SYS_353" }, /* 353 */
> - { 5, 0, printargs, "SYS_354" }, /* 354 */
> - { 5, 0, printargs, "SYS_355" }, /* 355 */
> - { 5, 0, printargs, "SYS_356" }, /* 356 */
> - { 5, 0, printargs, "SYS_357" }, /* 357 */
> + { 3, TN, sys_socket, "socket" }, /* 340 */
> + { 3, TN, sys_bind, "bind" }, /* 341 */
> + { 3, TN, sys_connect, "connect" }, /* 342 */
> + { 2, TN, sys_listen, "listen" }, /* 343 */
> + { 3, TN, sys_accept, "accept" }, /* 344 */
> + { 3, TN, sys_getsockname, "getsockname" }, /* 345 */
> + { 3, TN, sys_getpeername, "getpeername" }, /* 346 */
> + { 4, TN, sys_socketpair, "socketpair" }, /* 347 */
> + { 4, TN, sys_send, "send" }, /* 348 */
> + { 4, TN, sys_recv, "recv" }, /* 349 */
> + { 6, TN, sys_sendto, "sendto" }, /* 350 */
> + { 6, TN, sys_recvfrom, "recvfrom" }, /* 351 */
> + { 2, TN, sys_shutdown, "shutdown" }, /* 352 */
> + { 5, TN, sys_setsockopt, "setsockopt" }, /* 353 */
> + { 5, TN, sys_getsockopt, "getsockopt" }, /* 354 */
> + { 5, TN, sys_sendmsg, "sendmsg" }, /* 355 */
> + { 5, TN, sys_recvmsg, "recvmsg" }, /* 356 */
> + { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 357 */
> { 5, 0, printargs, "SYS_358" }, /* 358 */
> { 5, 0, printargs, "SYS_359" }, /* 359 */
> { 5, 0, printargs, "SYS_360" }, /* 360 */
It has to be rebased considering that the accept4 could be actually used.
Carmelo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0F4EoACgkQoRq/3BrK1s+hLwCg99bvnVuyMi7yJMYSrVJTazPG
rkUAnRdCB/fdOY9evDFOPvZr35MwA5hW
=o1l6
-----END PGP SIGNATURE-----
More information about the Strace-devel
mailing list