Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "zenlib"
version = "3.1.5"
version = "3.1.6"
authors = [
{ name="Desultory", email="[email protected]" },
]
Expand Down
3 changes: 2 additions & 1 deletion src/zenlib/namespace/namespace_process.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from multiprocessing import Event, Pipe, Process, Queue
from os import chroot, getgid, getlogin, getuid, setgid, setuid
from os import chroot, chdir, getgid, getlogin, getuid, setgid, setuid

from .namespace import get_id_map, new_id_map, unshare_namespace

Expand Down Expand Up @@ -37,6 +37,7 @@ def run(self):
setuid(0)
setgid(0)
chroot(self.target_root)
chdir("/")
try:
self.function_queue.put(self._target(*self._args, **self._kwargs))
except Exception as e:
Expand Down
Loading