You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue. On the manual of pledge(2), it is said that _exit(2) is allowed.
A promises value of "" restricts the process to the _exit(2) system call. This can be used for pure computation operating on memory shared with another process.
The text was updated successfully, but these errors were encountered:
It seems that we would always need at least stdio when we call pledge inside a python process (probably because of the GIL). It might be good to document that somewhere.
I started to add tests in my fork, and I found that a process calling
pledge('', '')
always gets killed.I thought that python might be calling some forbidden syscall at the end of the program, so I tried with
os._exit
:Same issue. On the manual of pledge(2), it is said that
_exit(2)
is allowed.The text was updated successfully, but these errors were encountered: