diff options
| author | Ryan Lee <ryan.lee@canonical.com> | 2026-01-07 11:48:54 -0800 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-01-29 01:27:53 -0800 |
| commit | 48d5268e911abcf7674ec33c9b0b3e952be1175e (patch) | |
| tree | d9a8fbd1d9e25408e94ed24563b262f0258258ad /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 8d34e16f7f2b51f880957f2caadaae731ee28867 (diff) | |
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 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
