We cannot tame if -R is specified, because mknod and mkfifo may be called.
authorderaadt <deraadt@openbsd.org>
Wed, 7 Oct 2015 15:44:58 +0000 (15:44 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 7 Oct 2015 15:44:58 +0000 (15:44 +0000)
commit1bdf21840f6fc89dde65928b5bf4e798856c97a0
treedf8faf8b8edd97c28e5534a0eb99a6ca06507f9d
parenteeacc5de2f7d30185a0e11f97de694050c2f81af
We cannot tame if -R is specified, because mknod and mkfifo may be called.
But in other cases, we can use tame "stdio rpath wpath cpath fattr", including
for the historical -r option.
bin/cp/cp.c