summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorRyan Lee <ryan.lee@canonical.com>2026-01-07 11:48:54 -0800
committerJohn Johansen <john.johansen@canonical.com>2026-01-29 01:27:53 -0800
commit48d5268e911abcf7674ec33c9b0b3e952be1175e (patch)
treed9a8fbd1d9e25408e94ed24563b262f0258258ad /tools/perf/scripts/python/parallel-perf.py
parent8d34e16f7f2b51f880957f2caadaae731ee28867 (diff)
downloadlinux-48d5268e911abcf7674ec33c9b0b3e952be1175e.tar.gz
linux-48d5268e911abcf7674ec33c9b0b3e952be1175e.zip
apparmor: fix boolean argument in apparmor_mmap_file
The previous value of GFP_ATOMIC is an int and not a bool, potentially resulting in UB when being assigned to a bool. In addition, the mmap hook is called outside of locks (i.e. in a non-atomic context), so we can pass a fixed constant value of false instead to common_mmap. Signed-off-by: Ryan Lee <ryan.lee@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions