]> sourceware.org Git - systemtap.git/commit
Don't accidentially use user space ntohs function.
authorMark Wielaard <mjw@redhat.com>
Sat, 11 Jul 2009 09:58:52 +0000 (11:58 +0200)
committerMark Wielaard <mjw@redhat.com>
Sat, 11 Jul 2009 09:58:52 +0000 (11:58 +0200)
commitb2b61f91a752d8221addcbabb3c630766af081e4
treea15ece60777da9a1e4b305692089884297e3aec7
parenta704a23b6653df973d919516d4ebf4886a84824f
Don't accidentially use user space ntohs function.

The definition of ntohs comes from user space include headers
netinet/in.h which could define it as function instead of macro.
So use builtin kernel be16_to_cpu instead.

* tapset/aux_syscalls.stp (_struct_sockaddr_u): Define and use _stp_ntohs
  as be16_to_cpu.
tapset/aux_syscalls.stp
This page took 0.02864 seconds and 5 git commands to generate.