The systemd System and Service Manager
This report summarizes scanner evidence for systemd/systemd, a C project with 16,963 GitHub stars. SynthScan examined 1,510,918 lines of code across 4710 source files, recording 2374 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2255 finding(s).
Are imports declared and package/API names verified? 30 finding(s).
Are wrappers, guards, and repeated structures necessary? 195 finding(s).
Which changes need focused human review? 2374 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2374 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ycm_extra_conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .ycm_extra_conf.py | 21 | # In jurisdictions that recognize copyright laws, the author or authors | COMMENT |
| LOW | .ycm_extra_conf.py | 121 | flags = [ | COMMENT |
| LOW | man/libsystemd.xml | 21 | <refpurpose>Functions for implementing services and interacting with systemd</refpurpose> | COMMENT |
| LOW | man/yubikey-crypttab.sh | 1 | # SPDX-License-Identifier: MIT-0 | COMMENT |
| LOW | man/yubikey-crypttab.sh | 21 | sudo systemd-cryptenroll --pkcs11-token-uri=auto /dev/sdXn | COMMENT |
| LOW | man/org.freedesktop.resolve1.xml | 481 | <programlisting>/* Input+Output: Protocol/scope */ | COMMENT |
| LOW | man/fido2-crypttab.sh | 1 | # SPDX-License-Identifier: MIT-0 | COMMENT |
| LOW | man/systemd.network.xml | 6801 | # then uncomment the lines below to make the DHCPv6 client forcibly started in the | COMMENT |
| LOW | man/notify-selfcontained-example.c | 1 | /* SPDX-License-Identifier: MIT-0 */ | COMMENT |
| LOW | man/sd-bus-errors.xml | 61 | <funcsynopsisinfo>#include <systemd/sd-bus.h></funcsynopsisinfo> | COMMENT |
| LOW | man/sd-bus-errors.xml | 81 | #define SD_BUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound" | COMMENT |
| LOW | hwdb.d/parse_hwdb.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | hwdb.d/acpi-update.py | 21 | # This file is part of systemd. | COMMENT |
| 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 | COMMENT |
| LOW | coccinelle/parsing_hacks.h | 61 | /* Coccinelle doesn't know these keywords, so just drop them, since they are not important for any of our rules. */ | COMMENT |
| LOW | coccinelle/parsing_hacks.h | 81 | #define _cleanup_pages_ | COMMENT |
| LOW | coccinelle/parsing_hacks.h | 101 | #define _noclone_ | COMMENT |
| LOW | coccinelle/parsing_hacks.h | 141 | * can usually infer this information automagically, but in these specific cases it needs a bit of help. */ | COMMENT |
| LOW | coccinelle/parsing_hacks.h | 181 | COMMENT | |
| LOW | coccinelle/parsing_hacks.h | 201 | #define OPTION_LONG_FLAGS(fl, lc, mv, h) _OPTION_COCCI_ | COMMENT |
| LOW | tools/elf2efi.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/catalog-report.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/test-udev.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/sd-script.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/networkd-test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/test-network/systemd-networkd-tests.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/test-network/systemd-networkd-tests.py | 10761 | # dummy98: 0x00 | COMMENT |
| LOW | test/integration-tests/integration-test-wrapper.py | 141 | COMMENT | |
| LOW | …ATE/TEST-72-SYSUPDATE.units/fake-sysupdate-provider.py | 1 | #!/usr/bin/python3 | COMMENT |
| LOW | test/units/TEST-07-PID1.alias-corruption.sh | 101 | [Service] | COMMENT |
| LOW | test/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-91-LIVEUPDATE.sh | 201 | # being preserved across the transitionary failed states that precede | COMMENT |
| LOW | …t/units/TEST-53-TIMER.RandomizedDelaySec-persistent.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-87-AUX-UTILS-VM.replace-storage.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 1541 | fi | COMMENT |
| LOW | test/units/TEST-22-TMPFILES.12.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-92-TPM2-SWTPM.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-07-PID1.transaction-collect-garbage.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 221 | # Test 5: --path=anonymous filter | COMMENT |
| LOW | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 241 | (! grep "io.systemd.Hostname.Describe" "$MONITOR_OUT" >/dev/null) | COMMENT |
| LOW | test/units/TEST-17-UDEV.issue-43442.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-07-PID1.delegate-namespaces.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-70-TPM2.report-sign.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-70-TPM2.report-sign.sh | 21 | # TPMS_ATTEST that was signed, and verify the signature using the embedded Python | COMMENT |
| LOW | test/units/TEST-63-PATH.sh | 81 | # Test for race condition fixed by https://github.com/systemd/systemd/pull/30768 | COMMENT |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 141 | # { | COMMENT |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 261 | # must succeed -- without the second scope the testcase asserts nothing. | COMMENT |
| LOW | test/units/TEST-82-SOFTREBOOT.sh | 341 | # being restarted and the "unique" bus IDs not being unique across restarts | COMMENT |
| LOW | …its/TEST-19-CGROUP.abort-on-cgroup-creation-failure.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-07-PID1.reloading-signal.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-65-ANALYZE.sh | 221 | # the /etc/systemd/networkd.conf.d/ directory. The latter is generally | COMMENT |
| LOW | test/units/TEST-87-AUX-UTILS-VM.bind-volume.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-70-TPM2.dissect.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-96-PTYBROKER.input.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1481 | helper_check_device_symlinks | COMMENT |
| LOW | test/units/TEST-07-PID1.transient-unit-container.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/units/TEST-07-PID1.transient-unit-container.sh | 41 | readonly CONTAINER_ROOT_FS HOST_OUT_DIR | COMMENT |
| LOW | test/units/TEST-07-PID1.exec-context.sh | 1 | #!/usr/bin/env bash | COMMENT |
| 1866 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ruff.toml | 4 | # This file is imported from an external project. | COMMENT |
| MEDIUM | man/yubikey-crypttab.sh | 10 | # Create a self-signed certificate from this public key, and store it on the | COMMENT |
| MEDIUM | man/homectl.xml | 1644 | # Create a self-signed certificate from this public key, and store it on the device. | COMMENT |
| MEDIUM | hwdb.d/parse_hwdb.py | 6 | # This file is distributed under the MIT license, see below. | COMMENT |
| MEDIUM | hwdb.d/ids_parser.py | 159 | # This file is part of systemd. | COMMENT |
| MEDIUM | hwdb.d/acpi-update.py | 21 | # This file is part of systemd. | COMMENT |
| MEDIUM | coccinelle/run-coccinelle.sh | 23 | # Create an array from files tracked by git... | COMMENT |
| MEDIUM | tools/update-hwdb-autosuspend.sh | 11 | # This file is part of systemd. | COMMENT |
| MEDIUM | tools/catalog-report.py | 4 | # This file is distributed under the MIT license, see below. | COMMENT |
| MEDIUM | test/test-udev.py | 160 | # Create a device list with all block devices under /sys | COMMENT |
| MEDIUM | test/networkd-test.py | 1324 | # Define the veth+peer pairs to be created. | STRING |
| MEDIUM | test/networkd-test.py | 1331 | # Define the contents of .network files to be read in order. | STRING |
| MEDIUM | test/units/TEST-45-TIMEDATE.sh | 355 | # Create a dummy interface managed by networkd, so we can configure link NTP servers | COMMENT |
| MEDIUM | …s/TEST-74-AUX-UTILS.varlinkctl-unit-start-transient.sh | 1001 | # Creating an already active unit must fail. | COMMENT |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh | 98 | # Create a minimal root filesystem directory, then bake it into a raw ext4 image. | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.main-PID-change.sh | 68 | # Create a number of children, and make one the main one | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.main-PID-change.sh | 98 | # Create a number of children, and make one the main one | COMMENT |
| MEDIUM | test/units/TEST-54-CREDS.sh | 72 | # Create a dummy "full" disk (similar to /dev/full) to check out-of-space | COMMENT |
| MEDIUM | test/units/TEST-91-LIVEUPDATE.sh | 65 | # Create a unit with LUOSession= to test server-managed session lifecycle | COMMENT |
| MEDIUM | test/units/TEST-13-NSPAWN.machined.sh | 33 | # Create a couple of containers we can refer to in tests | COMMENT |
| 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 | COMMENT |
| MEDIUM | test/units/TEST-13-NSPAWN.nspawn.sh | 78 | # Create a simple image from the just created container template | COMMENT |
| MEDIUM | test/units/TEST-22-TMPFILES.12.sh | 39 | # Create a bunch of other files. | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.report.sh | 176 | # Create a veth pair with the peer in a scratch network namespace, push some traffic through it, and check | COMMENT |
| MEDIUM | test/units/TEST-81-GENERATORS.getty-generator.sh | 155 | # Create a bunch of dummy consoles | COMMENT |
| MEDIUM⚡ | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 130 | # Create a fresh varlink entrypoint socket via socket activation, then | COMMENT |
| MEDIUM | test/units/TEST-13-NSPAWN.nss-mymachines.sh | 28 | # Create a bunch of containers that: | COMMENT |
| MEDIUM | test/units/TEST-13-NSPAWN.nss-mymachines.sh | 75 | # Create the respective .nspawn config files | COMMENT |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.pstore.sh | 179 | # Create a name reference to one of the $DUMMY_DMESG_X variables | COMMENT |
| MEDIUM | test/units/TEST-87-AUX-UTILS-VM.pstore.sh | 224 | # Create a name reference to one of the $DUMMY_DMESG_X variables | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl.sh | 124 | # Create a fake "ssh" binary that validates everything works as expected if invoked for the "ssh-unix:" Varlink transpor | COMMENT |
| MEDIUM | test/units/TEST-19-CGROUP.delegate.sh | 107 | # Create a subcgroup, and make it owned by some unrelated user | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.path.sh | 22 | # Create a custom user-dirs.dir file to exercise the xdg-user-dirs part | COMMENT |
| MEDIUM | test/units/TEST-65-ANALYZE.sh | 211 | # This file is part of systemd. | COMMENT |
| MEDIUM | test/units/TEST-70-TPM2.measure.sh | 192 | # Create a signature for a new phase with the enrolled policyref | COMMENT |
| MEDIUM | test/units/TEST-23-UNIT-FILE.type-exec.sh | 8 | # Create a binary for which execve() will fail | COMMENT |
| MEDIUM | test/units/TEST-26-SYSTEMCTL.sh | 19 | # Create a simple unit file for testing | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.delta.sh | 12 | # Create a couple of supporting units with overrides | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.firstboot.sh | 73 | # Create a minimal root so we don't modify the testbed | COMMENT |
| MEDIUM | test/units/TEST-75-RESOLVED.sh | 157 | # Create a trust anchor for resolved with our root zone | COMMENT |
| MEDIUM | test/units/TEST-75-RESOLVED.sh | 159 | # Create a bind-compatible trust anchor (for delv) | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1018 | # Create a key-file | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1042 | # Create a multi-device btrfs filesystem on the LUKS devices | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1235 | # Create a cursor file to skip messages generated by udevd in initrd, as it | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1315 | # Create a simple RAID 1 with an ext4 filesystem | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1346 | # Create a simple RAID 5 with an ext4 filesystem | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1387 | # Create a simple RAID 10 with an ext4 filesystem | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1456 | # Create a RAID 10 with LVM + ext4 | COMMENT |
| MEDIUM | test/units/TEST-64-UDEV-STORAGE.sh | 1459 | # Create an LVM on the MD | COMMENT |
| 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 | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-proxyd.sh | 32 | # Create a socket unit for the proxy | COMMENT |
| 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 | COMMENT |
| MEDIUM | test/units/TEST-13-NSPAWN.nspawn-oci.sh | 357 | # Create a simple "entrypoint" script that validates that the container | COMMENT |
| 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 | COMMENT |
| MEDIUM | test/units/util.sh | 425 | # Create a data-only extension image (no unit files) to test that | COMMENT |
| MEDIUM⚡ | test/units/TEST-72-SYSUPDATE.sh | 121 | # Create a pair of random partition payloads, and compress one. | COMMENT |
| MEDIUM⚡ | test/units/TEST-72-SYSUPDATE.sh | 129 | # Create a file payload and a suffixed version | COMMENT |
| MEDIUM⚡ | test/units/TEST-72-SYSUPDATE.sh | 133 | # Create a random "UKI" payload | COMMENT |
| MEDIUM⚡ | test/units/TEST-72-SYSUPDATE.sh | 136 | # Create a random extra payload | COMMENT |
| MEDIUM⚡ | test/units/TEST-72-SYSUPDATE.sh | 139 | # Create a random optional payload | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/units/TEST-74-AUX-UTILS.report.sh | 683 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.report.sh | 731 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.report.sh | 853 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.report.sh | 919 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 127 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 133 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 111 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 116 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 164 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 171 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 197 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 202 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 220 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 227 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 243 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 249 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 271 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 276 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 292 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 297 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 312 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 318 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 333 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 338 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 356 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh | 363 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-xattr.sh | 36 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-xattr.sh | 38 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-xattr.sh | 73 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.socket-xattr.sh | 75 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 159 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 231 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 233 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 290 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 296 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 334 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 338 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 380 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.multi-units-transaction.sh | 385 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.transient-unit-container.sh | 7 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-07-PID1.transient-unit-container.sh | 19 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2116 | # ============================================================================ | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2131 | # ============================================================================ | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2251 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2265 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2329 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2331 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2353 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2355 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2390 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2392 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2510 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 2512 | # --------------------------------------------------------------------------- | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ycm_extra_conf.py | 137 | # Set this to the absolute path to the folder (NOT the file!) containing the | COMMENT |
| LOW | tools/find-unused-library-symbols.py | 121 | # Check if library_name appears in the ldd output | COMMENT |
| LOW | tools/find-unused-library-symbols.py | 266 | # Print results | COMMENT |
| LOW | test/test-network-generator-conversion.sh | 219 | # Check if the generated .network files match the expected stored ones | COMMENT |
| LOW | test/test-network/systemd-networkd-tests.py | 1144 | # Check if networkd exits cleanly. | COMMENT |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6020 | # Check if a link went down | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6022 | # Check if an address was removed | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6025 | # Check if the default route was removed | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6254 | # Check if the route which needs nexthop 21 are forgotten. | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6264 | # Check if the reason is cleared once the interface is configured. | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 6271 | # Check if the requested route actually configured. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5625 | # Check if the IPv6LL address is removed. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5634 | # Check if a new IPv6LL address is assigned. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7767 | # Check if the non-default routes are unchanged, and others are actually dropped. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7778 | # Check if sd-radv refuses RS from the same interface. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8299 | # Check if nexthop is removed. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8519 | # Check if the same addresses are used even if the service is restarted. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 9422 | # Check if DHCPv4 address and routes are removed on stop. For issue #34837. | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 9689 | # Check if the client send RELEASE message of the previous lease | STRING |
| LOW | test/units/TEST-17-UDEV.diskseq.sh | 44 | # Check if no lock file exists, if the lock directory exists. | COMMENT |
| LOW | test/units/TEST-17-UDEV.diskseq.sh | 64 | # Check if the lock directory exists, but no lock file exists in it. | COMMENT |
| LOW | test/units/TEST-54-CREDS.sh | 378 | # Check if credentials with invalid names are not imported. | COMMENT |
| LOW | test/units/TEST-54-CREDS.sh | 386 | # Check if credentials with invalid names are not imported (with renaming). | COMMENT |
| LOW | …its/TEST-17-UDEV.device-unit-state-transition-netif.sh | 342 | # Check if the daemon-reload/reexec finished while the event was being processed. | COMMENT |
| LOW | test/units/TEST-17-UDEV.watch-inotify.sh | 33 | # Check if the inotify watch fd is received from fd store. | COMMENT |
| LOW | test/units/TEST-17-UDEV.watch-inotify.sh | 36 | # Check if there is no broken symlink chain. | COMMENT |
| LOW | test/units/TEST-13-NSPAWN.machined.sh | 268 | # Check if machinectl can properly work with symlinks to raw images | COMMENT |
| LOW | test/units/TEST-13-NSPAWN.nspawn.sh | 99 | # Check if the $root doesn't get re-initialized once it's not empty | COMMENT |
| LOW | test/units/TEST-22-TMPFILES.12.sh | 197 | # Check if sub-directories are removed regardless | COMMENT |
| LOW | test/units/TEST-17-UDEV.database.sh | 10 | # Check if the database file is created. | COMMENT |
| LOW | test/units/TEST-17-UDEV.sanity-check.sh | 60 | # Check if processing queued events has been stopped. | COMMENT |
| LOW | test/units/TEST-17-UDEV.sanity-check.sh | 65 | # Check if processing queued events has been restarted. | COMMENT |
| LOW | test/units/TEST-74-AUX-UTILS.machine-id-setup.sh | 93 | # Check if we correctly processed the invalid machine ID we set up in the respective | COMMENT |
| LOW | test/units/TEST-07-PID1.mask.sh | 29 | # Check if ExecStop= and friends in a masked unit are not executed even defined | COMMENT |
| LOW | test/units/TEST-07-PID1.mask.sh | 52 | # Check if mask --now works and ExecStop= are not executed. | COMMENT |
| LOW | test/units/TEST-07-PID1.mask.sh | 69 | # Check if mask --now for already masked unit stops the service. | COMMENT |
| LOW | test/units/TEST-07-PID1.mask.sh | 86 | # Check if already masked unit can be stopped. | COMMENT |
| LOW | …st/units/TEST-81-GENERATORS.environment-d-generator.sh | 75 | # Check if the generator is correctly called in a user session | COMMENT |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 71 | # Check if the services we got are the correct ones | COMMENT |
| LOW | test/units/TEST-89-RESOLVED-MDNS.sh | 94 | # Check if the services we got are the correct ones | COMMENT |
| LOW | test/units/TEST-70-TPM2.measure.sh | 113 | # Check if SHA1 signatures are supported | COMMENT |
| LOW | test/units/TEST-70-TPM2.measure.sh | 147 | # Check if we can activate that (without the token module stuff) | COMMENT |
| LOW | test/units/TEST-70-TPM2.measure.sh | 151 | # Check if we can activate that (and a second time with the token module stuff enabled) | COMMENT |
| LOW | test/units/TEST-26-SYSTEMCTL.sh | 281 | # Check if the directories from *Directory= directives exist | COMMENT |
| LOW | test/units/TEST-23-UNIT-FILE.ExtraFileDescriptors.sh | 21 | # Open files and assign FD to variables | COMMENT |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1106 | # Check if the /dev/loop/* symlinks really reference the right device | COMMENT |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1126 | # Check if the /dev/disk/by-loop-ref/$name symlink really references the right device | COMMENT |
| LOW | test/units/TEST-50-DISSECT.dissect.sh | 1136 | # Check if the /dev/disk/by-loop-ref/$name symlink does not exist | COMMENT |
| LOW | test/units/post.sh | 11 | # Check if sd-executor doesn't complain about not being able to (de)serialize stuff | COMMENT |
| LOW | test/units/TEST-75-RESOLVED.sh | 1266 | # Check if resolved exits cleanly. | COMMENT |
| LOW | test/units/TEST-04-JOURNAL.journal-gatewayd.sh | 97 | # Check if the specified cursor refers to an existing entry and return just that entry | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 8 | # Check if all symlinks under /dev/disk/ are valid | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 17 | # Check if all given paths are valid | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 34 | # Check if the symlink points to the correct device in /dev | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 685 | # Check if unnecessary devlinks are removed. | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1040 | # Check if we have all necessary DM devices | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1284 | # Check if the respective "hashed" units exist and are active (plugged) | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1429 | # Check if all expected symlinks were removed after the cleanup | COMMENT |
| LOW | test/units/TEST-64-UDEV-STORAGE.sh | 1504 | # Check if all expected symlinks were removed after the cleanup | COMMENT |
| LOW | …/TEST-17-UDEV.device-unit-state-transition-blockdev.sh | 626 | # Check if the daemon-reload/reexec finished while the event was being processed. | COMMENT |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/find-unused-library-symbols.py | 104 | def verify_executable_links_library(executable_path, library_name): | CODE |
| LOW | tools/find-unused-library-symbols.py | 129 | def get_library_internal_references(library_path, exported_symbols): | CODE |
| LOW | tools/elf2efi.py | 381 | def apply_elf_relative_relocation( | CODE |
| LOW | tools/check-version-history.py | 17 | def find_undocumented_functions(pages, ignorelist): | CODE |
| LOW | tools/check-version-history.py | 57 | def find_undocumented_commands(pages, ignorelist): | CODE |
| LOW | test/test-systemd-tmpfiles.py | 238 | def test_conditionalized_execute_bit(): | CODE |
| LOW | test/networkd-test.py | 321 | def test_bridge_port_priority(self): | CODE |
| LOW | test/networkd-test.py | 336 | def test_bridge_port_priority_set_zero(self): | CODE |
| LOW | test/networkd-test.py | 352 | def test_bridge_port_property(self): | CODE |
| LOW | test/networkd-test.py | 644 | def test_route_only_dns_all_domains(self): | STRING |
| LOW | test/networkd-test.py | 767 | def test_resolved_domain_restricted_dns(self): | STRING |
| LOW | test/networkd-test.py | 983 | def test_transient_hostname_with_static(self): | STRING |
| LOW | test/networkd-test.py | 1358 | def test_unmanaged_setting_coldplug(self): | STRING |
| LOW | test/networkd-test.py | 1372 | def test_catchall_config_coldplug(self): | STRING |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 342 | def copy_networkd_conf_dropin(*dropins): | CODE |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 349 | def remove_networkd_conf_dropin(*dropins): | CODE |
| LOW⚡ | test/test-network/systemd-networkd-tests.py | 355 | def clear_networkd_conf_dropins(): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 248 | def networkd_has_sysctl_monitor_bpf(): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 378 | def clear_networkd_state_files(): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 695 | def save_routing_policy_rules(): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 709 | def flush_routing_policy_rules(): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 796 | def read_ip_neigh_sysctl_attr(link, attribute, ipv): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 1702 | def test_reload_no_reconfigure(self): | CODE |
| LOW | test/test-network/systemd-networkd-tests.py | 1957 | def test_wait_online_dns_global(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 1973 | def test_wait_online_dns_expect_timeout(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 1989 | def test_wait_online_dns_expect_timeout_global(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 2018 | def test_dropin_and_name_conflict(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 3632 | def test_tunnel_independent_loopback(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4550 | def test_configure_without_carrier(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4574 | def test_configure_without_carrier_yes_ignore_carrier_loss_no(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4668 | def _test_routing_policy_rule(self, manage_foreign_routes): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4712 | def test_routing_policy_rule_restart_and_reconfigure(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4741 | def test_routing_policy_rule_reconfigure(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4801 | def test_routing_policy_rule_manual(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4841 | def test_routing_policy_rule_port_range(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4855 | def test_routing_policy_rule_invert(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 4878 | def test_routing_policy_rule_uidrange(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5003 | def _check_unreachable_routes_removed(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5315 | def test_gateway_clear_routes(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5347 | def test_route_preferred_source_with_existing_address(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5576 | def test_link_local_addressing(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5847 | def _test_activation_policy_required_for_online(self, policy, required): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5885 | def test_activation_policy_required_for_online(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5909 | def test_keep_configuration_yes(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5927 | def test_keep_configuration_static(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5947 | def check_keep_configuration_on_restart(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 5967 | def test_keep_configuration_on_restart(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 6041 | def test_keep_untracked_addresses(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 6775 | def test_bond_fail_over_mac_restart(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7264 | def test_bridge_configure_without_carrier(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7320 | def test_bridge_ignore_carrier_loss(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7342 | def test_bridge_ignore_carrier_loss_frequent_loss_and_gain(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 7914 | def test_ndisc_redirect_limit(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8250 | def _test_ndisc_vs_static_route(self, manage_foreign_nexthops): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8305 | def test_ndisc_vs_static_route(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8354 | def test_invalid_captive_portal(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8460 | def test_dhcp_server_persist_leases_no(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8476 | def test_dhcp_server_persist_leases_runtime(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8492 | def test_dhcp_server_null_server_address(self): | STRING |
| LOW | test/test-network/systemd-networkd-tests.py | 8541 | def test_dhcp_server_with_uplink(self): | STRING |
| 46 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ycm_extra_conf.py | 88 | CODE | |
| LOW | .ycm_extra_conf.py | 197 | CODE | |
| LOW | hwdb.d/parse_hwdb.py | 405 | CODE | |
| LOW | hwdb.d/ids_parser.py | 199 | CODE | |
| LOW | hwdb.d/ids_parser.py | 236 | CODE | |
| LOW | hwdb.d/ids_parser.py | 274 | CODE | |
| LOW | hwdb.d/ids_parser.py | 360 | CODE | |
| LOW | tools/find-unused-library-symbols.py | 28 | CODE | |
| LOW | tools/make-directive-index.py | 17 | CODE | |
| LOW | tools/update-dbus-docs.py | 113 | CODE | |
| LOW | tools/update-dbus-docs.py | 143 | CODE | |
| LOW | tools/update-dbus-docs.py | 213 | CODE | |
| LOW | tools/gdb-sd_dump_hashmaps.py | 14 | CODE | |
| LOW | tools/check-version-history.py | 17 | CODE | |
| LOW | tools/check-version-history.py | 36 | CODE | |
| LOW | tools/analyze-dump-sort.py | 21 | CODE | |
| LOW | test/create-sys-script.py | 88 | CODE | |
| LOW | test/create-sys-script.py | 134 | CODE | |
| LOW | test/test-dlopen-note.py | 104 | CODE | |
| LOW | test/test-dlopen-note.py | 189 | CODE | |
| LOW | test/networkd-test.py | 471 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 500 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 817 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 1401 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 4230 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 6934 | CODE | |
| LOW | test/test-network/systemd-networkd-tests.py | 7264 | CODE | |
| LOW | test/integration-tests/integration-test-wrapper.py | 128 | CODE | |
| LOW | test/integration-tests/integration-test-wrapper.py | 261 | CODE | |
| LOW | test/integration-tests/integration-test-wrapper.py | 506 | CODE | |
| LOW | …TEST-74-AUX-UTILS/TEST-74-AUX-UTILS.units/fake-imds.py | 49 | CODE | |
| LOW | test/units/TEST-69-SHUTDOWN.py | 11 | CODE | |
| LOW | src/ukify/ukify.py | 177 | CODE | |
| LOW | src/ukify/ukify.py | 702 | CODE | |
| LOW | src/ukify/ukify.py | 778 | CODE | |
| LOW | src/ukify/ukify.py | 848 | CODE | |
| LOW | src/ukify/ukify.py | 1033 | CODE | |
| LOW | src/ukify/ukify.py | 1220 | CODE | |
| LOW | src/ukify/ukify.py | 1299 | CODE | |
| LOW | src/ukify/ukify.py | 1395 | CODE | |
| LOW | src/ukify/ukify.py | 2447 | CODE | |
| LOW | src/ukify/ukify.py | 2503 | CODE | |
| LOW | src/ukify/ukify.py | 2724 | CODE | |
| LOW | src/ukify/ukify.py | 2803 | CODE | |
| LOW | src/ukify/ukify.py | 3004 | CODE | |
| LOW | src/boot/generate-hwids-section.py | 50 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/networkd-test.py | 138 | """Provide a set of utility functions to facilitate networkd tests. | STRING |
| MEDIUM | …s/TEST-74-AUX-UTILS.varlinkctl-unit-start-transient.sh | 419 | # listing interfaces here: the harness runs with --runtime-network=none, and the netns | COMMENT |
| LOW | test/units/TEST-74-AUX-UTILS.ssh.sh | 64 | # 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 | COMMENT |
| MEDIUM | test/units/TEST-74-AUX-UTILS.run.sh | 382 | # Validate that --empower gives all capabilities to a non-root user. | COMMENT |
| MEDIUM | test/units/TEST-94-COCO.sh | 7 | # the harness --coco= flag and the documentation in test/integration-tests/README.md. | COMMENT |
| MEDIUM | test/units/TEST-72-SYSUPDATE.sh | 635 | # (and not curl) this test should be quite good even if not comprehensive. This | COMMENT |
| LOW | test/units/TEST-46-HOMED.sh | 834 | # ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all that | COMMENT |
| MEDIUM | test/units/TEST-46-HOMED.sh | 1251 | # Verify that "homectl deactivate" is robust against transient EBUSY | COMMENT |
| MEDIUM | test/units/test-control.sh | 14 | # matching the skip code used by the integration test harness. | COMMENT |
| 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 | COMMENT |
| MEDIUM | test/units/TEST-94-COCO/lib.sh | 88 | # harness runs the container without network, and the AMD KDS rate-limits hard enough that | COMMENT |
| LOW | src/ukify/test/test_ukify.py | 1077 | # So let's just call it with a dummy output argument. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | man/machine-info.xml | 236 | <para>Example: <literal>_LOCAL_EMERGENCY_CONTACT="user@example.org"</literal>.</para> | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3108 | EncryptAddToken=test-dummy-token | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3125 | cryptsetup luksDump "${loop}p1" | grep "test-dummy-token" >/dev/null | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3131 | assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type']) | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3152 | EncryptAddToken=test-dummy-token:data:${metadata_b64} | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3169 | cryptsetup luksDump "${loop}p1" | grep "test-dummy-token" >/dev/null | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3175 | assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type']) | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3195 | EncryptAddToken=test-dummy-token:file:${imgs}/token-meta.json | CODE |
| LOW | test/units/TEST-58-REPART.sh | 3216 | assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type']) | CODE |
| LOW | src/core/bpf-restrict-fs.c | 89 | uint32_t dummy_value = 1, zero = 0; | CODE |
| LOW | src/core/bpf-restrict-fs.c | 129 | if (sym_bpf_map_update_elem(inner_map_fd, &key, &dummy_value, BPF_ANY) != 0) { | CODE |
| LOW | src/test/test-terminal-util.c | 27 | #define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \ | COMMENT |
| LOW | src/test/test-terminal-util.c | 27 | #define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \ | COMMENT |
| LOW | src/test/test-ellipsize.c | 121 | test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt u | CODE |
| LOW | src/test/test-ellipsize.c | 121 | test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt u | CODE |
| LOW | src/test/test-image-policy.c | 312 | uint8_t dummy_data[4]; | CODE |
| LOW | src/test/test-image-policy.c | 446 | dummy_data[0] = 0xde; dummy_data[1] = 0xad; dummy_data[2] = 0xbe; dummy_data[3] = 0xef; | CODE |
| LOW | src/test/test-image-policy.c | 449 | .root_hash = IOVEC_MAKE(dummy_data, sizeof(dummy_data)), | CODE |
| LOW | src/test/test-image-policy.c | 467 | dummy_data[0] = 0x01; dummy_data[1] = 0x02; dummy_data[2] = 0x03; dummy_data[3] = 0x04; | CODE |
| LOW | src/test/test-image-policy.c | 470 | .root_hash_sig = IOVEC_MAKE(dummy_data, sizeof(dummy_data)), | CODE |
| LOW | src/test/test-image-policy.c | 488 | dummy_data[0] = 0xab; dummy_data[1] = 0xcd; | CODE |
| LOW | src/test/test-image-policy.c | 491 | .root_hash = IOVEC_MAKE(dummy_data, 2), | CODE |
| LOW | src/test/test-image-policy.c | 550 | dummy_data[0] = 0x11; dummy_data[1] = 0x22; | CODE |
| LOW | src/test/test-image-policy.c | 553 | .root_hash = IOVEC_MAKE(dummy_data, 2), | CODE |
| LOW | src/nsresourced/userns-restrict.c | 227 | uint32_t dummy_value = 1; | CODE |
| LOW | src/nsresourced/userns-restrict.c | 246 | r = sym_bpf_map_update_elem(map_fd, &ino, &dummy_value, BPF_ANY); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/sync-docs.py | 33 | items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>"); | CODE |
| HIGH⚡ | tools/sync-docs.py | 35 | items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>"); | CODE |
| HIGH⚡ | tools/sync-docs.py | 37 | items.push( "<option value='" + version + "'>" + "systemd " + version + latest + "</option>"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hwdb.d/parse_hwdb.py | 66 | except ImportError: | CODE |
| HIGH | test/integration-tests/integration-test-wrapper.py | 403 | except OSError: | CODE |
| HIGH | test/integration-tests/integration-test-wrapper.py | 411 | except OSError: | CODE |
| HIGH | src/ukify/ukify.py | 123 | except FileNotFoundError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update-man-rules.py | 44 | except Exception: | CODE |
| MEDIUM | tools/find-unused-library-symbols.py | 45 | print(f'Error: Failed to run nm on {library_path}: {e}', file=sys.stderr) | CODE |
| MEDIUM | tools/find-unused-library-symbols.py | 48 | print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr) | CODE |
| MEDIUM | tools/find-unused-library-symbols.py | 88 | print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr) | CODE |
| MEDIUM | tools/find-unused-library-symbols.py | 245 | print(f'Error: Library not found: {library_path}', file=sys.stderr) | CODE |
| MEDIUM | tools/find-unused-library-symbols.py | 258 | print('Error: No valid executables provided', file=sys.stderr) | CODE |
| LOW | tools/make-directive-index.py | 170 | except Exception as e: | STRING |
| LOW | test/create-sys-script.py | 152 | except Exception: | CODE |
| MEDIUM | test/test-dlopen-note.py | 31 | print("Error: 'elftools' python module not found.", file=sys.stderr) | CODE |
| LOW | test/test-dlopen-note.py | 122 | except Exception as e: | CODE |
| LOW | test/test-dlopen-note.py | 220 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | man/updatectl.xml | 185 | <para>Note that these examples are just here for demonstration purposes, and the output of these commands | CODE |
| MEDIUM | man/systemd-stub.xml | 334 | <para>Here's a simple example for a multi-profile UKI's sections, inspired by the setup suggested above:</para> | CODE |
| 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 | CODE |
| MEDIUM | man/coredumpctl.xml | 126 | <para>It's worth noting that different restrictions apply to | CODE |
| 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 | COMMENT |
| LOW | test/units/TEST-73-LOCALE.sh | 67 | # start with a known default environment and make sure to also give a | COMMENT |
| 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 | COMMENT |
| LOW | src/ukify/ukify.py | 1117 | # unaligned, so we make sure to explicitly pad the pointer to new sections to an aligned offset. | COMMENT |
| LOW | src/shared/options.h | 260 | /* Iterate over options. Don't forget to handle errors (negative c)! */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/include/uapi/linux/netlink.h | 67 | #define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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. */ | COMMENT |
| LOW | src/network/networkd-sysctl.c | 567 | * reset to the link MTU. Hence, we need to check if it is already reset, and wait for a while if not. */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/ukify/test/test_ukify.py | 593 | CODE |