aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2023-08-07 19:11:38 +0200
committerPaul Moore <[email protected]>2023-08-09 19:07:48 -0400
commitaa4b60518280834529f75cb7667ffac91967abea (patch)
treee8aa4d49996aeae2c492804a1b0b222fef180ab6 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent002903e1d10fd8c9e215d88e0c71f609a4af5755 (diff)
selinux: make left shifts well defined
The loops upper bound represent the number of permissions used (for the current class or in general). The limit for this is 32, thus we might left shift of one less, 31. Shifting a base of 1 results in undefined behavior; use (u32)1 as base. Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions