For SYS_open let the /dev/null special case match if any TMN_RPATH,
authormillert <millert@openbsd.org>
Sun, 25 Oct 2015 01:57:09 +0000 (01:57 +0000)
committermillert <millert@openbsd.org>
Sun, 25 Oct 2015 01:57:09 +0000 (01:57 +0000)
commit943a6def6990bf50c7da9feebd20d6f756e81424
tree98fe6deef3bcdf8000a50ab8ea169622a5c4c251
parentd604015822373fe5c27860ede1912b1665ffd21e
For SYS_open let the /dev/null special case match if any TMN_RPATH,
TMN_WPATH or both are set in p_pledgenote.  Matches the style used
for /dev/tty special cases (among others).  From deraadt@
sys/kern/kern_pledge.c