From sean@farley.org  Sun Nov 18 19:46:50 2001
Return-Path: <sean@farley.org>
Received: from farley.org (dsl-64-194-106-77.telocity.com [64.194.106.77])
	by hub.freebsd.org (Postfix) with ESMTP id CA69D37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Nov 2001 19:46:49 -0800 (PST)
Received: from thor.farley.org (rcg9a873c4vauyol@thor.farley.org [2002:40c2:6a4d::5])
	by gw.farley.org (8.11.6/8.11.6) with ESMTP id fAJ3kmq42516
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Nov 2001 21:46:49 -0600 (CST)
	(envelope-from sean@gw.farley.org)
Received: (from sean@localhost)
	by thor.farley.org (8.11.6/8.11.6) id fAJ3kmF17954;
	Sun, 18 Nov 2001 21:46:48 -0600 (CST)
	(envelope-from sean)
Message-Id: <200111190346.fAJ3kmF17954@thor.farley.org>
Date: Sun, 18 Nov 2001 21:46:48 -0600 (CST)
From: "Sean C. Farley" <sean-freebsd@farley.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: semctl() does not propagate permissions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32098
>Category:       kern
>Synopsis:       [libc] semctl() does not propagate permissions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 19:50:00 PST 2001
>Closed-Date:    Fri Nov 30 12:32:52 UTC 2007
>Last-Modified:  Fri Nov 30 12:32:52 UTC 2007
>Originator:     Sean C. Farley
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Nov 13 15:34:48 CST 2001 root@thor.farley.org:/usr/obj/usr/src/sys/THOR i386

>Description:

	I have a Linux application that I am trying to run on 4.4-STABLE as of
	November 13th.  The application changes the group ID of the semaphore and
	tries to use it after changing its own group ID.  The only problem is that
	the semaphore's permissions are not being changed.

	I am not much of a kernel hacker, but I added a printf() to linux_semctl()
	in case LINUX_IPC_SET to see what it was getting.  It appears that it received
	a 0 for GID and UID.

>How-To-Repeat:
	
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 17:30:21 UTC 2007 
State-Changed-Why:  

Is this still an issue? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32098 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Fri Nov 30 12:32:52 UTC 2007 
State-Changed-Why:  
Sean reports that the ticket can be closed, make it happen 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32098 
>Unformatted:
