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 -- 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
pgp00000.pgp
Description: PGP signature