Closed w296488320 closed 2 years ago
I have tried using Termux The problem I need to solve now is how to deal with sysexit in the mode of starting seccomp. I tried to start analyzing the proot and found a problem, Does the sysexit not be processed when the seccomp mode is turned on.
If sysexit is handled in seccomp mode is specified on per-syscall basis in seccomp.c
or similar lists defined inside extensions
Here it is specified that for accept
and accept4
sysexit will be handled and for access
and acct
it may be skipped
I don't know why in seccomp mode to put the ( tracee->status = 0;) This may not execute sysexit. Does it not support sysexit when seccomp is enabled?