From owner-freebsd-emulation Wed Nov 14 16:16:17 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from farley.org (dsl-64-194-106-77.telocity.com [64.194.106.77]) by hub.freebsd.org (Postfix) with ESMTP id E4A6737B417 for ; Wed, 14 Nov 2001 16:16:13 -0800 (PST) Received: from thor.farley.org (srnha2cfbqqooeaj@thor.farley.org [192.168.1.5]) by gw.farley.org (8.11.6/8.11.6) with ESMTP id fAF0G9q02811 for ; Wed, 14 Nov 2001 18:16:09 -0600 (CST) (envelope-from sean-freebsd@farley.org) Date: Wed, 14 Nov 2001 18:16:08 -0600 (CST) From: Sean Farley X-X-Sender: sean@thor.farley.org To: freebsd-emulation@freebsd.org Subject: semctl() does not propagate permissions Message-ID: <20011114175651.I2619-100000@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 is 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 has a 0 for GID and UID. Sean ----------------------- sean-freebsd@farley.org PGP key: http://www.farley.org/~sean/pgp.key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message