change the internal socketcall selection logic
authorSzabolcs Nagy <nsz@port70.net>
Mon, 25 Jan 2016 00:52:58 +0000 (00:52 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 26 Jan 2016 23:27:44 +0000 (18:27 -0500)
commita5e133bf29d42101ba90012b3b03b670bbb949b2
tree8aa240312fc786f949451088dcf592e0f34eda3c
parentf9b8df464da02005a1f3296ad5c16582065befbf
change the internal socketcall selection logic

only use SYS_socketcall if SYSCALL_USE_SOCKETCALL is defined
internally, otherwise use direct syscalls.

this commit does not change the current behaviour, it is
preparation for adding direct syscall numbers for i386.
arch/i386/syscall_arch.h
src/internal/syscall.h