summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authorjcs <jcs@openbsd.org>2018-07-03 20:14:41 +0000
committerjcs <jcs@openbsd.org>2018-07-03 20:14:41 +0000
commit6520caa8587132cf3cc40d92caf0b24560c71a91 (patch)
treeea5f33909ca3d871b4bb80bc385f1a4f652f25d0 /sys/lib/libkern
parentSynchronize ber changes from the snmpd instance to ldap, ldapd, and ypldap. (diff)
downloadwireguard-openbsd-6520caa8587132cf3cc40d92caf0b24560c71a91.tar.xz
wireguard-openbsd-6520caa8587132cf3cc40d92caf0b24560c71a91.zip
installboot: adapt fileprefix() to future realpath(3) behavior
This was relying on realpath(3) working for paths that don't exist yet, which will be changing soon. Use a combination of dirname(3), realpath(3), and basename(3) to construct a sane path while still ensuring that the target directory exists. with martijn ok martijn, deraadt
Diffstat (limited to 'sys/lib/libkern')
0 files changed, 0 insertions, 0 deletions