Permalink
Please sign in to comment.
Browse files
arch: fix a number of 32-bit x86 failures related to socket syscalls
It turns out there was still a few bugs with the 32-bit x86 socket syscalls, especially on systems with older kernel headers installed. This patch corrects these problems and perhaps more importantly, returns the resolver API functions to returning the negative pseudo syscall numbers in the case of 32-bit x86, this helps ensure things continue to work as they did before as the API does not change. It it important to note that libseccomp still generates filter code for both multiplexed and direct socket syscalls regardless. Signed-off-by: Paul Moore <paul@paul-moore.com>
- Loading branch information...
Showing
with
105 additions
and 5 deletions.
- +84 −0 src/arch-x86-syscalls.c
- +19 −4 src/arch-x86.c
- +2 −1 tests/30-sim-socket_syscalls.tests
0 comments on commit
73d83e4