summaryrefslogtreecommitdiffstats
path: root/src/home/homework-cifs.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* homework: don't try to shift uidmap for already activated home areasLennart Poettering2021-11-241-1/+1
| | | | | | | | | | | | | | When we want to operate on an already activated home area we so far tried to reapply the uidmapping logic. We shouldn't do that, it's already applied after all. We only want to apply this for newly activated home areas. Hence check for the right HomeSetupFlags flag for it HOME_SETUP_ALREADY_ACTIVATED. The patch is actually in theory a two-liner. Except that so far we don#t pass the HomeSetupFlags flags down all necessary functions where the uidmap stuff will eventually run. Hence this larger than intended commit.
* homework: move allocation/destruction into outer/generic scopeLennart Poettering2021-10-181-2/+2
| | | | | | | | | | | | | Previously in most cases we'd allocate the HomeSetup context object in generic code in homework.c. But for some cases we allocated them instead inside the specific code in homework-{cifs,directory,luks}.c Let's clean that up, and systematically allocate it in the outer "entrypoint" calls in homework.c instead of the inner ones. This doesn't change much in behaviour (i.e. it just means when something fails we'll now clean it up one stack frame further up). But it will allow is to more easily work with the context objects, since we'll have them around in all stack frames.
* homed: replace "already_activated" boolean parameter by a flags valueLennart Poettering2021-10-171-1/+1
| | | | | | | This is mostly preparation for further defined flags to be added in later PRs/commits. No change in behaviour just the flagsification.
* homed: rename home_prepare*() → home_setup*()Lennart Poettering2021-10-161-1/+1
| | | | | | | | | These set of functions are constructors for an object called HomeSetup, which has a destructor home_setup_undo(), hence to be reasonably symmetric, let's call it home_setup*() too, instead of using a new verb "prepare" for its name. No actual code changes, just some renaming.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* homed: add support for authenticating with fido2 hmac-secret tokensLennart Poettering2020-07-011-1/+1
|
* home: add new systemd-homed service that can manage LUKS homesLennart Poettering2020-01-281-0/+11
Fixes more or less: https://bugs.freedesktop.org/show_bug.cgi?id=67474