DescriptionOn older 32bit kernels (e.g. Ubuntu Hardy), the seccomp sandbox fails to handle
signals correctly. This is primarily a result of the kernel not supporting
non-executable data segments. But it also runs into problems because the
format of the signal frame is subtly different and does not appear to always
include a "magic restorer function".
This changelist removes all dependencies on NX support from the 32bit version
of the code. And it eliminates the code that patches the restorer function.
Both of these features were originally added to make it easier for gdb to
debug code that runs inside of a signal handler. But given the observed problems
with this approach, it does not seem worth the effort.
64bit code seems unaffected by all of these problems -- presumably because
that architecture is a lot more recent. So, we'll not make any changes to it.
BUG=http://code.google.com/p/seccompsandbox/issues/detail?id=5
TEST=make test
Committed: http://code.google.com/p/seccompsandbox/source/detail?r=147
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (0 generated)
|