aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2022-01-25 14:14:14 +0000
committerPaul Moore <[email protected]>2022-01-26 20:13:58 +0000
commit9e2fe574c02bde46307255467a5e4291f65227fe (patch)
tree5a94795947835f92fe02bbcf9a93ee369c0ddbfc /security/selinux/netnode.c
parentselinux: declare name parameter of hash_eval const (diff)
downloadkernel-9e2fe574c02bde46307255467a5e4291f65227fe.tar.gz
kernel-9e2fe574c02bde46307255467a5e4291f65227fe.zip
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: Christian Göttsche <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions