summaryrefslogtreecommitdiff
path: root/sound/core/pcm_native.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-04-12 13:44:39 +0300
committerTakashi Iwai <tiwai@suse.de>2019-04-12 14:07:25 +0300
commit6b580f523172f2c738b661069a57c23c74a75f88 (patch)
treed772938f0958be15c9f097fecfdccc39609c9b7b /sound/core/pcm_native.c
parent6740ea6776e97274627e3c261469d1c4ba0a0cb5 (diff)
downloadlinux-6b580f523172f2c738b661069a57c23c74a75f88.tar.xz
ALSA: seq: Protect racy pool manipulation from OSS sequencer
OSS sequencer emulation still allows to queue and issue the events that manipulate the client pool concurrently in a racy way. This patch serializes the access like the normal sequencer write / ioctl via taking the client ioctl_mutex. Since the access to the sequencer client is done indirectly via a client id number, a new helper to take/release the mutex is introduced. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_native.c')
0 files changed, 0 insertions, 0 deletions