summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/init
diff options
context:
space:
mode:
authorbluhm <>2026-02-27 20:31:13 +0000
committerbluhm <>2026-02-27 20:31:13 +0000
commit3af81c05117c0432f15903e9e8c488243a7c3b7b (patch)
tree8cf2ecf189887f7b242677e2358f18987631a6f2 /src/regress/lib/libcrypto/init
parenta0dca9ee89cde95a556cd215202b7542ee5f598f (diff)
downloadopenbsd-OPENBSD_7_8.tar.gz
openbsd-OPENBSD_7_8.tar.bz2
openbsd-OPENBSD_7_8.zip
replace pledge "stdio rpath tmppath" with unveil "/tmp" "rwc" to satisfyOPENBSD_7_8
mktemp(3) type operations, unveil "/" "r" for reading all over the tree, and pledge "stdio rpath wpath cpath" to permit both unveils subject to their own limitations. pledge "rpath tmppath" is replace with unveil "/" "r", unveil "/tmp" "rwc", and "rpath wpath cpath" from deraadt@; ok semarie This was using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. from deraadt@; ok semarie and others uses tmpfile(), which is why it used "tmppath", which is why it now needs "rpath wpath cpath" from deraadt@; spotted by brynet Instead of pledge "tmppath rpath", setup a "rwc" unveil on "/tmp", a "r" unveil on "/", and then pledge "rpath wpath cpath". from deraadt@; ok semarie and others This is using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. from deraadt@; ok semarie and others These programs are using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. from deraadt@; ok semarie and others Use unveil() instead of pledge "tmppath". There is a bit of bulldozering here to handle the many codeflows regarding output files, and I hope ingo improves it later. from deraadt@; Some help with regression validation from job nc(1) has the more crazy unveil + pledge configuration based upon argument flags. I think this correctly replaces "tmppath" with an unveil. from deraadt@ Since this program is "rpath wpath cpath", it does not need to use "tmppath" from deraadt@; ok op replace pledge "tmppath" with unveil "/tmp" "rwc" and "rpath wpath cpath". from deraadt@; ok ok this is errata/7.8/015_tmppath.patch.sig
Diffstat (limited to 'src/regress/lib/libcrypto/init')
0 files changed, 0 insertions, 0 deletions