diff options
author | 2018-08-21 20:20:04 +0000 | |
---|---|---|
committer | 2018-08-21 20:20:04 +0000 | |
commit | e7249551233aa3f590c8efd1ed0c104637b511d3 (patch) | |
tree | eae0965029ba2f2b5280ea599e219fdd0281eca3 /sys/dev/fdt/dwpcie.c | |
parent | Perform mitigations for Intel L1TF screwup. There are three options: (diff) | |
download | wireguard-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