From owner-cvs-lib Mon Mar 24 10:19:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA23617 for cvs-lib-outgoing; Mon, 24 Mar 1997 10:19:39 -0800 (PST) Received: from critter.dk.tfs.com (phk.cybercity.dk [195.8.133.247]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA23579; Mon, 24 Mar 1997 10:18:42 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.5/8.8.5) with ESMTP id TAA00230; Mon, 24 Mar 1997 19:17:22 +0100 (CET) To: Bill Fenner 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 In-reply-to: Your message of "Mon, 24 Mar 1997 09:48:30 PST." <97Mar24.094840pst.177486@crevenia.parc.xerox.com> Date: Mon, 24 Mar 1997 19:17:22 +0100 Message-ID: <228.859227442@critter> From: Poul-Henning Kamp Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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.