Searched refs:sys (Results 1 - 25 of 129) sorted by relevance

123456

/lxc/src/python-lxc/examples/
H A Dpyconsole.py29 import sys namespace
35 if len(sys.argv) < 2:
36 sys.exit("Usage: %s container-name [ttynum [escape]]" % sys.argv[0])
37 if len(sys.argv) > 2:
38 ttynum = int(sys.argv[2])
39 if len(sys.argv) > 3:
40 escape = ord(sys.argv[3]) - ord('a') + 1
42 ct = lxc.Container(sys.argv[1])
48 sys
[all...]
H A Dpyconsole-vte.py31 import sys namespace
66 if len(sys.argv) < 2:
67 sys.exit("Usage: %s container-name [ttynum]" % sys.argv[0])
68 if len(sys.argv) > 2:
69 ttynum = int(sys.argv[2])
71 ct = lxc.Container(sys.argv[1])
75 sys.exit("Container %s not defined" % ct.name)
77 sys.exit("Container %s not running" % ct.name)
/lxc/src/lxc/
H A Dinitutils.h30 #include <sys/stat.h>
31 #include <sys/types.h>
32 #include <sys/stat.h>
33 #include <sys/mount.h>
H A Dlxclock.h27 #include <sys/stat.h> /* For mode constants */
28 #include <sys/file.h>
H A Dattach.h27 #include <sys/types.h>
H A Derror.c26 #include <sys/wait.h>
H A Dlxc.h32 #include <sys/select.h>
33 #include <sys/types.h>
H A Dmonitor.h27 #include <sys/param.h>
28 #include <sys/un.h>
H A Dstate.c31 #include <sys/file.h>
32 #include <sys/param.h>
33 #include <sys/socket.h>
34 #include <sys/stat.h>
35 #include <sys/types.h>
H A Dnamespace.c28 #include <sys/param.h>
29 #include <sys/types.h>
30 #include <sys/stat.h>
H A Dfreezer.c31 #include <sys/types.h>
32 #include <sys/param.h>
/lxc/src/include/
H A Dopenpty.h28 #include <sys/ioctl.h>
H A Difaddrs.h47 #include <sys/cdefs.h>
H A Dopenpty.c32 #include <sys/types.h>
33 #include <sys/ioctl.h>
H A Dgetline.c30 #include <sys/types.h>
/lxc/src/tests/
H A Dlxc-test-automount23 # sys automounts would be worthwhile.
34 rmdir /sys/fs/cgroup/freezer/xx
47 rmdir /sys/fs/cgroup/freezer/xx || true
55 echo "lxc.mount.auto = proc:mixed sys:mixed" >> $config
61 stat /proc/$pid/root/sys/fs/cgroup/freezer || notfound=1
76 echo "lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed" >> $config
80 stat /proc/$pid/root/sys/fs/cgroup/freezer || notfound=1
83 stat /proc/$pid/root/sys/fs/cgroup/freezer/cgroup.procs || notfound=1
86 mkdir /proc/$pid/root/sys/fs/cgroup/freezer/xx || ro=1
89 mkdir /proc/$pid/root/sys/f
[all...]
H A Dreboot.c24 #include <sys/reboot.h>
25 #include <sys/types.h>
26 #include <sys/wait.h>
79 FILE *f = fopen("/proc/sys/kernel/ctrl-alt-del", "r");
H A Ddestroytest.c24 #include <sys/types.h>
25 #include <sys/wait.h>
H A Dgetkeys.c24 #include <sys/types.h>
25 #include <sys/wait.h>
H A Dlxcpath.c24 #include <sys/types.h>
25 #include <sys/wait.h>
/lxc/config/apparmor/
H A Dlxc-generate-aa-rules.py3 import sys namespace
11 # blocks[0] = ['path' = '/sys', 'children' = [A,B] ]
12 # blocks[1] = ['path' = '/proc/sys', 'children' = [ E ] ]
52 sys.exit(1)
67 if len(sys.argv) > 1:
68 config = sys.argv[1]
84 sys.exit(1)
135 for a in sys.argv[1:]:
/lxc/src/lxc/lsm/
H A Dlsm.c29 #include <sys/mount.h>
30 #include <sys/param.h>
H A Dlsm.h29 #include <sys/types.h>
/lxc/config/init/common/
H A Dlxc-containers.in66 [ -r /sys/class/net/${br}/flags ] || { sleep 1; continue 2; }
67 read flags < /sys/class/net/${br}/flags
/lxc/src/lxc/tools/
H A Dlxc_console.c34 #include <sys/ioctl.h>
35 #include <sys/param.h>
36 #include <sys/stat.h>
37 #include <sys/types.h>

Completed in 98 milliseconds

123456