The systemd System and Service Manager
2043 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ycm_extra_conf.py | 1 | #!/usr/bin/env python3 |
| LOW | .ycm_extra_conf.py | 21 | # In jurisdictions that recognize copyright laws, the author or authors |
| LOW | .ycm_extra_conf.py | 121 | flags = [ |
| LOW | man/libsystemd.xml | 21 | <refpurpose>Functions for implementing services and interacting with systemd</refpurpose> |
| LOW | man/yubikey-crypttab.sh | 1 | # SPDX-License-Identifier: MIT-0 |
| LOW | man/yubikey-crypttab.sh | 21 | sudo systemd-cryptenroll --pkcs11-token-uri=auto /dev/sdXn |
| LOW | man/org.freedesktop.resolve1.xml | 481 | #define SD_RESOLVED_NO_VALIDATE (UINT64_C(1) << 10) |
| LOW | man/fido2-crypttab.sh | 1 | # SPDX-License-Identifier: MIT-0 |
| LOW | man/systemd.network.xml | 6721 | #SubnetId=0 |
| LOW | man/notify-selfcontained-example.c | 1 | /* SPDX-License-Identifier: MIT-0 */ |
| LOW | man/sd-bus-errors.xml | 61 | <funcsynopsisinfo>#include <systemd/sd-bus.h></funcsynopsisinfo> |
| LOW | man/sd-bus-errors.xml | 81 | #define SD_BUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound" |
| LOW | hwdb.d/parse_hwdb.py | 1 | #!/usr/bin/env python3 |
| LOW | hwdb.d/acpi-update.py | 21 | # This file is part of systemd. |
| LOW | coccinelle/run-coccinelle.sh | 61 | # at once one spatch process can take around 2.5 GiB of RAM, which can easily eat up all available RAM |
| LOW | coccinelle/parsing_hacks.h | 81 | #define FOREACH_ELEMENT(i, array) YACFE_ITERATOR |
| LOW | tools/elf2efi.py | 1 | #!/usr/bin/env python3 |
| LOW | tools/catalog-report.py | 1 | #!/usr/bin/env python3 |
| LOW | test/test-udev.py | 1 | #!/usr/bin/env python3 |
| LOW | test/sd-script.py | 1 | #!/usr/bin/env python3 |
| LOW | test/networkd-test.py | 1 | #!/usr/bin/env python3 |
| LOW | test/test-network/systemd-networkd-tests.py | 1 | #!/usr/bin/env python3 |
| LOW | test/test-network/systemd-networkd-tests.py | 5481 | self.assertRegex(output, 'inet6 .* scope link') |
| LOW | test/test-network/systemd-networkd-tests.py | 10301 | |
| LOW | test/integration-tests/integration-test-wrapper.py | 141 | fatal_begin = re.compile(r'==[0-9]+==.+?\w+Sanitizer has encountered a fatal error') |
| LOW | test/units/TEST-07-PID1.alias-corruption.sh | 101 | [Service] |
| LOW | test/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-91-LIVEUPDATE.sh | 161 | # each automated auto-restart attempt. Use Restart=on-failure with |
| LOW | …t/units/TEST-53-TIMER.RandomizedDelaySec-persistent.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-87-AUX-UTILS-VM.replace-storage.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 1381 | local root |
| LOW | test/units/TEST-22-TMPFILES.12.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-07-PID1.delegate-namespaces.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-63-PATH.sh | 81 | # Test for race condition fixed by https://github.com/systemd/systemd/pull/30768 |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 141 | # "family": 10, |
| LOW | …its/TEST-19-CGROUP.abort-on-cgroup-creation-failure.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-65-ANALYZE.sh | 201 | systemd-analyze cat-config systemd/system.conf foo/bar systemd/journald.conf >/dev/null |
| LOW | test/units/TEST-65-ANALYZE.sh | 221 | # recommended. Defaults can be restored by simply deleting the main |
| LOW | test/units/TEST-87-AUX-UTILS-VM.bind-volume.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-07-PID1.transient-unit-container.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-07-PID1.transient-unit-container.sh | 41 | readonly CONTAINER_ROOT_FS HOST_OUT_DIR |
| LOW | test/units/TEST-07-PID1.exec-context.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-04-JOURNAL.bsod.sh | 21 | cat /tmp/console.dump |
| LOW | test/units/TEST-09-REBOOT.journal.sh | 21 | get_last_timestamp() { |
| LOW | test/units/TEST-22-TMPFILES.04.sh | 41 | # Must be fixed |
| LOW | test/units/TEST-53-TIMER.RandomizedDelaySec-reload.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-90-RESTRICT-FSACCESS.enforce.sh | 1 | #!/usr/bin/env bash |
| LOW | test/units/TEST-67-INTEGRITY.sh | 121 | # for the underlying hash algorithm when needed. That auto-load has been |
| LOW | LICENSES/BSD-3-Clause.txt | 1 | // Copyright 2014 The Chromium OS Authors. All rights reserved. |
| LOW | LICENSES/BSD-3-Clause.txt | 21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| LOW | xorg/50-systemd-user.sh | 1 | #!/bin/sh |
| LOW | profile.d/70-systemd-shell-extra.sh | 1 | # shellcheck shell=sh |
| LOW | profile.d/80-systemd-osc-context.sh | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | profile.d/80-systemd-osc-context.sh | 21 | # |
| LOW | src/journal/journald.c | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| LOW | src/journal/journalctl-filter.c | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| LOW | src/journal/journald-syslog.c | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| LOW | src/journal/journald-syslog.c | 21 | #include "journald-wall.h" |
| LOW | src/journal/journald-stream.c | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 1663 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ruff.toml | 4 | # This file is imported from an external project. |
| MEDIUM | man/yubikey-crypttab.sh | 10 | # Create a self-signed certificate from this public key, and store it on the |
| MEDIUM | man/homectl.xml | 1633 | # Create a self-signed certificate from this public key, and store it on the device. |
| MEDIUM | hwdb.d/parse_hwdb.py | 6 | # This file is distributed under the MIT license, see below. |
| MEDIUM | hwdb.d/ids_parser.py | 159 | # This file is part of systemd. |
| MEDIUM | hwdb.d/acpi-update.py | 21 | # This file is part of systemd. |
| MEDIUM | coccinelle/run-coccinelle.sh | 23 | # Create an array from files tracked by git... |
| MEDIUM | tools/update-hwdb-autosuspend.sh | 11 | # This file is part of systemd. |
| MEDIUM | tools/catalog-report.py | 4 | # This file is distributed under the MIT license, see below. |
| MEDIUM | test/test-udev.py | 160 | # Create a device list with all block devices under /sys |
| MEDIUM | test/networkd-test.py | 1324 | # Define the veth+peer pairs to be created. |
| MEDIUM | test/networkd-test.py | 1331 | # Define the contents of .network files to be read in order. |
| MEDIUM | test/units/TEST-45-TIMEDATE.sh | 348 | # Create a dummy interface managed by networkd, so we can configure link NTP servers |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh | 69 | # Create a minimal root filesystem directory, then bake it into a raw ext4 image. |
| MEDIUM | test/units/TEST-07-PID1.main-PID-change.sh | 68 | # Create a number of children, and make one the main one |
| MEDIUM | test/units/TEST-07-PID1.main-PID-change.sh | 98 | # Create a number of children, and make one the main one |
| MEDIUM | test/units/TEST-54-CREDS.sh | 71 | # Create a dummy "full" disk (similar to /dev/full) to check out-of-space |
| MEDIUM | test/units/TEST-13-NSPAWN.machined.sh | 33 | # Create a couple of containers we can refer to in tests |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.vmspawn.sh | 71 | # Create a minimal root filesystem. The guest does not need to fully boot -- we only need QEMU running |
| MEDIUM | test/units/TEST-13-NSPAWN.nspawn.sh | 78 | # Create a simple image from the just created container template |
| MEDIUM | test/units/TEST-22-TMPFILES.12.sh | 39 | # Create a bunch of other files. |
| MEDIUM | test/units/TEST-81-GENERATORS.getty-generator.sh | 148 | # Create a bunch of dummy consoles |
| MEDIUM | test/units/TEST-13-NSPAWN.nss-mymachines.sh | 28 | # Create a bunch of containers that: |
| MEDIUM | test/units/TEST-13-NSPAWN.nss-mymachines.sh | 75 | # Create the respective .nspawn config files |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.pstore.sh | 179 | # Create a name reference to one of the $DUMMY_DMESG_X variables |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.pstore.sh | 224 | # Create a name reference to one of the $DUMMY_DMESG_X variables |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl.sh | 108 | # Create a fake "ssh" binary that validates everything works as expected if invoked for the "ssh-unix:" Varlink transpor |
| MEDIUM | test/units/TEST-19-CGROUP.delegate.sh | 107 | # Create a subcgroup, and make it owned by some unrelated user |
| MEDIUM | test/units/TEST-74-AUX-UTILS.path.sh | 22 | # Create a custom user-dirs.dir file to exercise the xdg-user-dirs part |
| MEDIUM | test/units/TEST-65-ANALYZE.sh | 210 | # This file is part of systemd. |
| MEDIUM | test/units/TEST-23-UNIT-FILE.type-exec.sh | 8 | # Create a binary for which execve() will fail |
| MEDIUM | test/units/TEST-26-SYSTEMCTL.sh | 19 | # Create a simple unit file for testing |
| MEDIUM | test/units/TEST-74-AUX-UTILS.delta.sh | 12 | # Create a couple of supporting units with overrides |
| MEDIUM | test/units/TEST-74-AUX-UTILS.firstboot.sh | 60 | # Create a minimal root so we don't modify the testbed |
| MEDIUM | test/units/TEST-75-RESOLVED.sh | 157 | # Create a trust anchor for resolved with our root zone |
| MEDIUM | test/units/TEST-75-RESOLVED.sh | 159 | # Create a bind-compatible trust anchor (for delv) |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 885 | # Create a key-file |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 909 | # Create a multi-device btrfs filesystem on the LUKS devices |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1102 | # Create a cursor file to skip messages generated by udevd in initrd, as it |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1182 | # Create a simple RAID 1 with an ext4 filesystem |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1213 | # Create a simple RAID 5 with an ext4 filesystem |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1254 | # Create a simple RAID 10 with an ext4 filesystem |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1323 | # Create a RAID 10 with LVM + ext4 |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1326 | # Create an LVM on the MD |
| MEDIUM | test/units/TEST-07-PID1.transient-unit-container.sh | 105 | # Create a test-service unit file that will run via the container's systemd and |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-proxyd.sh | 32 | # Create a socket unit for the proxy |
| MEDIUM | test/units/TEST-07-PID1.exec-context.sh | 223 | # Create a VRF interface to later bind to and check if the binding is working |
| MEDIUM | test/units/TEST-13-NSPAWN.nspawn-oci.sh | 357 | # Create a simple "entrypoint" script that validates that the container |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.mount.sh | 153 | # Create a vfat image, as ext4 doesn't support uid=/gid= fixating for all |
| MEDIUM | test/units/util.sh | 404 | # Create a data-only extension image (no unit files) to test that |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 71 | # Create a pair of random partition payloads, and compress one. |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 79 | # Create a file payload and a suffixed version |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 83 | # Create a random "UKI" payload |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 86 | # Create a random extra payload |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 89 | # Create a random optional payload |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 392 | # Create a fifth version, that's complete on the server side. We should |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 527 | # Create a 9th version but corrupt the checksum in SHA256SUMS so pulling it |
| MEDIUM | test/units/TEST-46-HOMED.sh | 47 | # Create a tmpfs to use as backing store for the home dir. That way we can enforce a size limit nicely. |
| MEDIUM | test/units/TEST-46-HOMED.sh | 442 | # Create a couple of user/group records to test io.systemd.DropIn |
| MEDIUM | test/units/test-control.sh | 158 | # Create a list of all functions prefixed with testcase_ |
| 10 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ycm_extra_conf.py | 137 | # Set this to the absolute path to the folder (NOT the file!) containing the |
| LOW | tools/find-unused-library-symbols.py | 121 | # Check if library_name appears in the ldd output |
| LOW | tools/find-unused-library-symbols.py | 266 | # Print results |
| LOW | test/test-network-generator-conversion.sh | 219 | # Check if the generated .network files match the expected stored ones |
| LOW | test/test-network/systemd-networkd-tests.py | 1144 | # Check if networkd exits cleanly. |
| LOW | test/test-network/systemd-networkd-tests.py | 5912 | # Check if a link went down |
| LOW | test/test-network/systemd-networkd-tests.py | 5914 | # Check if an address was removed |
| LOW | test/test-network/systemd-networkd-tests.py | 5917 | # Check if the default route was removed |
| LOW | test/test-network/systemd-networkd-tests.py | 5517 | # Check if the IPv6LL address is removed. |
| LOW | test/test-network/systemd-networkd-tests.py | 5526 | # Check if a new IPv6LL address is assigned. |
| LOW | test/test-network/systemd-networkd-tests.py | 6142 | # Check if the route which needs nexthop 21 are forgotten. |
| LOW | test/test-network/systemd-networkd-tests.py | 6152 | # Check if the requested route actually configured. |
| LOW | test/test-network/systemd-networkd-tests.py | 7631 | # Check if the non-default routes are unchanged, and others are actually dropped. |
| LOW | test/test-network/systemd-networkd-tests.py | 7642 | # Check if sd-radv refuses RS from the same interface. |
| LOW | test/test-network/systemd-networkd-tests.py | 8043 | # Check if nexthop is removed. |
| LOW | test/test-network/systemd-networkd-tests.py | 8263 | # Check if the same addresses are used even if the service is restarted. |
| LOW | test/test-network/systemd-networkd-tests.py | 9105 | # Check if DHCPv4 address and routes are removed on stop. For issue #34837. |
| LOW | test/test-network/systemd-networkd-tests.py | 9372 | # Check if the client send RELEASE message of the previous lease |
| LOW | test/units/TEST-17-UDEV.diskseq.sh | 43 | # Check if no lock file exists, if the lock directory exists. |
| LOW | test/units/TEST-17-UDEV.diskseq.sh | 63 | # Check if the lock directory exists, but no lock file exists in it. |
| LOW | test/units/TEST-54-CREDS.sh | 327 | # Check if credentials with invalid names are not imported. |
| LOW | test/units/TEST-54-CREDS.sh | 335 | # Check if credentials with invalid names are not imported (with renaming). |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 99 | # Check if the $root doesn't get re-initialized once it's not empty |
| LOW | test/units/TEST-22-TMPFILES.12.sh | 197 | # Check if sub-directories are removed regardless |
| LOW | test/units/TEST-17-UDEV.database.sh | 10 | # Check if the database file is created. |
| LOW | test/units/TEST-17-UDEV.sanity-check.sh | 59 | # Check if processing queued events has been stopped. |
| LOW | test/units/TEST-17-UDEV.sanity-check.sh | 64 | # Check if processing queued events has been restarted. |
| LOW | test/units/TEST-74-AUX-UTILS.machine-id-setup.sh | 72 | # Check if we correctly processed the invalid machine ID we set up in the respective |
| LOW | test/units/TEST-07-PID1.mask.sh | 29 | # Check if ExecStop= and friends in a masked unit are not executed even defined |
| LOW | test/units/TEST-07-PID1.mask.sh | 52 | # Check if mask --now works and ExecStop= are not executed. |
| LOW | test/units/TEST-07-PID1.mask.sh | 69 | # Check if mask --now for already masked unit stops the service. |
| LOW | test/units/TEST-07-PID1.mask.sh | 86 | # Check if already masked unit can be stopped. |
| LOW | …st/units/TEST-81-GENERATORS.environment-d-generator.sh | 75 | # Check if the generator is correctly called in a user session |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 70 | # Check if the services we got are the correct ones |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 92 | # Check if the services we got are the correct ones |
| LOW | test/units/TEST-70-TPM2.measure.sh | 108 | # Check if SHA1 signatures are supported |
| LOW | test/units/TEST-70-TPM2.measure.sh | 141 | # Check if we can activate that (without the token module stuff) |
| LOW | test/units/TEST-70-TPM2.measure.sh | 145 | # Check if we can activate that (and a second time with the token module stuff enabled) |
| LOW | test/units/TEST-26-SYSTEMCTL.sh | 271 | # Check if the directories from *Directory= directives exist |
| LOW | test/units/TEST-23-UNIT-FILE.ExtraFileDescriptors.sh | 21 | # Open files and assign FD to variables |
| LOW | test/units/TEST-17-UDEV.watch.sh | 35 | # Check if the inotify watch fd is received from fd store. |
| LOW | test/units/TEST-17-UDEV.watch.sh | 38 | # Check if there is no broken symlink chain. |
| LOW | test/units/TEST-17-UDEV.watch.sh | 55 | # Check if the first invocation (should be in initrd) pushed the inotify fd to fdstore, |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1031 | # Check if the /dev/loop/* symlinks really reference the right device |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1051 | # Check if the /dev/disk/by-loop-ref/$name symlink really references the right device |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1061 | # Check if the /dev/disk/by-loop-ref/$name symlink does not exist |
| LOW | test/units/post.sh | 11 | # Check if sd-executor doesn't complain about not being able to (de)serialize stuff |
| LOW | test/units/TEST-75-RESOLVED.sh | 1130 | # Check if resolved exits cleanly. |
| LOW | test/units/TEST-04-JOURNAL.journal-gatewayd.sh | 91 | # Check if the specified cursor refers to an existing entry and return just that entry |
| LOW | test/units/TEST-17-UDEV.device_is_processing.sh | 59 | # Check if the reexec and reload have finished during processing the event. |
| LOW | test/units/TEST-17-UDEV.device_is_processing.sh | 66 | # Check if ID_PROCESSING flag is unset, and the device units are active. |
| LOW | test/units/TEST-17-UDEV.device_is_processing.sh | 86 | # Check if the service and device units are still active even ID_PROCESSING flag is set. |
| LOW | test/units/TEST-17-UDEV.device_is_processing.sh | 105 | # Check if the reexec and reload have finished during processing the event. |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 8 | # Check if all symlinks under /dev/disk/ are valid |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 17 | # Check if all given paths are valid |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 34 | # Check if the symlink points to the correct device in /dev |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 553 | # Check if unnecessary devlinks are removed. |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 907 | # Check if we have all necessary DM devices |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1151 | # Check if the respective "hashed" units exist and are active (plugged) |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1296 | # Check if all expected symlinks were removed after the cleanup |
| 19 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ycm_extra_conf.py | 88 | |
| LOW | .ycm_extra_conf.py | 197 | |
| LOW | hwdb.d/parse_hwdb.py | 378 | |
| LOW | hwdb.d/ids_parser.py | 199 | |
| LOW | hwdb.d/ids_parser.py | 236 | |
| LOW | hwdb.d/ids_parser.py | 274 | |
| LOW | hwdb.d/ids_parser.py | 360 | |
| LOW | tools/find-unused-library-symbols.py | 28 | |
| LOW | tools/make-directive-index.py | 17 | |
| LOW | tools/update-dbus-docs.py | 113 | |
| LOW | tools/update-dbus-docs.py | 143 | |
| LOW | tools/update-dbus-docs.py | 213 | |
| LOW | tools/gdb-sd_dump_hashmaps.py | 14 | |
| LOW | tools/check-version-history.py | 17 | |
| LOW | tools/check-version-history.py | 36 | |
| LOW | tools/analyze-dump-sort.py | 21 | |
| LOW | test/create-sys-script.py | 88 | |
| LOW | test/create-sys-script.py | 134 | |
| LOW | test/networkd-test.py | 471 | |
| LOW | test/test-network/systemd-networkd-tests.py | 500 | |
| LOW | test/test-network/systemd-networkd-tests.py | 817 | |
| LOW | test/test-network/systemd-networkd-tests.py | 1401 | |
| LOW | test/test-network/systemd-networkd-tests.py | 6798 | |
| LOW | test/test-network/systemd-networkd-tests.py | 7128 | |
| LOW | test/integration-tests/integration-test-wrapper.py | 123 | |
| LOW | test/integration-tests/integration-test-wrapper.py | 256 | |
| LOW | test/units/TEST-69-SHUTDOWN.py | 11 | |
| LOW | src/ukify/ukify.py | 163 | |
| LOW | src/ukify/ukify.py | 674 | |
| LOW | src/ukify/ukify.py | 728 | |
| LOW | src/ukify/ukify.py | 764 | |
| LOW | src/ukify/ukify.py | 939 | |
| LOW | src/ukify/ukify.py | 1133 | |
| LOW | src/ukify/ukify.py | 1212 | |
| LOW | src/ukify/ukify.py | 1319 | |
| LOW | src/ukify/ukify.py | 2244 | |
| LOW | src/ukify/ukify.py | 2300 | |
| LOW | src/ukify/ukify.py | 2363 | |
| LOW | src/ukify/ukify.py | 2547 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/find-unused-library-symbols.py | 104 | def verify_executable_links_library(executable_path, library_name): |
| LOW | tools/find-unused-library-symbols.py | 129 | def get_library_internal_references(library_path, exported_symbols): |
| LOW | tools/elf2efi.py | 381 | def apply_elf_relative_relocation( |
| LOW | tools/check-version-history.py | 17 | def find_undocumented_functions(pages, ignorelist): |
| LOW | tools/check-version-history.py | 57 | def find_undocumented_commands(pages, ignorelist): |
| LOW | test/test-systemd-tmpfiles.py | 231 | def test_conditionalized_execute_bit(): |
| LOW | test/networkd-test.py | 321 | def test_bridge_port_priority(self): |
| LOW | test/networkd-test.py | 336 | def test_bridge_port_priority_set_zero(self): |
| LOW | test/networkd-test.py | 352 | def test_bridge_port_property(self): |
| LOW | test/networkd-test.py | 644 | def test_route_only_dns_all_domains(self): |
| LOW | test/networkd-test.py | 767 | def test_resolved_domain_restricted_dns(self): |
| LOW | test/networkd-test.py | 983 | def test_transient_hostname_with_static(self): |
| LOW | test/networkd-test.py | 1358 | def test_unmanaged_setting_coldplug(self): |
| LOW | test/networkd-test.py | 1372 | def test_catchall_config_coldplug(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 342 | def copy_networkd_conf_dropin(*dropins): |
| LOW | test/test-network/systemd-networkd-tests.py | 349 | def remove_networkd_conf_dropin(*dropins): |
| LOW | test/test-network/systemd-networkd-tests.py | 355 | def clear_networkd_conf_dropins(): |
| LOW | test/test-network/systemd-networkd-tests.py | 248 | def networkd_has_sysctl_monitor_bpf(): |
| LOW | test/test-network/systemd-networkd-tests.py | 378 | def clear_networkd_state_files(): |
| LOW | test/test-network/systemd-networkd-tests.py | 695 | def save_routing_policy_rules(): |
| LOW | test/test-network/systemd-networkd-tests.py | 709 | def flush_routing_policy_rules(): |
| LOW | test/test-network/systemd-networkd-tests.py | 796 | def read_ip_neigh_sysctl_attr(link, attribute, ipv): |
| LOW | test/test-network/systemd-networkd-tests.py | 1928 | def test_wait_online_dns_global(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 1944 | def test_wait_online_dns_expect_timeout(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 1960 | def test_wait_online_dns_expect_timeout_global(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 1989 | def test_dropin_and_name_conflict(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 3585 | def test_tunnel_independent_loopback(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4494 | def test_configure_without_carrier(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4518 | def test_configure_without_carrier_yes_ignore_carrier_loss_no(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4612 | def _test_routing_policy_rule(self, manage_foreign_routes): |
| LOW | test/test-network/systemd-networkd-tests.py | 4656 | def test_routing_policy_rule_restart_and_reconfigure(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4685 | def test_routing_policy_rule_reconfigure(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4745 | def test_routing_policy_rule_manual(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4785 | def test_routing_policy_rule_port_range(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4799 | def test_routing_policy_rule_invert(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4822 | def test_routing_policy_rule_uidrange(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 4947 | def _check_unreachable_routes_removed(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5259 | def test_gateway_clear_routes(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5291 | def test_route_preferred_source_with_existing_address(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5468 | def test_link_local_addressing(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5739 | def _test_activation_policy_required_for_online(self, policy, required): |
| LOW | test/test-network/systemd-networkd-tests.py | 5777 | def test_activation_policy_required_for_online(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5801 | def test_keep_configuration_yes(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5819 | def test_keep_configuration_static(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5839 | def check_keep_configuration_on_restart(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5859 | def test_keep_configuration_on_restart(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 5933 | def test_keep_untracked_addresses(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 7128 | def test_bridge_configure_without_carrier(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 7184 | def test_bridge_ignore_carrier_loss(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 7206 | def test_bridge_ignore_carrier_loss_frequent_loss_and_gain(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 7994 | def _test_ndisc_vs_static_route(self, manage_foreign_nexthops): |
| LOW | test/test-network/systemd-networkd-tests.py | 8049 | def test_ndisc_vs_static_route(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8098 | def test_invalid_captive_portal(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8204 | def test_dhcp_server_persist_leases_no(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8220 | def test_dhcp_server_persist_leases_runtime(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8236 | def test_dhcp_server_null_server_address(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8285 | def test_dhcp_server_with_uplink(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8303 | def test_emit_router_timezone(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8318 | def test_dhcp_server_static_lease_mac_by_network(self): |
| LOW | test/test-network/systemd-networkd-tests.py | 8333 | def test_dhcp_server_static_lease_mac_by_global(self): |
| 22 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/test-udev.py | 0 | subsystems=="scsi", attrs{vendor}=="ata", symlink+="boot_disk%n" kernel=="ttyacm0", symlink+="modem" |
| HIGH | test/test-udev.py | 0 | subsystems=="scsi", attrs{vendor}=="ata", symlink+="boot_disk%n" kernel=="ttyacm0", symlink+="modem" |
| HIGH | test/test-udev.py | 0 | subsystems=="scsi", attrs{vendor}=="ata", symlink+="boot_disk%n" kernel=="ttyacm0", symlink+="modem" |
| HIGH | test/networkd-test.py | 0 | \ [netdev] name=dummy0 kind=dummy macaddress=12:34:56:78:9a:bc |
| HIGH | test/networkd-test.py | 0 | \ [netdev] name=dummy0 kind=dummy macaddress=12:34:56:78:9a:bc |
| HIGH | test/networkd-test.py | 0 | \ [netdev] name=dummy0 kind=dummy macaddress=12:34:56:78:9a:bc |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/units/TEST-07-PID1.transient-unit-container.sh | 7 | # ----------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-07-PID1.transient-unit-container.sh | 19 | # ----------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 49 | # -------------------------------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 51 | # -------------------------------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 82 | # -------------------------------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 84 | # -------------------------------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 105 | # -------------------------------------------------------------------------------------------------- |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 107 | # -------------------------------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/sync-docs.py | 33 | items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>"); |
| HIGH | tools/sync-docs.py | 35 | items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>"); |
| HIGH | tools/sync-docs.py | 37 | items.push( "<option value='" + version + "'>" + "systemd " + version + latest + "</option>"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | man/updatectl.xml | 185 | <para>Note that these examples are just here for demonstration purposes, and the output of these commands |
| MEDIUM | man/systemd-stub.xml | 333 | <para>Here's a simple example for a multi-profile UKI's sections, inspired by the setup suggested above:</para> |
| MEDIUM | man/systemd-resolved.service.xml | 503 | interface <literal>lo</literal>). This is the local DNS stub, as discussed above. Both UDP and TCP are |
| MEDIUM | man/coredumpctl.xml | 118 | <para>It's worth noting that different restrictions apply to |
| LOW | test/units/TEST-07-PID1.protect-control-groups.sh | 122 | # violate the no inner processes rule, we make sure to enable a cgroup controller so that |
| LOW | test/units/TEST-73-LOCALE.sh | 67 | # start with a known default environment and make sure to also give a |
| LOW | test/units/TEST-53-TIMER.RandomizedDelaySec-reload.sh | 24 | # Let's make sure to return the date & time back to the original state once we're done with our time |
| LOW | src/ukify/ukify.py | 1023 | # unaligned, so we make sure to explicitly pad the pointer to new sections to an aligned offset. |
| LOW | src/shared/options.h | 246 | /* Iterate over options. Don't forget to handle errors (negative c)! */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/update-man-rules.py | 44 | except Exception: |
| MEDIUM | tools/find-unused-library-symbols.py | 45 | print(f'Error: Failed to run nm on {library_path}: {e}', file=sys.stderr) |
| MEDIUM | tools/find-unused-library-symbols.py | 48 | print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr) |
| MEDIUM | tools/find-unused-library-symbols.py | 88 | print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr) |
| MEDIUM | tools/find-unused-library-symbols.py | 245 | print(f'Error: Library not found: {library_path}', file=sys.stderr) |
| MEDIUM | tools/find-unused-library-symbols.py | 258 | print('Error: No valid executables provided', file=sys.stderr) |
| LOW | tools/make-directive-index.py | 170 | except Exception as e: |
| LOW | test/create-sys-script.py | 152 | except Exception: |
| LOW | test/test-shutdown.py | 106 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/networkd-test.py | 138 | """Provide a set of utility functions to facilitate networkd tests. |
| LOW | test/units/TEST-74-AUX-UTILS.ssh.sh | 63 | # ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all that are aware of d |
| MEDIUM | test/units/TEST-74-AUX-UTILS.run.sh | 306 | # Validate that --empower gives all capabilities to a non-root user. |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 468 | # (and not curl) this test should be quite good even if not comprehensive. This |
| LOW | test/units/TEST-46-HOMED.sh | 661 | # ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all that |
| MEDIUM | test/units/TEST-74-AUX-UTILS.machine-tags.sh | 32 | # Read the TAGS= field out of /etc/machine-info (robust against the file being |
| LOW | src/ukify/test/test_ukify.py | 825 | # So let's just call it with a dummy output argument. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/include/uapi/linux/netlink.h | 67 | #define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/test/test-terminal-util.c | 23 | #define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \ |
| LOW | src/test/test-terminal-util.c | 23 | #define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \ |
| LOW | src/test/test-ellipsize.c | 115 | test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt u |
| LOW | src/test/test-ellipsize.c | 115 | test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt u |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/libsystemd/sd-device/sd-device.c | 477 | * Hence, if we already know a device, then we need to check if it is equivalent to the newly found one. */ |
| LOW | src/network/networkd-sysctl.c | 571 | * reset to the link MTU. Hence, we need to check if it is already reset, and wait for a while if not. */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/ukify/test/test_ukify.py | 477 |