Module Name: src Committed By: andvar Date: Mon Aug 9 19:57:58 UTC 2021
Modified Files: src/crypto/dist/ipsec-tools/src/racoon: algorithm.c src/sys/arch/hpcmips/stand/lcboot: start.S src/sys/compat/linux/arch/i386: linux_machdep.c src/sys/kern: sched_4bsd.c src/sys/lib/libkern/arch/hppa: bcopy.S src/sys/net: if_types.h src/sys/netinet: tcp_input.c src/sys/opencrypto: crypto.c cryptodev.h Log Message: fix typos in asymmetry, asymmetric(al), symmetrical. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/crypto/dist/ipsec-tools/src/racoon/algorithm.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hpcmips/stand/lcboot/start.S cvs rdiff -u -r1.166 -r1.167 src/sys/compat/linux/arch/i386/linux_machdep.c cvs rdiff -u -r1.44 -r1.45 src/sys/kern/sched_4bsd.c cvs rdiff -u -r1.16 -r1.17 src/sys/lib/libkern/arch/hppa/bcopy.S cvs rdiff -u -r1.31 -r1.32 src/sys/net/if_types.h cvs rdiff -u -r1.430 -r1.431 src/sys/netinet/tcp_input.c cvs rdiff -u -r1.114 -r1.115 src/sys/opencrypto/crypto.c cvs rdiff -u -r1.40 -r1.41 src/sys/opencrypto/cryptodev.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/ipsec-tools/src/racoon/algorithm.c diff -u src/crypto/dist/ipsec-tools/src/racoon/algorithm.c:1.9 src/crypto/dist/ipsec-tools/src/racoon/algorithm.c:1.10 --- src/crypto/dist/ipsec-tools/src/racoon/algorithm.c:1.9 Thu Nov 29 15:31:24 2012 +++ src/crypto/dist/ipsec-tools/src/racoon/algorithm.c Mon Aug 9 19:57:57 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: algorithm.c,v 1.9 2012/11/29 15:31:24 vanhu Exp $ */ +/* $NetBSD: algorithm.c,v 1.10 2021/08/09 19:57:57 andvar Exp $ */ /* Id: algorithm.c,v 1.15 2006/05/23 20:23:09 manubsd Exp */ @@ -229,7 +229,7 @@ static struct misc_algorithm ipsec_compd }; /* - * In case of asymetric modes (hybrid xauth), what's racoon mode of + * In case of asymmetric modes (hybrid xauth), what's racoon mode of * operations ; it seems that the proposal should always use the * initiator half (unless a server initiates a connection, which is * not handled, and probably not useful). Index: src/sys/arch/hpcmips/stand/lcboot/start.S diff -u src/sys/arch/hpcmips/stand/lcboot/start.S:1.3 src/sys/arch/hpcmips/stand/lcboot/start.S:1.4 --- src/sys/arch/hpcmips/stand/lcboot/start.S:1.3 Sun Dec 11 12:17:34 2005 +++ src/sys/arch/hpcmips/stand/lcboot/start.S Mon Aug 9 19:57:57 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: start.S,v 1.3 2005/12/11 12:17:34 christos Exp $ */ +/* $NetBSD: start.S,v 1.4 2021/08/09 19:57:57 andvar Exp $ */ /* * Copyright (c) 2003 Naoto Shimazaki. @@ -196,7 +196,7 @@ start: * B1Config = 01 (16Mbit) * Bstreftype = 1 (all raw refresh) * BstRefr = 0 (not allow burst refresh) - * EDOAsym = 0 (asymetric) + * EDOAsym = 0 (asymmetric) * B0Config = 01 (16Mbit) * EDO/SDRAM = 1 (SDRAM) */ @@ -233,7 +233,7 @@ start: * B1Config = 10 (64Mbit) * Bstreftype = 1 (all raw refresh) * BstRefr = 0 (not allow burst refresh) - * EDOAsym = 0 (asymetric) + * EDOAsym = 0 (asymmetric) * B0Config = 10 (64Mbit) * EDO/SDRAM = 1 (SDRAM) */ Index: src/sys/compat/linux/arch/i386/linux_machdep.c diff -u src/sys/compat/linux/arch/i386/linux_machdep.c:1.166 src/sys/compat/linux/arch/i386/linux_machdep.c:1.167 --- src/sys/compat/linux/arch/i386/linux_machdep.c:1.166 Sun May 19 08:46:15 2019 +++ src/sys/compat/linux/arch/i386/linux_machdep.c Mon Aug 9 19:57:57 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_machdep.c,v 1.166 2019/05/19 08:46:15 maxv Exp $ */ +/* $NetBSD: linux_machdep.c,v 1.167 2021/08/09 19:57:57 andvar Exp $ */ /*- * Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.166 2019/05/19 08:46:15 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.167 2021/08/09 19:57:57 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_user_ldt.h" @@ -491,7 +491,7 @@ linux_read_ldt(struct lwp *l, const stru size_t sz; /* - * I've checked the linux code - this function is asymetric with + * I've checked the linux code - this function is asymmetric with * linux_write_ldt, and returns raw ldt entries. * NB, the code I saw zerod the spare parts of the user buffer. */ Index: src/sys/kern/sched_4bsd.c diff -u src/sys/kern/sched_4bsd.c:1.44 src/sys/kern/sched_4bsd.c:1.45 --- src/sys/kern/sched_4bsd.c:1.44 Sat May 23 21:24:41 2020 +++ src/sys/kern/sched_4bsd.c Mon Aug 9 19:57:57 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sched_4bsd.c,v 1.44 2020/05/23 21:24:41 ad Exp $ */ +/* $NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $ */ /* * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2019, 2020 @@ -69,7 +69,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.44 2020/05/23 21:24:41 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sched_4bsd.c,v 1.45 2021/08/09 19:57:57 andvar Exp $"); #include "opt_ddb.h" #include "opt_lockdebug.h" @@ -150,7 +150,7 @@ sched_tick(struct cpu_info *ci) spc->spc_flags |= SPCF_SHOULDYIELD; } else if ((spc->spc_flags & SPCF_1STCLASS) == 0) { /* - * For SMT or assymetric systems push a little + * For SMT or asymmetric systems push a little * harder: if this is not a 1st class CPU, try to * find a better one to run this LWP. */ Index: src/sys/lib/libkern/arch/hppa/bcopy.S diff -u src/sys/lib/libkern/arch/hppa/bcopy.S:1.16 src/sys/lib/libkern/arch/hppa/bcopy.S:1.17 --- src/sys/lib/libkern/arch/hppa/bcopy.S:1.16 Sat Jan 16 23:51:51 2021 +++ src/sys/lib/libkern/arch/hppa/bcopy.S Mon Aug 9 19:57:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bcopy.S,v 1.16 2021/01/16 23:51:51 chs Exp $ */ +/* $NetBSD: bcopy.S,v 1.17 2021/08/09 19:57:58 andvar Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -49,7 +49,7 @@ #include <machine/reg.h> #if defined(LIBC_SCCS) && !defined(lint) -RCSID("$NetBSD: bcopy.S,v 1.16 2021/01/16 23:51:51 chs Exp $") +RCSID("$NetBSD: bcopy.S,v 1.17 2021/08/09 19:57:58 andvar Exp $") #endif /* LIBC_SCCS and not lint */ /* @@ -142,7 +142,7 @@ RCSID("$NetBSD: bcopy.S,v 1.16 2021/01/1 * * The shift instructions need pairs of registers with adjacent * words, with the register containing the word from the lowest - * address *always* coming first. It is this assymetry that + * address *always* coming first. It is this asymmetry that * gives rise to this macro - depending on which direction * we're copying in, these ordered pairs are different. * @@ -409,7 +409,7 @@ RCSID("$NetBSD: bcopy.S,v 1.16 2021/01/1 * does no shifting. NB: unlike the forward case, ! \ * this is NOT strictly an optimization. If the ! \ * SAR is zero the vshds do NOT do the right thing. ! \ - * This is another assymetry more or less the "fault" ! \ + * This is another asymmetry more or less the "fault" ! \ * of vshd. ! \ */ ! \ addi 3, src_off, src_off ! \ Index: src/sys/net/if_types.h diff -u src/sys/net/if_types.h:1.31 src/sys/net/if_types.h:1.32 --- src/sys/net/if_types.h:1.31 Wed Aug 26 16:03:41 2020 +++ src/sys/net/if_types.h Mon Aug 9 19:57:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_types.h,v 1.31 2020/08/26 16:03:41 riastradh Exp $ */ +/* $NetBSD: if_types.h,v 1.32 2021/08/09 19:57:58 andvar Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -248,8 +248,8 @@ #define IFT_SIPSIG 0xcc /* SIP Signaling */ #define IFT_DOCSCABLEUPSTREAMCHANNEL 0xcd /* CATV Upstream Channel */ #define IFT_ECONET 0xce /* Acorn Econet */ -#define IFT_PON155 0xcf /* FSAN 155Mb Symetrical PON interface */ -#define IFT_PON622 0xd0 /* FSAN 622Mb Symetrical PON interface */ +#define IFT_PON155 0xcf /* FSAN 155Mb Symmetrical PON interface */ +#define IFT_PON622 0xd0 /* FSAN 622Mb Symmetrical PON interface */ #define IFT_BRIDGE 0xd1 /* Transparent bridge interface */ #define IFT_LINEGROUP 0xd2 /* Interface common to multiple lines */ #define IFT_VOICEEMFGD 0xd3 /* voice E&M Feature Group D */ Index: src/sys/netinet/tcp_input.c diff -u src/sys/netinet/tcp_input.c:1.430 src/sys/netinet/tcp_input.c:1.431 --- src/sys/netinet/tcp_input.c:1.430 Fri Aug 6 07:55:13 2021 +++ src/sys/netinet/tcp_input.c Mon Aug 9 19:57:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $ */ +/* $NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -148,7 +148,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.430 2021/08/06 07:55:13 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -4539,7 +4539,7 @@ syn_cache_respond(struct syn_cache *sc) /* * Send ECN SYN-ACK setup packet. - * Routes can be assymetric, so, even if we receive a packet + * Routes can be asymmetric, so, even if we receive a packet * with ECE and CWR set, we must not assume no one will block * the ECE packet we are about to send. */ Index: src/sys/opencrypto/crypto.c diff -u src/sys/opencrypto/crypto.c:1.114 src/sys/opencrypto/crypto.c:1.115 --- src/sys/opencrypto/crypto.c:1.114 Wed Apr 8 15:27:18 2020 +++ src/sys/opencrypto/crypto.c Mon Aug 9 19:57:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: crypto.c,v 1.114 2020/04/08 15:27:18 pgoyette Exp $ */ +/* $NetBSD: crypto.c,v 1.115 2021/08/09 19:57:58 andvar Exp $ */ /* $FreeBSD: src/sys/opencrypto/crypto.c,v 1.4.2.5 2003/02/26 00:14:05 sam Exp $ */ /* $OpenBSD: crypto.c,v 1.41 2002/07/17 23:52:38 art Exp $ */ @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.114 2020/04/08 15:27:18 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.115 2021/08/09 19:57:58 andvar Exp $"); #include <sys/param.h> #include <sys/reboot.h> @@ -1361,7 +1361,7 @@ out: } /* - * Add an asymetric crypto request to a queue, + * Add an asymmetric crypto request to a queue, * to be processed by the kernel thread. */ int @@ -1429,7 +1429,7 @@ out: } /* - * Dispatch an assymetric crypto request to the appropriate crypto devices. + * Dispatch an asymmetric crypto request to the appropriate crypto devices. */ static int crypto_kinvoke(struct cryptkop *krp, int hint) Index: src/sys/opencrypto/cryptodev.h diff -u src/sys/opencrypto/cryptodev.h:1.40 src/sys/opencrypto/cryptodev.h:1.41 --- src/sys/opencrypto/cryptodev.h:1.40 Fri Nov 29 07:20:03 2019 +++ src/sys/opencrypto/cryptodev.h Mon Aug 9 19:57:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cryptodev.h,v 1.40 2019/11/29 07:20:03 hikaru Exp $ */ +/* $NetBSD: cryptodev.h,v 1.41 2021/08/09 19:57:58 andvar Exp $ */ /* $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.2.2.6 2003/07/02 17:04:50 sam Exp $ */ /* $OpenBSD: cryptodev.h,v 1.33 2002/07/17 23:52:39 art Exp $ */ @@ -324,7 +324,7 @@ struct cryptret { }; -/* Assymetric key operations */ +/* Asymmetric key operations */ #define CRK_ALGORITM_MIN 0 #define CRK_MOD_EXP 0 #define CRK_MOD_EXP_CRT 1 @@ -390,8 +390,8 @@ struct cryptotstat { struct cryptostats { u_int32_t cs_ops; /* symmetric crypto ops submitted */ u_int32_t cs_errs; /* symmetric crypto ops that failed */ - u_int32_t cs_kops; /* asymetric/key ops submitted */ - u_int32_t cs_kerrs; /* asymetric/key ops that failed */ + u_int32_t cs_kops; /* asymmetric/key ops submitted */ + u_int32_t cs_kerrs; /* asymmetric/key ops that failed */ u_int32_t cs_intrs; /* crypto swi thread activations */ u_int32_t cs_rets; /* crypto return thread activations */ u_int32_t cs_blocks; /* symmetric op driver block */