Partially implement chroot(2)
Really this return EPERM (permission denied), which seems to be absolutely fine since a non-privileged user is currently assumed. This is what would normally be returned in this scenario.
This commit is contained in:
parent
44ef97ec6c
commit
285f1cf8b1
@ -2621,6 +2621,9 @@ class SLinux(Linux):
|
||||
|
||||
return super(SLinux, self).sys_getrandom(buf, size, flags)
|
||||
|
||||
def sys_chroot(self, buf):
|
||||
return -errno.EPERM
|
||||
|
||||
def generate_workspace_files(self):
|
||||
def solve_to_fd(data, fd):
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user