chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f959e21
)
basic: when parsing verb command lines, optionally shortcut them in chroot() environments
author
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Jan 2016 18:30:56 +0000
(19:30 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000
(15:22 +0200)
This adds some basic infrastructure in order to fix #2015.
src/basic/verbs.h
patch
|
blob
|
history
diff --git
a/src/basic/verbs.h
b/src/basic/verbs.h
index d59e4d59b8f0b79e611ec82fcadccd8bc124f5e7..4132cad7730f814f9c43960504e902dac2fda902 100644
(file)
--- 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;