summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-11-03 15:01:36 +0000
committermikeb <mikeb@openbsd.org>2016-11-03 15:01:36 +0000
commit5fbe424424538d14471be7a4d54887e10b5223b9 (patch)
tree853b338cce545c0f6eddcbc0863a100cd7d4bfbb /lib/libc/stdlib/reallocarray.c
parentswitch to using BUILDUSER and add more error checking (diff)
downloadwireguard-openbsd-5fbe424424538d14471be7a4d54887e10b5223b9.tar.xz
wireguard-openbsd-5fbe424424538d14471be7a4d54887e10b5223b9.zip
Add locks to key-value pair pools
We need to ensure list and data consistency during concurrent accesses since the interrupt handler is not executed under the kernel lock and may add or modify entries while userland process is reading the value or traversing the list.
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions