Subject: Re: how kernel deals with suid scripts
To: None <tech-kern@NetBSD.ORG,>
From: Charles M. Hannum <mycroft@NetBSD.ORG>
List: tech-kern
Date: 01/30/1996 07:28:57
If you compiled the kernel with FDSCRIPTS, then a file descriptor for
the script will be opened, and in place of the script's name, a path
to the open file descriptor (`/dev/fd/N') is given to the interpreter.
SETUIDSCRIPTS requires (and defines) FDSCRIPTS.