Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 16:25:24 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Maxim Sobolev <sobomax@FreeBSD.org>, jeffr@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_prot.c
Message-ID:  <20050211142524.GA83735@phantom.cris.net>
In-Reply-To: <200502111402.j1BE2gFE084807@repoman.freebsd.org>
References:  <200502111402.j1BE2gFE084807@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

It reminds me one more issue with SIGTHR.  It was added to signal.h,
but NSIG was not bumped and it was not registered in libc/gen/siglist.c.

On Fri, Feb 11, 2005 at 02:02:42PM +0000, Maxim Sobolev wrote:
> sobomax     2005-02-11 14:02:42 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_prot.c 
>   Log:
>   Add SIGTHR (32) into list of signals permitted to be delivered to the
>   suid application. The problem is that Linux applications using old Linux
>   threads (pre-NPTL) use signal 32 (linux SIGRTMIN) for communication between
>   thread-processes. If such an linux application is installed suid or sgid
>   and security.bsd.conservative_signals=1 (default), then permission will be
>   denied to send such a signal and the application will freeze.
>   
>   I believe the same will be true for native applications that use libthr,
>   since libthr uses SIGTHR for implementing conditional variables.
>   
>   PR:             72922
>   Submitted by:   Andriy Gapon <avg@icyb.net.ua>
>   MFC after:      2 weeks
>   
>   Revision  Changes    Path
>   1.192     +1 -0      src/sys/kern/kern_prot.c

-- 
/* Alexey Zelkin             && Independent Contractor      */
/* phantom(at)FreeBSD.org    && http://www.FreeBSD.org/java */
/* phantom(at)cris.net       && http://www.FreeBSD.org.ua/  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050211142524.GA83735>