Subject: multiple copyout()s or a malloc?
To: None <tech-kern@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 05/30/2000 21:45:53
Folks,

In relation to a ipcs-type sysctl(), given the choice between doing (for
example) 128x 60byte copyouts or one 8kish malloc and a copyout(), which
would be the better choice?  I'd guess that the latter would be quicker,
but could it be used as a serious DOS-type attack on kernel memory if
lots of processes were to call the sysctl() at the same time?

Simon.