Skip site navigation (1)Skip section navigation (2)
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:   kern/32098: semctl() does not propagate permissions
Message-ID:  <200111190346.fAJ3kmF17954@thor.farley.org>

next in thread | raw e-mail | index | archive | help

>Number:         32098
>Category:       kern
>Synopsis:       semctl() does not propagate permissions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 19:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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