diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-24 13:33:01 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-24 13:33:01 +0000 |
commit | 8749451f0138f265fd023c0b6ee529b680bd9ffe (patch) | |
tree | c80d8cd5225b91dfc83536aa12124a6007c38715 /share | |
parent | 898c385370762cd3fd1a6fa08058a30f7511fa79 (diff) |
Add timingsafe_bcmp(3) to libc, mention that it's already in the
kernel in kern(9), and remove it from OpenSSH.
ok deraadt@, djm@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/kern.9 | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 4306e654399..d325f02f87c 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.158 2010/08/07 20:30:21 oga Exp $ +# $OpenBSD: Makefile,v 1.159 2010/09/24 13:33:00 matthew Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -183,7 +183,7 @@ MLINKS+=kern.9 imax.9 kern.9 imin.9 kern.9 lmax.9 kern.9 lmin.9 \ kern.9 memchr.9 kern.9 memcmp.9 kern.9 ffs.9 \ kern.9 strlen.9 kern.9 strncpy.9 kern.9 strlcpy.9 kern.9 strlcat.9 \ kern.9 strcmp.9 kern.9 strncmp.9 kern.9 strncasecmp.9 \ - kern.9 srandom.9 kern.9 getsn.9 + kern.9 srandom.9 kern.9 timingsafe_bcmp.9 kern.9 getsn.9 MLINKS+=knote.9 KNOTE.9 MLINKS+=kthread.9 kthread_create.9 kthread.9 kthread_exit.9 \ kthread.9 kthread_create_deferred.9 diff --git a/share/man/man9/kern.9 b/share/man/man9/kern.9 index d1d41480380..c4e5190d66b 100644 --- a/share/man/man9/kern.9 +++ b/share/man/man9/kern.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kern.9,v 1.12 2007/05/31 19:20:00 jmc Exp $ +.\" $OpenBSD: kern.9,v 1.13 2010/09/24 13:33:00 matthew Exp $ .\" .\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc. .\" <http://www.csoft.org> @@ -24,7 +24,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 24 2010 $ .Dt KERN 9 .Os .Sh NAME @@ -116,6 +116,8 @@ enabled. .Fn scanc "u_int size" "const u_char *cp" "const u_char *table" "int mask" .Ft int .Fn bcmp "const void *b1" "const void *b2" "size_t len" +.Ft int +.Fn timingsafe_bcmp "const void *b1" "const void *b2" "size_t len" .Ft void * .Fn memchr "const void *b" "int c" "size_t len" .Ft int @@ -150,6 +152,7 @@ is not present in the string. .Pp The remaining functions have the same semantics as their libc counterparts, .Xr bcmp 3 , +.Xr timingsafe_bcmp 3 , .Xr memchr 3 , .Xr memcmp 3 and |