]> sourceware.org Git - systemtap.git/commit
Fix PR16580 by decoding the 'protocol' argument of 'syscall.socket{pair}'.
authorDavid Smith <dsmith@redhat.com>
Thu, 13 Feb 2014 19:54:35 +0000 (13:54 -0600)
committerDavid Smith <dsmith@redhat.com>
Thu, 13 Feb 2014 19:54:35 +0000 (13:54 -0600)
commit86eb61ca1b9fa2c54a7a4dfbea4ff14fd26ca8b3
treec0f1bacf885ee911830859bde2d8cdaaa0c7e77c
parent86298f09be1760321e1ff68e42db54473e57f8ea
Fix PR16580 by decoding the 'protocol' argument of 'syscall.socket{pair}'.

* tapset/linux/aux_syscalls.stp (_sock_protocol_str): New function.
* tapset/linux/syscalls2.stp: Decode the 'protocol' argument in
  syscall.socket and syscall.socketpair with _sock_protocol_str().
* tapset/linux/nd_syscalls2.stp: Ditto.
* testsuite/systemtap.syscall/socket.c: New test.
* testsuite/systemtap.syscall/socketpair.c: Updated test to expect decoded
  'protocol' arguments.
* testsuite/systemtap.syscall/net1.c: Ditto.
tapset/linux/aux_syscalls.stp
tapset/linux/nd_syscalls2.stp
tapset/linux/syscalls2.stp
testsuite/systemtap.syscall/net1.c
testsuite/systemtap.syscall/socket.c [new file with mode: 0644]
testsuite/systemtap.syscall/socketpair.c
This page took 0.028467 seconds and 5 git commands to generate.