From owner-freebsd-hackers Fri Feb 28 11:46:50 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CEEC37B401 for ; Fri, 28 Feb 2003 11:46:48 -0800 (PST) Received: from bricore.com (adsl-64-168-71-68.dsl.snfc21.pacbell.net [64.168.71.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28102441A2 for ; Fri, 28 Feb 2003 11:44:01 -0800 (PST) (envelope-from lchen@briontech.com) Received: from luoqi (luoqi.bricore.com [192.168.1.63]) by bricore.com (8.12.6/8.12.6) with SMTP id h1SJhuFA062427; Fri, 28 Feb 2003 11:43:57 -0800 (PST) (envelope-from lchen@briontech.com) From: "Luoqi Chen" To: "Matthew Seaman" , Subject: RE: kern/40611 linux compatibility fix Date: Fri, 28 Feb 2003 11:47:42 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20030228134245.GF23502@happy-idiot-talk.infracaninophi> X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Dear Hackers, > > Is there any chance that the patch given in kern/40611 could be > committed to the 4-STABLE tree? It has the desirable effect of making > eg. the linux-sun-jdk14 port usable as a non-root user. This would > appear to my untutored eye to be a sub-set of the differences already > existing between the HEAD and RELENG_4 versions of > src/sys/posix4/p1003_1b.c > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > I've a similar but more complete patch. It handles both get and set cases, and also takes into account jailed environment. It should have identical semantics to -current (except for the see_other_uids flag), at least at the time when I created the patch. You may inspect the patch at http://people.freebsd.org/~luoqi/p1003_1b.diff I didn't know there're so many people running linux apps under emulation. I've a couple of other linux related patches for -stable, among them backport of linux ptrace from -current, anyone interested? -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message