85554d23bf
Rebase on upstream f56a72ac9e86
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 29e5233d85bb2f0c4ffc973f95faff8885a1c3dc Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
|
|
Date: Fri, 20 May 2022 15:08:45 +0200
|
|
Subject: [PATCH] libselinux: enclose macro definition in parenthesis
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
Content-type: text/plain
|
|
|
|
Avoid potential precedence issues.
|
|
|
|
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
|
|
Acked-by: James Carter <jwcart2@gmail.com>
|
|
---
|
|
libselinux/include/selinux/avc.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libselinux/include/selinux/avc.h b/libselinux/include/selinux/avc.h
|
|
index 9b23357ad17f..4bbd2382404b 100644
|
|
--- a/libselinux/include/selinux/avc.h
|
|
+++ b/libselinux/include/selinux/avc.h
|
|
@@ -24,7 +24,7 @@ struct security_id {
|
|
};
|
|
typedef struct security_id *security_id_t;
|
|
|
|
-#define SECSID_WILD (security_id_t)NULL /* unspecified SID */
|
|
+#define SECSID_WILD ((security_id_t)NULL) /* unspecified SID */
|
|
|
|
/**
|
|
* avc_sid_to_context - get copy of context corresponding to SID.
|
|
--
|
|
2.38.1
|
|
|