summaryrefslogtreecommitdiffstats
path: root/src/home/homework.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-20 22:18:12 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-27 17:37:14 +0200
commitcf5115f6e531c65bbb5b78c86fe94be577617d33 (patch)
tree7219769068ea29b95ecb3fd4752d4af9954b05f8 /src/home/homework.h
parenthomework: add new helper call that can shift home dir UID/GID ranges (diff)
downloadsystemd-cf5115f6e531c65bbb5b78c86fe94be577617d33.tar.xz
systemd-cf5115f6e531c65bbb5b78c86fe94be577617d33.zip
homework: support uidmapping in the "directory" backend
Diffstat (limited to 'src/home/homework.h')
-rw-r--r--src/home/homework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/home/homework.h b/src/home/homework.h
index 7bd31b5cea..1fa5a1e37a 100644
--- a/src/home/homework.h
+++ b/src/home/homework.h
@@ -74,6 +74,7 @@ int home_setup(UserRecord *h, HomeSetupFlags flags, PasswordCache *cache, HomeSe
int home_refresh(UserRecord *h, HomeSetup *setup, UserRecord *header_home, PasswordCache *cache, struct statfs *ret_statfs, UserRecord **ret_new_home);
+int home_maybe_shift_uid(UserRecord *h, HomeSetup *setup);
int home_populate(UserRecord *h, int dir_fd);
int home_load_embedded_identity(UserRecord *h, int root_fd, UserRecord *header_home, UserReconcileMode mode, PasswordCache *cache, UserRecord **ret_embedded_home, UserRecord **ret_new_home);