diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-05 10:32:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-11 16:00:34 +0200 |
commit | 86019efa4416d7b548cab321c15bc22a65463786 (patch) | |
tree | 736ff7d30b2f20089285a45218c34b90313bae6e /src/shared/user-record.h | |
parent | homed: take BSD file lock on LUKS file while activated (diff) | |
download | systemd-86019efa4416d7b548cab321c15bc22a65463786.tar.xz systemd-86019efa4416d7b548cab321c15bc22a65463786.zip |
homed: optionally, drop caches on logout
Fixes: #20857
Diffstat (limited to '')
-rw-r--r-- | src/shared/user-record.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/user-record.h b/src/shared/user-record.h index fa58dfdb6e..975e3e175b 100644 --- a/src/shared/user-record.h +++ b/src/shared/user-record.h @@ -353,6 +353,7 @@ typedef struct UserRecord { int removable; int enforce_password_policy; int auto_login; + int drop_caches; uint64_t stop_delay_usec; /* How long to leave systemd --user around on log-out */ int kill_processes; /* Whether to kill user processes forcibly on log-out */ @@ -419,6 +420,7 @@ int user_record_removable(UserRecord *h); usec_t user_record_ratelimit_interval_usec(UserRecord *h); uint64_t user_record_ratelimit_burst(UserRecord *h); bool user_record_can_authenticate(UserRecord *h); +bool user_record_drop_caches(UserRecord *h); int user_record_build_image_path(UserStorage storage, const char *user_name_and_realm, char **ret); |