diff options
author | 2025-05-17 01:49:20 -0700 | |
---|---|---|
committer | 2025-05-17 01:49:20 -0700 | |
commit | 44fbeeb3087ee2ddce39d261d0a26688c2e22742 (patch) | |
tree | 7dd13a6763df0ce9d633d2ed46e9933deaf964db /tools/perf/scripts/python | |
parent | apparmor: use SHA-256 library API instead of crypto_shash API (diff) | |
download | wireguard-linux-44fbeeb3087ee2ddce39d261d0a26688c2e22742.tar.xz wireguard-linux-44fbeeb3087ee2ddce39d261d0a26688c2e22742.zip |
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')
0 files changed, 0 insertions, 0 deletions