diff options
| author | Christian Göttsche <[email protected]> | 2022-01-25 14:14:14 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2022-01-26 20:13:58 +0000 |
| commit | 9e2fe574c02bde46307255467a5e4291f65227fe (patch) | |
| tree | 5a94795947835f92fe02bbcf9a93ee369c0ddbfc /security/selinux/netnode.c | |
| parent | selinux: declare name parameter of hash_eval const (diff) | |
| download | kernel-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
