summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-25 22:32:30 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-26 01:24:38 +0100
commitb1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 (patch)
treeca7a42f7604a837da6cfb80682d737beee34a219 /src/nspawn
parentc004493cdefc1f43a3956ca529e8070f8d70be56 (diff)
util-lib: split out user/group/uid/gid calls into user-util.[ch]
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn-setuid.c1
-rw-r--r--src/nspawn/nspawn.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-setuid.c b/src/nspawn/nspawn-setuid.c
index 2a1dfd83a9..6b4ca5a3f3 100644
--- a/src/nspawn/nspawn-setuid.c
+++ b/src/nspawn/nspawn-setuid.c
@@ -29,6 +29,7 @@
#include "process-util.h"
#include "signal-util.h"
#include "string-util.h"
+#include "user-util.h"
#include "util.h"
static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index f95842d252..f01a376af8 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -90,6 +90,7 @@
#include "strv.h"
#include "terminal-util.h"
#include "udev-util.h"
+#include "user-util.h"
#include "util.h"
typedef enum ContainerStatus {