Module Name: src Committed By: kre Date: Wed Jun 1 05:10:41 UTC 2016
Modified Files: src/bin/sh: eval.c Log Message: PR bin/43639 Redo earlier fix to only prohibit sourcing directories and block special files. char specials (/dev/tty, /dev/null, ... incl /dev/rwd0a) and fifos are OK. Posix actually requires that we find only readable files - that is not yet implemented (doing it sanely, without opening the file twice, is going to take some more modifications to code elsewhere). To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/bin/sh/eval.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.