summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-07-10 09:30:49 +0300
committerTakashi Iwai <tiwai@suse.de>2025-07-10 11:10:08 +0300
commit19c4096ccdd809c6213e2e62b0d4f57c880138cd (patch)
tree1f75bee8ede367405e0934d445ffce91a11c7c08 /scripts/gdb/linux/interrupts.py
parentd78f76457d70d30e80b5d2e067d45de7a0505fc0 (diff)
downloadlinux-19c4096ccdd809c6213e2e62b0d4f57c880138cd.tar.xz
ALSA: compress_offload: tighten ioctl command number checks
The snd_compr_ioctl() ignores the upper 24 bits of the ioctl command number and only compares the number of the ioctl command, which can cause unintended behavior if an application tries to use an unsupprted command that happens to have the same _IOC_NR() value. Remove the truncation to the low bits and compare the entire ioctl command code like every other driver does. Fixes: b21c60a4edd2 ("ALSA: core: add support for compress_offload") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://patch.msgid.link/20250710063059.2683476-1-arnd@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions