From: Lennart Poettering Date: Thu, 28 Jan 2016 18:30:56 +0000 (+0100) Subject: basic: when parsing verb command lines, optionally shortcut them in chroot() environments X-Git-Tag: v229.1~1^2~39 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=9a690abcb2df47d950a321fb1b1de5d41ac797a9;hp=f959e21a0603238f2e4566cf92266f50b59c7476 basic: when parsing verb command lines, optionally shortcut them in chroot() environments This adds some basic infrastructure in order to fix #2015. --- diff --git a/src/basic/verbs.h b/src/basic/verbs.h index d59e4d59b..4132cad77 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;