basic: when parsing verb command lines, optionally shortcut them in chroot() environments

This adds some basic infrastructure in order to fix #2015.
This commit is contained in:
Lennart Poettering
2016-01-29 15:16:56 +01:00
parent a5a5f03382
commit a16f96cd56
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -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;