Module Name: src Committed By: jruoho Date: Wed Apr 21 05:49:36 UTC 2010
Modified Files: src/share/man/man8: security.8 Log Message: Refer to the generic ssp(3) instead of the specific __builtin_object_size(3). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/share/man/man8/security.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man8/security.8 diff -u src/share/man/man8/security.8:1.23 src/share/man/man8/security.8:1.24 --- src/share/man/man8/security.8:1.23 Wed Apr 21 05:40:59 2010 +++ src/share/man/man8/security.8 Wed Apr 21 05:49:36 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: security.8,v 1.23 2010/04/21 05:40:59 jruoho Exp $ +.\" $NetBSD: security.8,v 1.24 2010/04/21 05:49:36 jruoho Exp $ .\" .\" Copyright (c) 2006 Elad Efrat <e...@netbsd.org> .\" All rights reserved. @@ -308,11 +308,13 @@ .Nx . .Pp The underlying idea builds on the observation that there are cases where -the compiler knows the size of a buffer (cf. -.Xr __builtin_object_size 3 ) . +the compiler knows the size of a buffer. If a buffer overflow is suspected in a function that does little or no bounds checking, either a compile time warning can be issued or a safer substitute function can be used at runtime. +Refer to +.Xr ssp 3 +for additional details. .Pp The .Em FORTIY_SOURCE