Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 20:51:28 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Brian F. Feldman" <green@FreeBSD.org>
Cc:        arch@FreeBSD.org
Subject:   Re: struct ucred is evil and must be contained 
Message-ID:  <200101230451.f0N4pSG01102@mass.dis.org>
In-Reply-To: Your message of "Mon, 22 Jan 2001 23:28:11 EST." <200101230428.f0N4SBW01468@green.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > The struct must be known as "ucred" in userspace to maintain 
> > compatibility with the old interfaces.
> 
> But it isn't compatible, necessarily, so it probably really should be 
> changed.  This is how it's done with e.g. xsocket, and the new proc 
> interface doesn't use plain "proc" either.  Is there a good reason to not 
> change the name but still change the API?

Only as far as I can tell because ucred is assumed to exist by software 
other than just the system, so whilst 'proc' and 'socket' were only ever 
exported for Bad and Evil reasons, ucred has been consumed because it's 
part of documented kernel interfaces.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101230451.f0N4pSG01102>