summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptosoft.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-02-18 13:11:45 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-02-18 13:11:45 +0000
commiteb2ef85dc6e63b8f2819256c12559a69f528fea5 (patch)
tree5f196c9d5605c9c7afa23f1437f30f650d3a57cb /sys/crypto/cryptosoft.h
parent1c77d48cef6cfdd244d5009e27be22dbb488b2b9 (diff)
Change ps_len of struct pfioc_states and psn_len of struct
pfioc_src_nodes to size_t. This avoids integer truncation by casts to unsigned. As the types of DIOCGETSTATES and DIOCGETSRCNODES ioctl(2) arguments change, pfctl(8) and systat(1) should be updated together with the kernel. Calculate number of pf(4) states as size_t in userland. OK sashan@ deraadt@
Diffstat (limited to 'sys/crypto/cryptosoft.h')
0 files changed, 0 insertions, 0 deletions