diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-22 16:01:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-22 16:01:42 +0200 |
commit | 498abadb8c91c708ace9f05b816678893f7ac31d (patch) | |
tree | 669c58b5b8a1817b0d5615e8b87dc03340ca903a /src/home/homework.h | |
parent | 197aec7e79d2f61c50b1684317c11d36968a83f2 (diff) | |
download | systemd-498abadb8c91c708ace9f05b816678893f7ac31d.tar.gz |
homework: add macro for "/run/systemd/user-home-mount"
We use this work dir a various places, and it's easy to mistype, hence
let the compiler detect this for us, and introduce a macro for it.
No code changes, just some search/replace.
Diffstat (limited to 'src/home/homework.h')
-rw-r--r-- | src/home/homework.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/home/homework.h b/src/home/homework.h index 5fa4b653e2..df5356454b 100644 --- a/src/home/homework.h +++ b/src/home/homework.h @@ -83,3 +83,5 @@ int home_extend_embedded_identity(UserRecord *h, UserRecord *used, HomeSetup *se int user_record_authenticate(UserRecord *h, UserRecord *secret, PasswordCache *cache, bool strict_verify); int home_sync_and_statfs(int root_fd, struct statfs *ret); + +#define HOME_RUNTIME_WORK_DIR "/run/systemd/user-home-mount" |