summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/dwpcie.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2018-08-21 20:20:04 +0000
committermillert <millert@openbsd.org>2018-08-21 20:20:04 +0000
commite7249551233aa3f590c8efd1ed0c104637b511d3 (patch)
treeeae0965029ba2f2b5280ea599e219fdd0281eca3 /sys/dev/fdt/dwpcie.c
parentPerform mitigations for Intel L1TF screwup. There are three options: (diff)
downloadwireguard-openbsd-e7249551233aa3f590c8efd1ed0c104637b511d3.tar.xz
wireguard-openbsd-e7249551233aa3f590c8efd1ed0c104637b511d3.zip
Use an mmap()'d buffer instead of a static buffer for the contents
of the pointer returned by getpw{ent,nam,uid}(). We unmap the buffer each time to catch callers using a stale passwd struct pointer. As a special case, we do not unmap the buffer if the previous lookup was for the same name or uid. This special case may be removed in the future. OK deraadt@
Diffstat (limited to 'sys/dev/fdt/dwpcie.c')
0 files changed, 0 insertions, 0 deletions