Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 19:17:22 +0100
From:      Poul-Henning Kamp <phk@critter.dk.tfs.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:  <228.859227442@critter>
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
In message <97Mar24.094840pst.177486@crevenia.parc.xerox.com>, Bill Fenner writ
es:
>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.

Well, access_as(2) alone will not do it, you would need a open_as(2),
unlink_as(2), rename_as(2) and so on...

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com           TRW Financial Systems, Inc.
Power and ignorance is a disgusting cocktail.



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