SpawnProcess: add unshare_ipc and unshare_net
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Aug 2013 03:29:49 +0000 (20:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Aug 2013 03:29:49 +0000 (20:29 -0700)
pym/_emerge/SpawnProcess.py

index 061770db1ae6d445b4b1bddace893efdcfe99cda..994f3ddbb9dff638b26a83b98f3420cc519f6778 100644 (file)
@@ -31,7 +31,8 @@ class SpawnProcess(SubProcess):
 
        _spawn_kwarg_names = ("env", "opt_name", "fd_pipes",
                "uid", "gid", "groups", "umask", "logfile",
-               "path_lookup", "pre_exec", "close_fds", "cgroup")
+               "path_lookup", "pre_exec", "close_fds", "cgroup",
+               "unshare_ipc", "unshare_net")
 
        __slots__ = ("args",) + \
                _spawn_kwarg_names + ("_pipe_logger", "_selinux_type",)