As previously announced, execute order 66: https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html The meson options split-usr, rootlibdir and rootprefix become no-ops that print a warning if they are set to anything other than the default values. We can remove them in a future release.
23 lines
1000 B
C
23 lines
1000 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "constants.h"
|
|
#include "group-record.h"
|
|
#include "user-record.h"
|
|
#include "userdb.h"
|
|
|
|
/* This could be put together with CONF_PATHS_NULSTR, with the exception of the /run/host/ part in the
|
|
* middle, which we use here, but not otherwise. */
|
|
#define USERDB_DROPIN_DIR_NULSTR(n) \
|
|
"/etc/" n "\0" \
|
|
"/run/" n "\0" \
|
|
"/run/host/" n "\0" \
|
|
"/usr/local/lib/" n "\0" \
|
|
"/usr/lib/" n "\0"
|
|
|
|
int dropin_user_record_by_name(const char *name, const char *path, UserDBFlags flags, UserRecord **ret);
|
|
int dropin_user_record_by_uid(uid_t uid, const char *path, UserDBFlags flags, UserRecord **ret);
|
|
|
|
int dropin_group_record_by_name(const char *name, const char *path, UserDBFlags flags, GroupRecord **ret);
|
|
int dropin_group_record_by_gid(gid_t gid, const char *path, UserDBFlags flags, GroupRecord **ret);
|