]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-path: add new type SD_PATH_SEARCH_SYSCTL (#38680)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Nov 2025 23:54:09 +0000 (08:54 +0900)
committerGitHub <noreply@github.com>
Tue, 11 Nov 2025 23:54:09 +0000 (08:54 +0900)
commita1cb4fae86adef003ed8a90e460a7611b568f9a2
tree6deabad7a28d240f566b348a46e63e5749f4f22a
parent31b4dea5f0d2d8c93017a95023b82b02e0da4ada
parentf3797845501cfc744abcab6a00d21daab0c2d2a5
sd-path: add new type SD_PATH_SEARCH_SYSCTL (#38680)

Aim of this patches set, is to add a new type SD_PATH_SEARCH_SYSCTL for
sd_path_lookup() and sd_path_lookup_strv(). This new type is used to get the
directories list used by systemd-sysctl:

-  /etc/sysctl.d/
-  /run/sysctl.d/
-  /usr/local/lib/sysctl.d/
-  /usr/lib/sysctl.d/

This implements the change in libsystemd, systemd-path, and systemd-sysctl.