]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss: move definition of NSS_ENTRYPOINT_BEGIN to nss-util.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 Aug 2025 06:06:53 +0000 (15:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 16 Aug 2025 15:14:42 +0000 (00:14 +0900)
commitea70753479fbfe19b4ae5de9db846ab9edd290a8
treeea23fe6e427dbed9c85f628af597bb285f898844
parented9c82095adb25af91d2f00d923bf00a25b35567
nss: move definition of NSS_ENTRYPOINT_BEGIN to nss-util.h

Then, also make nss modules parse $SYSTEMD_ASSERT_RETURN_IS_CRITICAL
environment variable.

This also moves nss-util.c and nss-util.h from src/basic/ to src/shared/,
as they are not used by libsystemd.
src/nss-myhostname/nss-myhostname.c
src/nss-mymachines/nss-mymachines.c
src/nss-resolve/nss-resolve.c
src/nss-systemd/nss-systemd.c
src/shared/meson.build
src/shared/nss-util.c [new file with mode: 0644]
src/shared/nss-util.h [moved from src/basic/nss-util.h with 95% similarity]