Skip to content
Commit 9e2fe574 authored by Christian Göttsche's avatar Christian Göttsche Committed by Paul Moore
Browse files

selinux: enclose macro arguments in parenthesis



Enclose the macro arguments in parenthesis to avoid potential evaluation
order issues.

Note the xperm and ebitmap macros are still not side-effect safe due to
double evaluation.

Reported by clang-tidy [bugprone-macro-parentheses]

Signed-off-by: default avatarChristian Göttsche <cgzones@googlemail.com>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent d3b1161f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment