From owner-cvs-all@FreeBSD.ORG Fri Feb 11 14:21:26 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB4AB16A4CE; Fri, 11 Feb 2005 14:21:26 +0000 (GMT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C3643D1F; Fri, 11 Feb 2005 14:21:24 +0000 (GMT) (envelope-from phantom@FreeBSD.org.ua) Received: from phantom.cris.net (phantom@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id j1BEPPr8083783; Fri, 11 Feb 2005 16:25:25 +0200 (EET) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id j1BEPP4B083782; Fri, 11 Feb 2005 16:25:25 +0200 (EET) (envelope-from phantom) Date: Fri, 11 Feb 2005 16:25:24 +0200 From: Alexey Zelkin To: Maxim Sobolev , jeffr@FreeBSD.org Message-ID: <20050211142524.GA83735@phantom.cris.net> References: <200502111402.j1BE2gFE084807@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200502111402.j1BE2gFE084807@repoman.freebsd.org> X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_prot.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 14:21:27 -0000 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 > 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/ */