Date: Fri, 28 Feb 2003 16:47:42 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Luoqi Chen <lchen@briontech.com> Cc: Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-hackers@FreeBSD.ORG Subject: Re: kern/40611 linux compatibility fix Message-ID: <20030228164741.A21344@Odin.AC.HMC.Edu> In-Reply-To: <AHEKICEOIHLOGINAFIINKENJCAAA.lchen@briontech.com>; from lchen@briontech.com on Fri, Feb 28, 2003 at 11:47:42AM -0800 References: <20030228134245.GF23502@happy-idiot-talk.infracaninophi> <AHEKICEOIHLOGINAFIINKENJCAAA.lchen@briontech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 28, 2003 at 11:47:42AM -0800, Luoqi Chen wrote: > > Dear Hackers, > >=20 > > 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 > >=20 > 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) =20 -int p31b_proc __P((struct proc *, pid_t, struct proc **)); - void p31b_setcfg __P((int, int)); =20 #ifdef _KPOSIX_PRIORITY_SCHEDULING --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+YAMsXY6L6fI4GtQRAkX/AJ0YQqYlqYuTqb20UhADy+egZwKPLACffMSA LzQNkhls87mNXg7byvPnkDE= =8uYV -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- 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?20030228164741.A21344>