Searched defs:os (Results 1 - 4 of 4) sorted by relevance

/lxc/config/yum/
H A Dlxc-patch.py24 import os namespace
37 if os.geteuid():
57 os.spawnlp(os.P_WAIT, "lxc-patch", "lxc-patch", "--patch", "/")
/lxc/src/python-lxc/examples/
H A Dapi_test.py29 import os namespace
55 with open(os.path.devnull, "w") as devnull:
121 if os.geteuid():
/lxc/src/python-lxc/lxc/
H A D__init__.py27 import os namespace
169 if os.path.exists("/sys/class/net/%s/phy80211/name" % name):
192 if not os.path.exists("/sys/class/net/%s/" % name):
342 timeout = int(os.environ.get('LXC_GETIP_TIMEOUT', timeout))
427 if not os.path.exists(config_path):
/lxc/src/lxc/
H A Dcriu.c830 struct criu_opts os; local
865 os.pipefd = pipes[1];
866 os.action = "restore";
867 os.user = opts;
868 os.c = c;
869 os.console_fd = c->lxc_conf->console.slave;
870 os.criu_version = criu_version;
871 os.handler = handler;
873 if (os.console_fd >= 0) {
877 flags = fcntl(os
1085 struct criu_opts os; local
[all...]

Completed in 12 milliseconds