Bug 23209 - how to differentiate kill_fasync() for RedHat systems
how to differentiate kill_fasync() for RedHat systems
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-01-03 03:50 EST by bizjak
Modified: 2008-08-01 12:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-30 11:38:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description bizjak 2001-01-03 03:50:17 EST
We would like to properly support RedHat kernels in ALSA sound drivers.
However, RedHat uses modified kill_fasync() and there is no recommended
solution on how to detect RedHat kernels with modified kill_fasync(). Will
the solution below support current RedHat kernels, based on linux 2.2.x,
2.3.x and later? Is it enough to detect only __rh_config_h__ ?

#if defined(__rh_config_h__) || (defined(__rh_kernel_autoconf_h__) &&
LINUX_VERS ION_CODE > KERNEL_VERSION(2, 2, 12))
#define snd_kill_fasync(fp, sig, band) kill_fasync(*(fp), sig, band)
#else
#define snd_kill_fasync(fp, sig, band) kill_fasync(*(fp), sig)
#endif
Comment 1 Bugzilla owner 2004-09-30 11:38:53 EDT
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

Note You need to log in before you can comment on or make changes to this bug.