Home
last modified time | relevance | path

Searched refs:sys (Results 1 – 25 of 110) sorted by relevance

12345

/systemd-251/test/units/ !
Dtestsuite-17.02.sh22 udevadm trigger --action=add --settle /sys/devices/virtual/net/lo
23 udevadm info /sys/devices/virtual/net/lo
25 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device)
28 udevadm trigger --action=change --settle /sys/devices/virtual/net/lo
29 udevadm info /sys/devices/virtual/net/lo
31 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device)
34 udevadm trigger --action=move --settle /sys/devices/virtual/net/lo
35 udevadm info /sys/devices/virtual/net/lo
37 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device)
46 udevadm info --wait-for-initialization=10s /sys/devices/virtual/net/hoge
[all …]
Dtestsuite-38.sh106 grep -q "frozen $2" /sys/fs/cgroup/system.slice/"$1"/cgroup.events
229 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/cgroup.events
230 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events
237 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/cgroup.events
238 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events
256 echo 1 >/sys/fs/cgroup/"${slice}"/cgroup.freeze
265 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/cgroup.events
266 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events
270 echo 0 >/sys/fs/cgroup/"${slice}"/cgroup.freeze
275 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/cgroup.events
[all …]
Dtestsuite-19.sh8 test -w /sys/fs/cgroup/system.slice/test0.service/ -a \
9 -w /sys/fs/cgroup/system.slice/test0.service/cgroup.procs -a \
10 -w /sys/fs/cgroup/system.slice/test0.service/cgroup.subtree_control
13 grep -q memory /sys/fs/cgroup/system.slice/test1.service/cgroup.controllers
16 grep -q pids /sys/fs/cgroup/system.slice/test2.service/cgroup.controllers
19 grep -qv io /sys/fs/cgroup/system.slice/cgroup.controllers
23 …grep -q io /sys/fs/cgroup/system.slice/system-foo.slice/system-foo-bar.slice/system-foo-bar-baz.sl…
33 grep -qv io /sys/fs/cgroup/system.slice/cgroup.controllers
/systemd-251/test/test-umount/ !
Drhbug-1554943.mountinfo1 18 63 0:18 / /sys rw,nosuid,nodev,noexec,relatime shared:2 - sysfs sysfs rw
4 21 18 0:7 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:3 - securityfs securityfs rw
8 25 18 0:22 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:4 - tmpfs tmpfs ro,mode=755
9 26 25 0:23 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:5 - cgroup2 cgroup rw
10 27 25 0:24 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup rw,xat…
11 28 18 0:25 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:17 - pstore pstore rw
12 29 25 0:26 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:7 - cgroup cgroup rw…
13 30 25 0:27 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,…
14 31 25 0:28 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:9 - cgroup cgroup rw,fre…
15 32 25 0:29 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:10 - cgroup cgroup rw,hu…
[all …]
/systemd-251/tools/ !
Dmeson-render-jinja2.py7 import sys
30 defines = parse_config_h(sys.argv[1])
31 defines.update(parse_config_h(sys.argv[2]))
32 output = render(sys.argv[3], defines)
33 with open(sys.argv[4], 'w') as f:
36 info = os.stat(sys.argv[3])
37 os.chmod(sys.argv[4], info.st_mode)
Dupdate-man-rules.py7 import sys
43 print("Failed to process", name, file=sys.stderr)
81 source_glob = sys.argv[1]
82 target = Path(sys.argv[2])
Dmake-man-index.py5 import sys
9 MDASH = ' — ' if sys.version_info.major >= 3 else ' -- '
110 with open(sys.argv[1], 'wb') as f:
111 f.write(xml_print(make_page(*sys.argv[2:])))
/systemd-251/test/ !
Dsd-script.py21 import sys
278 if len(sys.argv) != 3:
279 exit("Usage: {} <target dir> <number>".format(sys.argv[0]))
281 if not os.path.isdir(sys.argv[1]):
282 exit("Target dir {} not found".format(sys.argv[1]))
294 si = sys.exc_info()[1]
310 si = sys.exc_info()[1]
335 os.chdir(sys.argv[1])
337 last = int(sys.argv[2])
Dcreate-sys-script.py17 import os, sys
152 print(f'FAIL on "{path}"', file=sys.stderr)
158 if len(sys.argv) < 2:
161 outfile = os.path.abspath(os.path.dirname(sys.argv[0]) + '/sys-script.py')
164 os.chdir(sys.argv[1])
168 f.write(OUTFILE_HEADER.replace(os.path.basename(sys.argv[0]),
Drule-syntax-check.py10 import sys
14 rules_files = sys.argv[1:]
16 sys.exit('Specify files to test as arguments')
65 sys.exit(result)
Drun-unit-tests.py9 import sys
73 sys.stdout.flush()
77 sys.exit(total.fail > 0)
/systemd-251/src/fuzz/ !
Dfuzz-bootspec-gen.py7 import sys
9 config = open(sys.argv[1]).read()
10 loader = [entry for entry in open(sys.argv[2], encoding='utf-16-le').read().split('\0')
13 for name in sys.argv[3:]]
/systemd-251/src/journal-remote/ !
Dlog-generator.py4 import sys
68 print('.', file=sys.stderr, end='', flush=True)
71 print(file=sys.stderr)
72 print('Wrote {} bytes'.format(bytes), file=sys.stderr)
/systemd-251/src/test/ !
Dgenerate-sym-test.py4 import sys, re
7 for header in sys.argv[2:]:
16 for line in open(sys.argv[1]):
/systemd-251/test/test-execute/ !
Dexec-readonlypaths.service6 ReadOnlyPaths=/usr /etc /sys /dev -/i-dont-exist
8 ExecStart=/bin/sh -x -c 'test ! -w /usr && test ! -w /etc && test ! -w /sys && test ! -w /sys/fs/cg…
/systemd-251/src/basic/ !
Dmissing_syscalls.py4 import sys
153 output_file = sys.argv[1]
154 arch_files = sys.argv[2:]
/systemd-251/test/fuzz/fuzz-unit-file/ !
Dproc-sys-fs-binfmt_misc.automount17 ConditionPathExists=/proc/sys/fs/binfmt_misc/
18 ConditionPathIsReadWrite=/proc/sys/
21 Where=/proc/sys/fs/binfmt_misc
/systemd-251/units/ !
Dproc-sys-fs-binfmt_misc.automount17 ConditionPathExists=/proc/sys/fs/binfmt_misc/
18 ConditionPathIsReadWrite=/proc/sys/
21 Where=/proc/sys/fs/binfmt_misc
Dsys-fs-fuse-connections.mount15 ConditionPathExists=/sys/fs/fuse/connections
23 # is fully operational and /sys/fs/fuse/connections is created, see issue#17586.
30 Where=/sys/fs/fuse/connections
Dsys-kernel-config.mount15 ConditionPathExists=/sys/kernel/config
22 # is fully operational and /sys/kernel/config is created, see issue#17586.
29 Where=/sys/kernel/config
Dsystemd-binfmt.service.in17 After=proc-sys-fs-binfmt_misc.automount
18 After=proc-sys-fs-binfmt_misc.mount
21 ConditionPathIsReadWrite=/proc/sys/
/systemd-251/shell-completion/zsh/ !
D_udevadm8 '--path=[The devpath of the device to query.]:sys files:_files -P /sys/ -W /sys' \
35 '--sysname-match=[Trigger events for devices with a matching sys device name.]' \
85 '*::devpath:_files -P /sys/ -W /sys'
99 '*::syspath:_files -P /sys -W /sys'
/systemd-251/docs/ !
DCONTAINER_INTERFACE.md24 2. Make sure to pre-mount `/proc/`, `/sys/`, and `/sys/fs/selinux/` before
25 invoking systemd, and mount `/sys/`, `/sys/fs/selinux/` and `/proc/sys/`
29 enabled, feel free to make `/proc/sys/net/` writable. If it also has user, ipc,
30 uts and pid namespaces enabled, the entire `/proc/sys` can be left writable).
33 (It's OK to mount `/sys/` as `tmpfs` btw, and only mount a subset of its
34 sub-trees from the real `sysfs` to hide `/sys/firmware/`, `/sys/kernel/` and
35 so on. If you do that, make sure to mark `/sys/` read-only, as that
57 will check for `/sys/` being read-only, as an indication whether device
58 management can work. Therefore make sure to mount `/sys/` read-only in the
60 read-only state of `/sys/`, including PID 1 itself and `systemd-networkd`.
[all …]
/systemd-251/rules.d/ !
D99-systemd.rules.in40 # use the /sys/subsystem/ path for this. Kernel "bus" and "class" names
46 SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/net/devices/$na…
47 SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/bluetooth/devices/%k", \
73 SUBSYSTEM=="module", KERNEL=="fuse", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.m…
74 SUBSYSTEM=="module", KERNEL=="configfs", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mou…
/systemd-251/hwdb.d/ !
Dparse_hwdb.py28 import sys
39 sys.exit(77)
316 args = sys.argv[1:] or sorted(glob.glob(os.path.dirname(sys.argv[0]) + '/[678][0-9]-*.hwdb'))
324 sys.exit(ERROR)

12345