summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-09-26 15:55:49 +0200
committerTakashi Iwai <tiwai@suse.de>2022-09-27 08:46:03 +0200
commit1be2143fb7b19e247f7c4aa1097f85fe92c132bf (patch)
tree8bc9710c8bed62d1015e1f375d74d6fb421dbb60 /sound/drivers
parentf0061c18c169f0c32d96b59485c3edee85e343ed (diff)
downloadlinux-next-1be2143fb7b19e247f7c4aa1097f85fe92c132bf.tar.gz
ALSA: pcm: Make mmap status read-only
The mmap status record should be read-only. Modifying it from user-space may screw up things unexpectedly, so let's clear the write bits at exposing it. Note that alsa-lib and other known user-space apps access the mmapped status only as read-only, hence this change shouldn't break the existing applications. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20220926135558.26580-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions