Date: Tue, 4 Mar 2003 14:49:29 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Luoqi Chen <lchen@briontech.com>, Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-hackers@FreeBSD.ORG Subject: Re: kern/40611 linux compatibility fix Message-ID: <20030304144928.GC14952@happy-idiot-talk.infracaninophi> In-Reply-To: <20030228164741.A21344@Odin.AC.HMC.Edu> References: <20030228134245.GF23502@happy-idiot-talk.infracaninophi> <AHEKICEOIHLOGINAFIINKENJCAAA.lchen@briontech.com> <20030228164741.A21344@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 28, 2003 at 04:47:42PM -0800, Brooks Davis wrote: > On Fri, Feb 28, 2003 at 11:47:42AM -0800, Luoqi Chen wrote: > > > 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 > > > > > 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 > > The following is also require for that one to compile. > > -- Brooks > > --- posix4.h 27 Dec 1999 10:22:09 -0000 1.6 > +++ posix4.h 1 Mar 2003 00:00:42 -0000 > @@ -61,8 +61,6 @@ MALLOC_DECLARE(M_P31B); > #define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK) > #define p31b_free(P) free((P), M_P31B) > > -int p31b_proc __P((struct proc *, pid_t, struct proc **)); > - > void p31b_setcfg __P((int, int)); > > #ifdef _KPOSIX_PRIORITY_SCHEDULING > Seeing as I had to recompile anyhow because of the sendmail fun'n'games, I decided to give Books' and Luoqi's patches a spin. Happy to say, everything works fine and I have the linux-sun-jdk14 port running happily as non-root both in a jail and under the host environment using 4.8-RC as of yesterday. Is it too late to get these patches into 4.8-RELEASE ? 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304144928.GC14952>