[libseccomp-discuss] allowing select() fails in i686
High level interface to the Linux Kernel's seccomp filter
Brought to you by:
pcmoore
|
From: Nikos M. <nm...@re...> - 2015-01-27 15:46:06
|
Hello, The attached program as far as I understand creates a filter which allows select(). That works well on my x86-64: $ gcc test.c -lseccomp;./a.out all ok However, if I run the same thing under i686 emulation, I have: $ gcc -m32 test.c -lseccomp;./a.out select is blocked! Note that allow others calls (e.g., write) are properly executed as expected. Running strace without seccomp being applied shows: select(4, [3], NULL, NULL, NULL) = 1 (in [3]) So as far as I understand the syscall select() is being called. Am I missing something here? regards, Nikos |