Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 1997 11:08:18 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        ache@nagual.ru, imp@village.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org
Subject:   Re: cvs commit: src/lib/libtermcap pathnames.h termcap.c 
Message-ID:  <199703270308.LAA04021@spinner.DIALix.COM>
In-Reply-To: Your message of "Mon, 24 Mar 1997 09:48:30 PST." <97Mar24.094840pst.177486@crevenia.parc.xerox.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fenner wrote:
> I think a lot would be solved by having a library function like
> access() that also accepts a UID.  Then the don't-let-people-access-
> files-in-a-setuid-program-that-they-wouldn't-normally-have-access-to
> problem, instead of being solved in N different setuid programs,
> could be solved once.

This is one of the things that Linux uses setfsuid() for BTW.  the fs
(filesystem) id's normally shadow the effective at all times, except when
explicitly set by setfs[ug]id.

>   Bill

Cheers,
-Peter





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