diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-05 12:24:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-05 13:09:46 +0200 |
commit | a4152e3fe28b53b8919cc404dd7eca7ead1bf9bd (patch) | |
tree | 6d19cc912c50c123de8d4d599f802f83aea73b4a /src/shared | |
parent | 5331194c120520579eede9dba4bd9c3329629601 (diff) |
kdbus: when uploading bus name policy, resolve users/groups out-of-process
It's not safe invoking NSS from PID 1, hence fork off worker processes
that upload the policy into the kernel for busnames.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/exit-status.c | 3 | ||||
-rw-r--r-- | src/shared/exit-status.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c index 0a1034d8e2..ce1f1bde65 100644 --- a/src/shared/exit-status.c +++ b/src/shared/exit-status.c @@ -145,6 +145,9 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { case EXIT_CHOWN: return "CHOWN"; + + case EXIT_MAKE_STARTER: + return "MAKE_STARTER"; } } diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h index 0104c8b125..57d066f155 100644 --- a/src/shared/exit-status.h +++ b/src/shared/exit-status.h @@ -75,6 +75,7 @@ typedef enum ExitStatus { EXIT_APPARMOR_PROFILE, EXIT_ADDRESS_FAMILIES, EXIT_RUNTIME_DIRECTORY, + EXIT_MAKE_STARTER, EXIT_CHOWN, } ExitStatus; |