cvs commit: src/sys/kern kern_prot.c

Alexey Zelkin phantom at FreeBSD.org.ua
Fri Feb 11 14:21:27 GMT 2005


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 at 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/  */


More information about the cvs-all mailing list