Partially implement fork(2)
Really this return ENOSYS (not implemented), which allows sub-processes to detect the condition and continue to run (or crash on their own if they did not expect fork() to fail).
This commit is contained in:
parent
44ef97ec6c
commit
cacc50abb5
@ -2621,6 +2621,9 @@ class SLinux(Linux):
|
|||||||
|
|
||||||
return super(SLinux, self).sys_getrandom(buf, size, flags)
|
return super(SLinux, self).sys_getrandom(buf, size, flags)
|
||||||
|
|
||||||
|
def sys_fork(self):
|
||||||
|
return -errno.ENOSYS
|
||||||
|
|
||||||
def generate_workspace_files(self):
|
def generate_workspace_files(self):
|
||||||
def solve_to_fd(data, fd):
|
def solve_to_fd(data, fd):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user