summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2025-05-17 01:49:20 -0700
committerJohn Johansen <john.johansen@canonical.com>2025-05-17 01:49:20 -0700
commit44fbeeb3087ee2ddce39d261d0a26688c2e22742 (patch)
tree7dd13a6763df0ce9d633d2ed46e9933deaf964db /tools/perf/scripts/python/intel-pt-events.py
parente9ed1eb8f6217e53843d82ecf2d50f8d1a93e77c (diff)
apparmor: Fix incorrect profile->signal range check
The check on profile->signal is always false, the value can never be less than 1 *and* greater than MAXMAPPED_SIG. Fix this by replacing the logical operator && with ||. Fixes: 84c455decf27 ("apparmor: add support for profiles to define the kill signal") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions