代码拉取完成,页面将自动刷新
From 8c937623864721345a5789d664775416723b6614 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Thu, 5 Jul 2018 10:00:52 +0200
Subject: [PATCH] execute: use our usual syntax for defining bit masks
(cherry picked from commit ce0d60a7c4e07c5bdfed9f076bd48752287f0777)
Resolves: #1683334
---
src/core/execute.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/core/execute.h b/src/core/execute.h
index 49705e0d3a..f24dbf581a 100644
--- a/src/core/execute.h
+++ b/src/core/execute.h
@@ -85,10 +85,10 @@ struct ExecStatus {
};
typedef enum ExecCommandFlags {
- EXEC_COMMAND_IGNORE_FAILURE = 1,
- EXEC_COMMAND_FULLY_PRIVILEGED = 2,
- EXEC_COMMAND_NO_SETUID = 4,
- EXEC_COMMAND_AMBIENT_MAGIC = 8,
+ EXEC_COMMAND_IGNORE_FAILURE = 1 << 0,
+ EXEC_COMMAND_FULLY_PRIVILEGED = 1 << 1,
+ EXEC_COMMAND_NO_SETUID = 1 << 2,
+ EXEC_COMMAND_AMBIENT_MAGIC = 1 << 3,
} ExecCommandFlags;
struct ExecCommand {
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。