From owner-cvs-lib Wed Mar 26 19:09:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA27865 for cvs-lib-outgoing; Wed, 26 Mar 1997 19:09:07 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27850; Wed, 26 Mar 1997 19:08:57 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id LAA04021; Thu, 27 Mar 1997 11:08:18 +0800 (WST) Message-Id: <199703270308.LAA04021@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 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: Thu, 27 Mar 1997 11:08:18 +0800 From: Peter Wemm Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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