Subject: Re: Addition to force open to open only regular files
To: None <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 11/22/2000 15:35:15
[ On Wednesday, November 22, 2000 at 11:33:23 (-0700), Warner Losh wrote: ]
> Subject: Re: Addition to force open to open only regular files
>
> There are two reasons. First, we have no knowledge of the saved uid
> in userland. There's no way to know what it is.
Actually, you do, and there is. It's what's returned by geteuid(2)
before the first call to either seteuid() or setuid().
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>