Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/ssp Small modifications to wording, tidy up SEE ALSO.



details:   https://anonhg.NetBSD.org/src/rev/a933c6ca87eb
branches:  trunk
changeset: 759880:a933c6ca87eb
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Dec 19 08:28:40 2010 +0000

description:
Small modifications to wording, tidy up SEE ALSO.

diffstat:

 lib/libc/ssp/ssp.3 |  19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diffs (52 lines):

diff -r a4523af7b003 -r a933c6ca87eb lib/libc/ssp/ssp.3
--- a/lib/libc/ssp/ssp.3        Sun Dec 19 08:21:36 2010 +0000
+++ b/lib/libc/ssp/ssp.3        Sun Dec 19 08:28:40 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ssp.3,v 1.4 2008/05/25 20:07:14 wiz Exp $
+.\"    $NetBSD: ssp.3,v 1.5 2010/12/19 08:28:40 jruoho Exp $
 .\"
 .\" Copyright (c) 2007 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd May 23, 2007
+.Dd December 19, 2010
 .Dt SSP 3
 .Os
 .Sh NAME
@@ -82,13 +82,13 @@
 .Dv _FORTIFY_SOURCE
 bounds checking is enabled as described below, the above functions get
 overwritten to use the
-.Xr gcc 1
 .Xr __builtin_object_size 3
 function to compute the size of
-.Fa str
-if known at compile time and perform bounds check on it in order
+.Fa str ,
+if known at compile time,
+and perform bounds check on it in order
 to avoid data buffer or stack buffer overflows.
-If an overflow is detected the routines will call
+If an overflow is detected, the routines will call
 .Xr abort 3 .
 .Pp
 To enable these function overrides the following should be added to the
@@ -110,13 +110,10 @@
 it will compute the minimum buffer size.
 .Sh SEE ALSO
 .Xr gcc 1 ,
-.Xr read 2 ,
-.Xr readlink 2 ,
 .Xr __builtin_object_size 3 ,
-.Xr abort 3 ,
-.Xr getcwd 3 ,
 .Xr stdio 3 ,
-.Xr string 3
+.Xr string 3 ,
+.Xr security 8
 .Sh HISTORY
 The
 .Nm ssp



Home | Main Index | Thread Index | Old Index