Blame SOURCES/0192-execute-use-our-usual-syntax-for-defining-bit-masks.patch

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