summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-06-12 14:56:21 +0000
committeroga <oga@openbsd.org>2009-06-12 14:56:21 +0000
commit7c3e900935b55c0973c43b72dd29c29dffcf59f1 (patch)
tree7372141384035c250556072faaf2a546a602f884 /sys/dev/softraid.c
parentDocument new WRKOBJDIR default value. (diff)
downloadwireguard-openbsd-7c3e900935b55c0973c43b72dd29c29dffcf59f1.tar.xz
wireguard-openbsd-7c3e900935b55c0973c43b72dd29c29dffcf59f1.zip
rework pool_get() a bit so that if you call if with a constructor set
*and* PR_ZERO in flags, you will no longer zero our your nicely constructed object. Instead, now if you have a contructor set, and you set PR_ZERO, you will panic (it's invalid due to how constructor work). ok miod@ deraadt@ on earlier versions of the diff. ok tedu@ after he pointed out a couple of places I messed up. Problem initally noticed by ariane@ a while ago.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions