From owner-freebsd-current Wed Jan 27 15:32:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00284 for freebsd-current-outgoing; Wed, 27 Jan 1999 15:32:02 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00249 for ; Wed, 27 Jan 1999 15:31:53 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA09626; Wed, 27 Jan 1999 15:23:32 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdNO9622; Wed Jan 27 23:23:21 1999 Date: Wed, 27 Jan 1999 15:23:18 -0800 (PST) From: Julian Elischer To: Sean Eric Fagan cc: current@FreeBSD.ORG Subject: Re: "JAIL" code headed for -current. In-Reply-To: <199901272302.PAA02846@kithrup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah now I see what sean is aguing about.. He has a point.. maybe using jailsuser() or something might be a better idea? (On the other hand at 3.x existing KLD modules are not YET a problem except for OSS) On Wed, 27 Jan 1999, Sean Eric Fagan wrote: > In article <199901271944.LAA15317.kithrup.freebsd.current@kithrup.com> you write: > >>all over the kernel: > >> > >> suser(NOJAIL, bla, bla); > >>or > >> suser(0, bla, bla); > >Oh, goody, more gratuitious incomaptibilities with everyone else. > > And to followup to my own message, since nobody else has: > > This is stupid. While I don't object to the concept (and even know people who > have requested it), that particular implementation sucks. It breaks an > existing API *and* ABI. > > I would suggest using a different routine name than suser(); suser() can be > made into a macro or stub routine that calls the new routine with a first > argument of 0 (or, of course, both a macro *and* a stub routine). > > Any time there's a change, "all over the kernel," THIS SHOULD RAISE WARNING > FLAGS, PEOPLE! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message