chiark / gitweb /
Introduce CONF_DIRS_NULSTR helper to define standard conf dirs
authorJosh Triplett <josh@joshtriplett.org>
Wed, 29 Oct 2014 12:02:56 +0000 (05:02 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Nov 2014 00:11:37 +0000 (19:11 -0500)
commit7f0a55d4325f7df91f91b3b818f61f97d78df14a
treef88b96f4a0002b49749d78622fd174d54062e9f8
parent3d82301321afdcc4f2f8786883bd15b1a64c6e83
Introduce CONF_DIRS_NULSTR helper to define standard conf dirs

Several different systemd tools define a nulstr containing a standard
series of configuration file directories, in /etc, /run, /usr/local/lib,
/usr/lib, and (#ifdef HAVE_SPLIT_USR) /lib.  Factor that logic out into
a new helper macro, CONF_DIRS_NULSTR.
src/binfmt/binfmt.c
src/modules-load/modules-load.c
src/shared/macro.h
src/sysctl/sysctl.c
src/sysusers/sysusers.c
src/tmpfiles/tmpfiles.c