Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2013-12-06 12:04:52 +01:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379317 additions and 151059 deletions

View File

@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)memset.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: memset.3,v 1.9 2003/08/07 16:43:49 agc Exp $
.\" $NetBSD: memset.3,v 1.12 2013/06/24 07:56:49 wiz Exp $
.\"
.Dd June 4, 1993
.Dd June 23, 2013
.Dt MEMSET 3
.Os
.Sh NAME
@@ -60,8 +60,17 @@ The
function
returns the original value of
.Fa b .
.Pp
Note that the compiler may optimize away a call to
.Fn memset
if it can prove that the string will not be used by the program again,
for example if it is allocated on the stack and about to out of scope.
If you want to guarantee that zeros are written to memory, for example
to sanitize a buffer holding a cryptographic secret, use
.Xr explicit_memset 3 .
.Sh SEE ALSO
.Xr bzero 3 ,
.Xr explicit_memset 3 ,
.Xr swab 3
.Sh STANDARDS
The