Re: svn commit: r327674 - in head: share/man/man9 sys/kern sys/sys

2018-01-07 Thread Kristof Provost
On 7 Jan 2018, at 18:55, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: kp Date: Sun Jan 7 13:21:01 2018 New Revision: 327674 URL: https://svnweb.freebsd.org/changeset/base/327674 Log: Introduce mallocarray() in the kernel Similar to calloc() the

Re: svn commit: r327674 - in head: share/man/man9 sys/kern sys/sys

2018-01-07 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: kp > Date: Sun Jan 7 13:21:01 2018 > New Revision: 327674 > URL: https://svnweb.freebsd.org/changeset/base/327674 > > Log: > Introduce mallocarray() in the kernel > > Similar to calloc() the mallocarray() function checks for integer >

svn commit: r327674 - in head: share/man/man9 sys/kern sys/sys

2018-01-07 Thread Kristof Provost
Author: kp Date: Sun Jan 7 13:21:01 2018 New Revision: 327674 URL: https://svnweb.freebsd.org/changeset/base/327674 Log: Introduce mallocarray() in the kernel Similar to calloc() the mallocarray() function checks for integer overflows before allocating memory. It does not zero memory,