summaryrefslogtreecommitdiff
path: root/src/home/homework.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-22 16:01:42 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-22 16:01:42 +0200
commit498abadb8c91c708ace9f05b816678893f7ac31d (patch)
tree669c58b5b8a1817b0d5615e8b87dc03340ca903a /src/home/homework.h
parent197aec7e79d2f61c50b1684317c11d36968a83f2 (diff)
downloadsystemd-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.h2
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"