mbox series

[0/5] ALSA: Drop async signal support

Message ID 20220715102935.4695-1-tiwai@suse.de
Headers show
Series ALSA: Drop async signal support | expand

Message

Takashi Iwai July 15, 2022, 10:29 a.m. UTC
Hi,

this is a patch series to drop one of unused features, the async
signal support, from ALSA core.  The async signal itself is very
difficult to use properly due to various restrictions (e.g. you cannot
perform any I/O in the context), hence it's a feature that has been
never used by real applications.

OTOH, the real problem is that there have been quite a few syzcaller
reports indicating that fasync code path may lead to some potential
deadlocks for long time.  Dropping the feature is the easiest
solution, obviously.

The corresponding update for alsa-lib will follow once when we agree
with this approach.


thanks,

Takashi

===

Takashi Iwai (5):
  ALSA: timer: Drop async signal support
  ALSA: pcm: Drop async signal support
  ALSA: control: Drop async signal support
  ALSA: core: Drop async signal support
  ALSA: doc: Drop stale fasync entry

 .../kernel-api/writing-an-alsa-driver.rst      |  1 -
 include/sound/control.h                        |  1 -
 include/sound/pcm.h                            |  1 -
 sound/core/control.c                           | 11 -----------
 sound/core/init.c                              | 11 +----------
 sound/core/pcm_lib.c                           |  4 +---
 sound/core/pcm_native.c                        | 18 ------------------
 sound/core/timer.c                             | 13 -------------
 8 files changed, 2 insertions(+), 58 deletions(-)