summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpnam.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2016-10-18 05:33:57 +0000
committerreyk <reyk@openbsd.org>2016-10-18 05:33:57 +0000
commit47ccdcef62f0ce01a07cd7a29770cb3bfb355445 (patch)
treef049b9474fea2dde7e6e485bf7337951ce3633b7 /lib/libc/stdio/tmpnam.c
parentSwap 'make cleandir' and 'make includes' for real. (diff)
downloadwireguard-openbsd-47ccdcef62f0ce01a07cd7a29770cb3bfb355445.tar.xz
wireguard-openbsd-47ccdcef62f0ce01a07cd7a29770cb3bfb355445.zip
When the guest OS gets a zero MAC address on a network interface, it should
create a randomized locally administrated address. OpenBSD as a guest OS does this correctly but we cannot rely on it for other guests, so randomize the MAC address in vmd(8) on the host side if it is not specified by the user. I incremented the prefix by one to differentiate from the ones that are generated by OpenBSD in the kernel; fe:e1:bb:xx:xx:xx. OK deraadt@ mlarkin@
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions