POSIX.2 (and common sense) dictates that the file specified by $ENV
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 28 Apr 1995 05:19:31 +0000 (21:19 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 28 Apr 1995 05:19:31 +0000 (21:19 -0800)
commit842ca4e347bee3dccef79461f801dbd4690663de
treed1bc06eac8609a8c916b528638bbc2e37468ce86
parent7a1ba079b249d945ad6e42ce4dd3feea3ec4c631
POSIX.2 (and common sense) dictates that the file specified by $ENV
should not be sourced when running a setuid or setgid shell script.
From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>
NOTE: Dave Korn noted at a recent POSIX meeting that ENV should be ignored
for all scripts, so this is likely to go further in the near future.

SCCS-vsn: bin/sh/main.c 8.3
usr/src/bin/sh/main.c