diff options
author | 2020-09-03 15:30:17 +0000 | |
---|---|---|
committer | 2020-09-03 15:30:17 +0000 | |
commit | c75bac9bdb6068f5d8019d6df896d092134f10a8 (patch) | |
tree | 62ed44e29e91ca03dde6b372b1f6166a748261ac /lib/libcrypto/asn1/a_bitstr.c | |
parent | Log OCSP url on connection failure. (diff) | |
download | wireguard-openbsd-c75bac9bdb6068f5d8019d6df896d092134f10a8.tar.xz wireguard-openbsd-c75bac9bdb6068f5d8019d6df896d092134f10a8.zip |
The "USL" VT switch and keyboard ioctls are a hack and don't follow the
proper BSD way where the third argument is always a pointer and data is
transferred between userland and kernel using copyin(9) and copyout(9).
Intead an int is encoded in the thirs argument. This works on 32-bit
architectures and little-endian 64-bit architectures. But not on
big-endian 64-bit architectures. Deal with this by handling the argument
as long (which matches the size of a pointer).
Hopefully we can eliminate these ioctls in the near future.
ok deraadt@
Diffstat (limited to 'lib/libcrypto/asn1/a_bitstr.c')
0 files changed, 0 insertions, 0 deletions