From a16f96cd56c6ee251f69fdb2395ad0dcb51abac8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Jan 2016 19:30:56 +0100 Subject: basic: when parsing verb command lines, optionally shortcut them in chroot() environments This adds some basic infrastructure in order to fix #2015. --- src/basic/verbs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/basic/verbs.h') diff --git a/src/basic/verbs.h b/src/basic/verbs.h index d59e4d59b8..4132cad773 100644 --- a/src/basic/verbs.h +++ b/src/basic/verbs.h @@ -22,7 +22,8 @@ ***/ #define VERB_ANY ((unsigned) -1) -#define VERB_DEFAULT 1 +#define VERB_DEFAULT 1U +#define VERB_NOCHROOT 2U typedef struct { const char *verb; -- cgit v1.2.3-54-g00ecf