diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-28 08:17:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 08:17:05 +0200 |
commit | 93a5fe3e6579bb6db66412bbb08e01b8d3846fa0 (patch) | |
tree | 87bd516cb882d97f2b16676bd0e1c08f1580e354 /src/home/homework.h | |
parent | 8622e9f2e3adffecd035ead46f09aabb1ecb7baa (diff) | |
parent | 4c2ee5c7f26fda41d7eb1250c61c85cc869a90de (diff) | |
download | systemd-93a5fe3e6579bb6db66412bbb08e01b8d3846fa0.tar.gz |
Merge pull request #21162 from poettering/homed-cifs-improvements
homed: various cifs backend improvements
Diffstat (limited to 'src/home/homework.h')
-rw-r--r-- | src/home/homework.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/home/homework.h b/src/home/homework.h index 0ce8457727..1b56fbbd8f 100644 --- a/src/home/homework.h +++ b/src/home/homework.h @@ -37,6 +37,8 @@ typedef struct HomeSetup { uint64_t partition_offset; uint64_t partition_size; + + char *mount_suffix; /* The directory to use as home dir is this path below /run/systemd/user-home-mount */ } HomeSetup; typedef struct PasswordCache { @@ -66,6 +68,9 @@ static inline bool password_cache_contains(const PasswordCache *cache, const cha /* Various flags for the operation of setting up a home directory */ typedef enum HomeSetupFlags { HOME_SETUP_ALREADY_ACTIVATED = 1 << 0, /* Open an already activated home, rather than activate it afresh */ + + /* CIFS backend: */ + HOME_SETUP_CIFS_MKDIR = 1 << 1, /* Create CIFS subdir when missing */ } HomeSetupFlags; int home_setup_done(HomeSetup *setup); |