mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-15 05:57:26 +03:00
user-util: Add ETC_PASSWD_LOCK_NAME
This commit is contained in:
parent
ee2975a9d9
commit
8e3eb949a5
@ -80,7 +80,8 @@ int take_etc_passwd_lock(const char *root);
|
||||
#define UID_MAPPED_ROOT ((uid_t) (INT32_MAX-1))
|
||||
#define GID_MAPPED_ROOT ((gid_t) (INT32_MAX-1))
|
||||
|
||||
#define ETC_PASSWD_LOCK_PATH "/etc/.pwd.lock"
|
||||
#define ETC_PASSWD_LOCK_NAME ".pwd.lock"
|
||||
#define ETC_PASSWD_LOCK_PATH "/etc/" ETC_PASSWD_LOCK_NAME
|
||||
|
||||
/* The following macros add 1 when converting things, since UID 0 is a valid UID, while the pointer
|
||||
* NULL is special */
|
||||
|
Loading…
x
Reference in New Issue
Block a user