ff6046
From 8c937623864721345a5789d664775416723b6614 Mon Sep 17 00:00:00 2001
ff6046
From: Lennart Poettering <lennart@poettering.net>
ff6046
Date: Thu, 5 Jul 2018 10:00:52 +0200
ff6046
Subject: [PATCH] execute: use our usual syntax for defining bit masks
ff6046
ff6046
(cherry picked from commit ce0d60a7c4e07c5bdfed9f076bd48752287f0777)
ff6046
ff6046
Resolves: #1683334
ff6046
---
ff6046
 src/core/execute.h | 8 ++++----
ff6046
 1 file changed, 4 insertions(+), 4 deletions(-)
ff6046
ff6046
diff --git a/src/core/execute.h b/src/core/execute.h
ff6046
index 49705e0d3a..f24dbf581a 100644
ff6046
--- a/src/core/execute.h
ff6046
+++ b/src/core/execute.h
ff6046
@@ -85,10 +85,10 @@ struct ExecStatus {
ff6046
 };
ff6046
 
ff6046
 typedef enum ExecCommandFlags {
ff6046
-        EXEC_COMMAND_IGNORE_FAILURE = 1,
ff6046
-        EXEC_COMMAND_FULLY_PRIVILEGED = 2,
ff6046
-        EXEC_COMMAND_NO_SETUID = 4,
ff6046
-        EXEC_COMMAND_AMBIENT_MAGIC = 8,
ff6046
+        EXEC_COMMAND_IGNORE_FAILURE   = 1 << 0,
ff6046
+        EXEC_COMMAND_FULLY_PRIVILEGED = 1 << 1,
ff6046
+        EXEC_COMMAND_NO_SETUID        = 1 << 2,
ff6046
+        EXEC_COMMAND_AMBIENT_MAGIC    = 1 << 3,
ff6046
 } ExecCommandFlags;
ff6046
 
ff6046
 struct ExecCommand {