nspawn: add -b switch to automatically look for an init binary

This commit is contained in:
Lennart Poettering
2012-04-22 14:11:32 +02:00
parent acda6a054f
commit 0f0dbc46cc
4 changed files with 41 additions and 2 deletions
+2
View File
@@ -100,6 +100,8 @@ bool streq_ptr(const char *a, const char *b);
#define new0(t, n) ((t*) calloc((n), sizeof(t)))
#define newa(t, n) ((t*) alloca(sizeof(t)*(n)))
#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n))
#define malloc0(n) (calloc((n), 1))