[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Release-critical Bugreport for October 29, 1999



At 03:15 -0500 1999-10-29, BugScan reporter wrote:
Package: samba (main)
Maintainer: Eloy A. Paris <peloy@debian.org>
40645 samba: build uses setresuid which doesn't work under 2.0.34 (does apparently under 2.2.x
[HELP] Incompatibility between glibc2.1/kernel2.2 and kernel2.0 ?

From the glibc FAQ:

3.21.   Autoconf's AC_CHECK_FUNC macro reports that a function exists, but
        when I try to use it, it always returns -1 and sets errno to ENOSYS.

{ZW} You are using a 2.0 Linux kernel, and the function you are trying to
use is only implemented in 2.1/2.2.  Libc considers this to be a function
which exists, because if you upgrade to a 2.2 kernel, it will work.  One
such function is sigaltstack.

Your program should check at runtime whether the function works, and
implement a fallback.  Note that Autoconf cannot detect unimplemented
functions in other systems' C libraries, so you need to do this anyway.
--
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>


Reply to: