diff options
author | 2009-06-12 14:56:21 +0000 | |
---|---|---|
committer | 2009-06-12 14:56:21 +0000 | |
commit | 7c3e900935b55c0973c43b72dd29c29dffcf59f1 (patch) | |
tree | 7372141384035c250556072faaf2a546a602f884 /sys/dev/softraid.c | |
parent | Document new WRKOBJDIR default value. (diff) | |
download | wireguard-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