fix various typos in compatibility, mainly in comments.
This commit is contained in:
parent
9cea3ffa32
commit
6584ea569e
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: BRANCHES,v 1.363 2021/08/09 00:32:51 thorpej Exp $
|
# $NetBSD: BRANCHES,v 1.364 2021/08/09 20:49:08 andvar Exp $
|
||||||
#
|
#
|
||||||
# This file contains a list of branches that exist in the NetBSD CVS
|
# This file contains a list of branches that exist in the NetBSD CVS
|
||||||
# tree and their current state.
|
# tree and their current state.
|
||||||
|
@ -824,7 +824,7 @@ Maintainer: Bill Stouder-Studenmund <wrstuden@NetBSD.org>
|
||||||
Scope: src, though all the interesting stuff is in the kernel
|
Scope: src, though all the interesting stuff is in the kernel
|
||||||
Notes: This branch is intended to revive Scheduler Activations
|
Notes: This branch is intended to revive Scheduler Activations
|
||||||
in -current in the 5.0 era. This branch's main goal is
|
in -current in the 5.0 era. This branch's main goal is
|
||||||
to re-add syscall compatability so that SA-based libpthread
|
to re-add syscall compatibility so that SA-based libpthread
|
||||||
programs can run with a -current kernel. 1:1 threading will
|
programs can run with a -current kernel. 1:1 threading will
|
||||||
remain the NetBSD-default. This branch will re-add necessary
|
remain the NetBSD-default. This branch will re-add necessary
|
||||||
upcall support, and will also serve as a chance to clean
|
upcall support, and will also serve as a chance to clean
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: TODO.modules,v 1.23 2021/05/30 02:37:42 pgoyette Exp $ */
|
/* $NetBSD: TODO.modules,v 1.24 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
Some notes on the limitations of our current (as of 7.99.35) module
|
Some notes on the limitations of our current (as of 7.99.35) module
|
||||||
subsystem. This list was triggered by an Email exchange between
|
subsystem. This list was triggered by an Email exchange between
|
||||||
|
@ -129,7 +129,7 @@ christos and pgoyette.
|
||||||
kernel and its modules at /netbsd/kernel and /netbsd/modules/...
|
kernel and its modules at /netbsd/kernel and /netbsd/modules/...
|
||||||
Whatever new mechanism we arrive at will probably require changes to
|
Whatever new mechanism we arrive at will probably require changes to
|
||||||
installation procedures and bootstrap code, and will need to handle
|
installation procedures and bootstrap code, and will need to handle
|
||||||
both the new and old mechanisms for compatability.
|
both the new and old mechanisms for compatibility.
|
||||||
|
|
||||||
One additional option mentioned is to be able to specify, at boot
|
One additional option mentioned is to be able to specify, at boot
|
||||||
loader time, an alternate value for the os-release portion of the
|
loader time, an alternate value for the os-release portion of the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: netdb.h,v 1.70 2020/06/04 11:21:16 nia Exp $ */
|
/* $NetBSD: netdb.h,v 1.71 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ++Copyright++ 1980, 1983, 1988, 1993
|
* ++Copyright++ 1980, 1983, 1988, 1993
|
||||||
|
@ -151,7 +151,7 @@ struct hostent {
|
||||||
int h_addrtype; /*%< host address type */
|
int h_addrtype; /*%< host address type */
|
||||||
int h_length; /*%< length of address */
|
int h_length; /*%< length of address */
|
||||||
char **h_addr_list; /*%< list of addresses from name server */
|
char **h_addr_list; /*%< list of addresses from name server */
|
||||||
#define h_addr h_addr_list[0] /*%< address, for backward compatiblity */
|
#define h_addr h_addr_list[0] /*%< address, for backward compatibility */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*%
|
/*%
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: string.h,v 1.52 2018/02/20 02:35:24 kamil Exp $ */
|
/* $NetBSD: string.h,v 1.53 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
|
@ -95,7 +95,7 @@ __aconst char *strsignal(int);
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#if defined(_NETBSD_SOURCE)
|
#if defined(_NETBSD_SOURCE)
|
||||||
#include <strings.h> /* for backwards-compatibilty */
|
#include <strings.h> /* for backwards-compatibility */
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
void *memmem(const void *, size_t, const void *, size_t);
|
void *memmem(const void *, size_t, const void *, size_t);
|
||||||
char *strcasestr(const char *, const char *);
|
char *strcasestr(const char *, const char *);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: compat_sigpending.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
|
/* $NetBSD: compat_sigpending.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@ WARN_REFERENCES(sigpending, \
|
||||||
ENTRY(sigpending, 0)
|
ENTRY(sigpending, 0)
|
||||||
/*
|
/*
|
||||||
* AFAICT, since the hppa port came after __sigpending14,
|
* AFAICT, since the hppa port came after __sigpending14,
|
||||||
* we shouldn't have to supply the compatability sigpending.
|
* we shouldn't have to supply the compatibility sigpending.
|
||||||
*/
|
*/
|
||||||
b __cerror
|
b __cerror
|
||||||
ldi EINVAL, %t1
|
ldi EINVAL, %t1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: compat_sigprocmask.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
|
/* $NetBSD: compat_sigprocmask.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@ WARN_REFERENCES(sigprocmask, \
|
||||||
ENTRY(sigprocmask, 0)
|
ENTRY(sigprocmask, 0)
|
||||||
/*
|
/*
|
||||||
* AFAICT, since the hppa port came after __sigprocmask14,
|
* AFAICT, since the hppa port came after __sigprocmask14,
|
||||||
* we shouldn't have to supply the compatability sigprocmask.
|
* we shouldn't have to supply the compatibility sigprocmask.
|
||||||
*/
|
*/
|
||||||
b __cerror
|
b __cerror
|
||||||
ldi EINVAL, %t1
|
ldi EINVAL, %t1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: compat_sigreturn.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
|
/* $NetBSD: compat_sigreturn.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@ WARN_REFERENCES(sigreturn, \
|
||||||
ENTRY(sigreturn, 0)
|
ENTRY(sigreturn, 0)
|
||||||
/*
|
/*
|
||||||
* AFAICT, since the hppa port came after __sigreturn14,
|
* AFAICT, since the hppa port came after __sigreturn14,
|
||||||
* we shouldn't have to supply the compatability sigreturn.
|
* we shouldn't have to supply the compatibility sigreturn.
|
||||||
*/
|
*/
|
||||||
b __cerror
|
b __cerror
|
||||||
ldi EINVAL, %t1
|
ldi EINVAL, %t1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: compat_sigsuspend.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
|
/* $NetBSD: compat_sigsuspend.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@ WARN_REFERENCES(sigsuspend, \
|
||||||
ENTRY(sigsuspend, 0)
|
ENTRY(sigsuspend, 0)
|
||||||
/*
|
/*
|
||||||
* AFAICT, since the hppa port came after __sigsuspend14,
|
* AFAICT, since the hppa port came after __sigsuspend14,
|
||||||
* we shouldn't have to supply the compatability sigsuspend.
|
* we shouldn't have to supply the compatibility sigsuspend.
|
||||||
*/
|
*/
|
||||||
b __cerror
|
b __cerror
|
||||||
ldi EINVAL, %t1
|
ldi EINVAL, %t1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */
|
/* $NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -40,14 +40,14 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $");
|
__RCSID("$NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include <machine/ieee.h>
|
#include <machine/ieee.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
/* libc.so.12 ABI compatbility */
|
/* libc.so.12 ABI compatibility */
|
||||||
#ifdef __weak_alias
|
#ifdef __weak_alias
|
||||||
__weak_alias(isinf,__isinfd)
|
__weak_alias(isinf,__isinfd)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */
|
/* $NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -40,14 +40,14 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $");
|
__RCSID("$NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include <machine/ieee.h>
|
#include <machine/ieee.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
/* libc.so.12 ABI compatbility */
|
/* libc.so.12 ABI compatibility */
|
||||||
#ifdef __weak_alias
|
#ifdef __weak_alias
|
||||||
__weak_alias(isnan,__isnand)
|
__weak_alias(isnan,__isnand)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: brdsetup.c,v 1.39 2017/08/03 19:22:15 phx Exp $ */
|
/* $NetBSD: brdsetup.c,v 1.40 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||||
|
@ -513,7 +513,7 @@ encpcifix(struct brdprop *brd)
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
* //// IDE fixup ////
|
* //// IDE fixup ////
|
||||||
* - "compatiblity mode" (ide 0x09)
|
* - "compatibility mode" (ide 0x09)
|
||||||
* - remove PCI pin assignment (ide 0x3d)
|
* - remove PCI pin assignment (ide 0x3d)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -652,7 +652,7 @@ motpcifix(struct brdprop *brd)
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
* //// IDE fixup -- case B ////
|
* //// IDE fixup -- case B ////
|
||||||
* - "compatiblity mode" (ide 0x09)
|
* - "compatibility mode" (ide 0x09)
|
||||||
* - IDE primary/secondary interrupt routing (pcib 0x43)
|
* - IDE primary/secondary interrupt routing (pcib 0x43)
|
||||||
* - PCI interrupt routing (pcib 0x45/44)
|
* - PCI interrupt routing (pcib 0x45/44)
|
||||||
* - no PCI pin/line assignment (ide 0x3d/3c)
|
* - no PCI pin/line assignment (ide 0x3d/3c)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.sysio,v 1.13 2020/01/27 17:09:17 pgoyette Exp $
|
# $NetBSD: Makefile.sysio,v 1.14 2021/08/09 20:49:09 andvar Exp $
|
||||||
|
|
||||||
# Sources for syscall and ioctl compatibility across the versions.
|
# Sources for syscall and ioctl compatibility across the versions.
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ SRCS+= kern_exit_43.c kern_info_43.c kern_resource_43.c kern_sig_43.c \
|
||||||
SRCS+= kern_info_09.c
|
SRCS+= kern_info_09.c
|
||||||
SRCS+= compat_sysctl_09_43.c # for compat_43 or compat_09
|
SRCS+= compat_sysctl_09_43.c # for compat_43 or compat_09
|
||||||
|
|
||||||
# Compatability code for NetBSD 1.0
|
# Compatibility code for NetBSD 1.0
|
||||||
SRCS+= vfs_syscalls_10.c
|
SRCS+= vfs_syscalls_10.c
|
||||||
|
|
||||||
# Compatibility code for NetBSD 1.2
|
# Compatibility code for NetBSD 1.2
|
||||||
|
@ -46,7 +46,7 @@ SRCS+= kern_sa_60.c tty_60.c kern_time_60.c kern_cpu_60.c ccd_60.c
|
||||||
# Compatibility code for NetBSD 7.0
|
# Compatibility code for NetBSD 7.0
|
||||||
SRCS+= rtsock_70.c uipc_usrreq_70.c
|
SRCS+= rtsock_70.c uipc_usrreq_70.c
|
||||||
|
|
||||||
# Compatability code for NetBSD 8.0
|
# Compatibility code for NetBSD 8.0
|
||||||
SRCS+= kern_mod_80.c if_media_80.c
|
SRCS+= kern_mod_80.c if_media_80.c
|
||||||
|
|
||||||
# More compatibility code for NetBSD 5.0
|
# More compatibility code for NetBSD 5.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: files.common,v 1.6 2020/01/21 02:37:16 pgoyette Exp $
|
# $NetBSD: files.common,v 1.7 2021/08/09 20:49:09 andvar Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generic utility files, used by various compat options.
|
# Generic utility files, used by various compat options.
|
||||||
|
@ -28,7 +28,7 @@ file compat/common/compat_09_mod.c compat_09
|
||||||
file compat/common/kern_info_09.c compat_09
|
file compat/common/kern_info_09.c compat_09
|
||||||
file compat/common/compat_sysctl_09_43.c compat_09 | compat_43
|
file compat/common/compat_sysctl_09_43.c compat_09 | compat_43
|
||||||
|
|
||||||
# Compatability code for NetBSD 1.0
|
# Compatibility code for NetBSD 1.0
|
||||||
file compat/common/compat_10_mod.c compat_10
|
file compat/common/compat_10_mod.c compat_10
|
||||||
file compat/common/vfs_syscalls_10.c compat_10
|
file compat/common/vfs_syscalls_10.c compat_10
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: db_command.h,v 1.41 2021/02/23 07:13:53 mrg Exp $ */
|
/* $NetBSD: db_command.h,v 1.42 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -132,7 +132,7 @@ struct db_command {
|
||||||
#define CS_OWN 0x1 /* non-standard syntax */
|
#define CS_OWN 0x1 /* non-standard syntax */
|
||||||
#define CS_MORE 0x2 /* standard syntax, but may have other
|
#define CS_MORE 0x2 /* standard syntax, but may have other
|
||||||
words at end */
|
words at end */
|
||||||
#define CS_COMPAT 0x4 /* is set for compatibilty with old
|
#define CS_COMPAT 0x4 /* is set for compatibility with old
|
||||||
ddb versions */
|
ddb versions */
|
||||||
#define CS_SHOW 0x8 /* select show list */
|
#define CS_SHOW 0x8 /* select show list */
|
||||||
#define CS_MACH 0x10 /* select machine dependent list */
|
#define CS_MACH 0x10 /* select machine dependent list */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $ */
|
/* $NetBSD: acpi_util.c,v 1.25 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003, 2007, 2021 The NetBSD Foundation, Inc.
|
* Copyright (c) 2003, 2007, 2021 The NetBSD Foundation, Inc.
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.25 2021/08/09 20:49:09 andvar Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kmem.h>
|
#include <sys/kmem.h>
|
||||||
|
@ -435,7 +435,7 @@ acpi_compatible_free_strarray(const char **cpp, unsigned int count,
|
||||||
* acpi_compatible_match --
|
* acpi_compatible_match --
|
||||||
*
|
*
|
||||||
* Returns a weighted match value, comparing the _HID and _CID
|
* Returns a weighted match value, comparing the _HID and _CID
|
||||||
* IDs against a driver's compatbility data.
|
* IDs against a driver's compatibility data.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
acpi_compatible_match(const struct acpi_attach_args * const aa,
|
acpi_compatible_match(const struct acpi_attach_args * const aa,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: gpio.c,v 1.66 2021/08/07 16:19:10 thorpej Exp $ */
|
/* $NetBSD: gpio.c,v 1.67 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
|
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.66 2021/08/07 16:19:10 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.67 2021/08/09 20:49:09 andvar Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* General Purpose Input/Output framework.
|
* General Purpose Input/Output framework.
|
||||||
|
@ -812,7 +812,7 @@ gpio_ioctl(struct gpio_softc *sc, u_long cmd, void *data, int flag,
|
||||||
/*
|
/*
|
||||||
* The double assignment to 'attach' in case of GPIOATTACH
|
* The double assignment to 'attach' in case of GPIOATTACH
|
||||||
* and COMPAT_50 is on purpose. It ensures backward
|
* and COMPAT_50 is on purpose. It ensures backward
|
||||||
* compatability in case we are called through the old
|
* compatibility in case we are called through the old
|
||||||
* GPIOATTACH50 ioctl(2), which had not the ga_flags field
|
* GPIOATTACH50 ioctl(2), which had not the ga_flags field
|
||||||
* in struct gpio_attach.
|
* in struct gpio_attach.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dbcool.c,v 1.62 2021/06/21 03:12:54 christos Exp $ */
|
/* $NetBSD: dbcool.c,v 1.63 2021/08/09 20:49:09 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.62 2021/06/21 03:12:54 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.63 2021/08/09 20:49:09 andvar Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -1501,7 +1501,7 @@ dbcool_setup(device_t self)
|
||||||
/*
|
/*
|
||||||
* Some chips are capable of reporting an extended temperature range
|
* Some chips are capable of reporting an extended temperature range
|
||||||
* by default. On these models, config register 5 bit 0 can be set
|
* by default. On these models, config register 5 bit 0 can be set
|
||||||
* to 1 for compatability with other chips that report 2s complement.
|
* to 1 for compatibility with other chips that report 2s complement.
|
||||||
*/
|
*/
|
||||||
if (sc->sc_dc.dc_chip->flags & DBCFLAG_ADT7466) {
|
if (sc->sc_dc.dc_chip->flags & DBCFLAG_ADT7466) {
|
||||||
if (sc->sc_dc.dc_readreg(&sc->sc_dc, DBCOOL_ADT7466_CONFIG1) & 0x80)
|
if (sc->sc_dc.dc_readreg(&sc->sc_dc, DBCOOL_ADT7466_CONFIG1) & 0x80)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $ */
|
/* $NetBSD: ath.c,v 1.136 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
|
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
|
||||||
#endif
|
#endif
|
||||||
#ifdef __NetBSD__
|
#ifdef __NetBSD__
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.136 2021/08/09 20:49:10 andvar Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -5307,7 +5307,7 @@ ath_watchdog(struct ifnet *ifp)
|
||||||
* Diagnostic interface to the HAL. This is used by various
|
* Diagnostic interface to the HAL. This is used by various
|
||||||
* tools to do things like retrieve register contents for
|
* tools to do things like retrieve register contents for
|
||||||
* debugging. The mechanism is intentionally opaque so that
|
* debugging. The mechanism is intentionally opaque so that
|
||||||
* it can change frequently w/o concern for compatiblity.
|
* it can change frequently w/o concern for compatibility.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad)
|
ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dp8390var.h,v 1.35 2021/06/30 20:00:18 thorpej Exp $ */
|
/* $NetBSD: dp8390var.h,v 1.36 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
|
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
|
||||||
|
@ -34,7 +34,7 @@ struct dp8390_softc {
|
||||||
|
|
||||||
struct ethercom sc_ec; /* ethernet common */
|
struct ethercom sc_ec; /* ethernet common */
|
||||||
struct mii_data sc_mii; /* MII glue */
|
struct mii_data sc_mii; /* MII glue */
|
||||||
#define sc_media sc_mii.mii_media /* compatibilty definition */
|
#define sc_media sc_mii.mii_media /* compatibility definition */
|
||||||
callout_t sc_tick_ch; /* MII tick callout */
|
callout_t sc_tick_ch; /* MII tick callout */
|
||||||
|
|
||||||
bus_space_tag_t sc_regt; /* NIC register space tag */
|
bus_space_tag_t sc_regt; /* NIC register space tag */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sl811hs.c,v 1.106 2021/08/07 16:19:12 thorpej Exp $ */
|
/* $NetBSD: sl811hs.c,v 1.107 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Not (c) 2007 Matthew Orgass
|
* Not (c) 2007 Matthew Orgass
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.106 2021/08/07 16:19:12 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.107 2021/08/09 20:49:10 andvar Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_slhci.h"
|
#include "opt_slhci.h"
|
||||||
|
@ -2859,7 +2859,7 @@ slhci_reset(struct slhci_softc *sc)
|
||||||
/*
|
/*
|
||||||
* Initialize B registers. This can't be done earlier since
|
* Initialize B registers. This can't be done earlier since
|
||||||
* they are not valid until the SL811_CSOF register is written
|
* they are not valid until the SL811_CSOF register is written
|
||||||
* above due to SL11H compatability.
|
* above due to SL11H compatibility.
|
||||||
*/
|
*/
|
||||||
slhci_write(sc, SL11_E1ADDR, SL11_BUFFER_END - 8);
|
slhci_write(sc, SL11_E1ADDR, SL11_BUFFER_END - 8);
|
||||||
slhci_write(sc, SL11_E1LEN, 0);
|
slhci_write(sc, SL11_E1LEN, 0);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: compat_stub.c,v 1.21 2020/11/01 18:51:02 pgoyette Exp $ */
|
/* $NetBSD: compat_stub.c,v 1.22 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2018 The NetBSD Foundation, Inc.
|
* Copyright (c) 2018 The NetBSD Foundation, Inc.
|
||||||
|
@ -75,83 +75,83 @@ void (*vec_sctp_delete_ip_address)(struct ifaddr *) = NULL;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* usb device_info compatability
|
* usb device_info compatibility
|
||||||
*/
|
*/
|
||||||
struct usb_subr_fill_30_hook_t usb_subr_fill_30_hook;
|
struct usb_subr_fill_30_hook_t usb_subr_fill_30_hook;
|
||||||
struct usb_subr_copy_30_hook_t usb_subr_copy_30_hook;
|
struct usb_subr_copy_30_hook_t usb_subr_copy_30_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ccd device compatability ioctl
|
* ccd device compatibility ioctl
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct ccd_ioctl_60_hook_t ccd_ioctl_60_hook;
|
struct ccd_ioctl_60_hook_t ccd_ioctl_60_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* clockctl device compatability ioctl
|
* clockctl device compatibility ioctl
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct clockctl_ioctl_50_hook_t clockctl_ioctl_50_hook;
|
struct clockctl_ioctl_50_hook_t clockctl_ioctl_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if_sppp device compatability ioctl subroutine
|
* if_sppp device compatibility ioctl subroutine
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct sppp_params_50_hook_t sppp_params_50_hook;
|
struct sppp_params_50_hook_t sppp_params_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* cryptodev compatability ioctl
|
* cryptodev compatibility ioctl
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct ocryptof_50_hook_t ocryptof_50_hook;
|
struct ocryptof_50_hook_t ocryptof_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* raidframe compatability
|
* raidframe compatibility
|
||||||
*/
|
*/
|
||||||
struct raidframe_ioctl_50_hook_t raidframe_ioctl_50_hook;
|
struct raidframe_ioctl_50_hook_t raidframe_ioctl_50_hook;
|
||||||
struct raidframe_ioctl_80_hook_t raidframe_ioctl_80_hook;
|
struct raidframe_ioctl_80_hook_t raidframe_ioctl_80_hook;
|
||||||
struct raidframe_netbsd32_ioctl_hook_t raidframe_netbsd32_ioctl_hook;
|
struct raidframe_netbsd32_ioctl_hook_t raidframe_netbsd32_ioctl_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* puffs compatability
|
* puffs compatibility
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct puffs_out_50_hook_t puffs_out_50_hook;
|
struct puffs_out_50_hook_t puffs_out_50_hook;
|
||||||
struct puffs_in_50_hook_t puffs_in_50_hook;
|
struct puffs_in_50_hook_t puffs_in_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* wsevents compatability
|
* wsevents compatibility
|
||||||
*/
|
*/
|
||||||
struct wscons_copyout_events_50_hook_t wscons_copyout_events_50_hook;
|
struct wscons_copyout_events_50_hook_t wscons_copyout_events_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* sysmon_power compatability
|
* sysmon_power compatibility
|
||||||
*/
|
*/
|
||||||
struct compat_sysmon_power_40_hook_t compat_sysmon_power_40_hook;
|
struct compat_sysmon_power_40_hook_t compat_sysmon_power_40_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* compat_bio compatability
|
* compat_bio compatibility
|
||||||
*/
|
*/
|
||||||
struct compat_bio_30_hook_t compat_bio_30_hook;
|
struct compat_bio_30_hook_t compat_bio_30_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* vnd ioctl compatability
|
* vnd ioctl compatibility
|
||||||
*/
|
*/
|
||||||
struct compat_vndioctl_30_hook_t compat_vndioctl_30_hook;
|
struct compat_vndioctl_30_hook_t compat_vndioctl_30_hook;
|
||||||
struct compat_vndioctl_50_hook_t compat_vndioctl_50_hook;
|
struct compat_vndioctl_50_hook_t compat_vndioctl_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ieee80211 ioctl compatability
|
* ieee80211 ioctl compatibility
|
||||||
*/
|
*/
|
||||||
struct ieee80211_ioctl_20_hook_t ieee80211_ioctl_20_hook;
|
struct ieee80211_ioctl_20_hook_t ieee80211_ioctl_20_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if_43 compatability
|
* if_43 compatibility
|
||||||
*/
|
*/
|
||||||
struct if_cvtcmd_43_hook_t if_cvtcmd_43_hook;
|
struct if_cvtcmd_43_hook_t if_cvtcmd_43_hook;
|
||||||
struct if_ifioctl_43_hook_t if_ifioctl_43_hook;
|
struct if_ifioctl_43_hook_t if_ifioctl_43_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if43_cvtcmd_20 compatability
|
* if43_cvtcmd_20 compatibility
|
||||||
*/
|
*/
|
||||||
struct if43_cvtcmd_20_hook_t if43_cvtcmd_20_hook;
|
struct if43_cvtcmd_20_hook_t if43_cvtcmd_20_hook;
|
||||||
|
|
||||||
|
@ -173,18 +173,18 @@ struct uipc_socket_50_getopt1_hook_t uipc_socket_50_getopt1_hook;
|
||||||
struct uipc_socket_50_sbts_hook_t uipc_socket_50_sbts_hook;
|
struct uipc_socket_50_sbts_hook_t uipc_socket_50_sbts_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* uipc_syscalls_50 compatability
|
* uipc_syscalls_50 compatibility
|
||||||
*/
|
*/
|
||||||
struct uipc_syscalls_50_hook_t uipc_syscalls_50_hook;
|
struct uipc_syscalls_50_hook_t uipc_syscalls_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rtsock 14 compatability
|
* rtsock 14 compatibility
|
||||||
*/
|
*/
|
||||||
struct rtsock_oifmsg_14_hook_t rtsock_oifmsg_14_hook;
|
struct rtsock_oifmsg_14_hook_t rtsock_oifmsg_14_hook;
|
||||||
struct rtsock_iflist_14_hook_t rtsock_iflist_14_hook;
|
struct rtsock_iflist_14_hook_t rtsock_iflist_14_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rtsock 50 compatability
|
* rtsock 50 compatibility
|
||||||
*/
|
*/
|
||||||
struct rtsock_iflist_50_hook_t rtsock_iflist_50_hook;
|
struct rtsock_iflist_50_hook_t rtsock_iflist_50_hook;
|
||||||
struct rtsock_oifmsg_50_hook_t rtsock_oifmsg_50_hook;
|
struct rtsock_oifmsg_50_hook_t rtsock_oifmsg_50_hook;
|
||||||
|
@ -197,7 +197,7 @@ struct rtsock_rt_addrmsg_50_hook_t rtsock_rt_addrmsg_50_hook;
|
||||||
struct rtsock_rt_ieee80211msg_50_hook_t rtsock_rt_ieee80211msg_50_hook;
|
struct rtsock_rt_ieee80211msg_50_hook_t rtsock_rt_ieee80211msg_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rtsock 70 compatability
|
* rtsock 70 compatibility
|
||||||
*/
|
*/
|
||||||
struct rtsock_newaddr_70_hook_t rtsock_newaddr_70_hook;
|
struct rtsock_newaddr_70_hook_t rtsock_newaddr_70_hook;
|
||||||
struct rtsock_iflist_70_hook_t rtsock_iflist_70_hook;
|
struct rtsock_iflist_70_hook_t rtsock_iflist_70_hook;
|
||||||
|
@ -252,7 +252,7 @@ struct uipc_unp_70_hook_t uipc_unp_70_hook;
|
||||||
struct sysvipc_sysctl_50_hook_t sysvipc_sysctl_50_hook;
|
struct sysvipc_sysctl_50_hook_t sysvipc_sysctl_50_hook;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ifmedia_80 compatability
|
* ifmedia_80 compatibility
|
||||||
*/
|
*/
|
||||||
struct ifmedia_80_pre_hook_t ifmedia_80_pre_hook;
|
struct ifmedia_80_pre_hook_t ifmedia_80_pre_hook;
|
||||||
struct ifmedia_80_post_hook_t ifmedia_80_post_hook;
|
struct ifmedia_80_post_hook_t ifmedia_80_post_hook;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sys_ptrace_common.c,v 1.91 2020/11/04 19:27:41 pgoyette Exp $ */
|
/* $NetBSD: sys_ptrace_common.c,v 1.92 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.91 2020/11/04 19:27:41 pgoyette Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.92 2021/08/09 20:49:10 andvar Exp $");
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_ptrace.h"
|
#include "opt_ptrace.h"
|
||||||
|
@ -1146,7 +1146,7 @@ do_ptrace(struct ptrace_methods *ptm, struct lwp *l, int req, pid_t pid,
|
||||||
* but was extended to two 16-bit (2 x 64kb) address spaces.
|
* but was extended to two 16-bit (2 x 64kb) address spaces.
|
||||||
*
|
*
|
||||||
* We no longer maintain this feature in maintained architectures, but
|
* We no longer maintain this feature in maintained architectures, but
|
||||||
* we keep the API for backward compatiblity. Currently the I and D
|
* we keep the API for backward compatibility. Currently the I and D
|
||||||
* operations are exactly the same and not distinguished in debuggers.
|
* operations are exactly the same and not distinguished in debuggers.
|
||||||
*/
|
*/
|
||||||
case PT_WRITE_I:
|
case PT_WRITE_I:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $ */
|
/* $NetBSD: tty_conf.c,v 1.57 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
|
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.57 2021/08/09 20:49:10 andvar Exp $");
|
||||||
|
|
||||||
#define TTY_ALLOW_PRIVATE
|
#define TTY_ALLOW_PRIVATE
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ static struct linesw termios_disc = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is for the benefit of old BSD TTY compatbility, but since it is
|
* This is for the benefit of old BSD TTY compatibility, but since it is
|
||||||
* identical to termios (except for the name), don't bother conditionalizing
|
* identical to termios (except for the name), don't bother conditionalizing
|
||||||
* it.
|
* it.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# $NetBSD: Makefile,v 1.250 2021/05/17 04:07:43 yamaguchi Exp $
|
# $NetBSD: Makefile,v 1.251 2021/08/09 20:49:10 andvar Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# For all platforms
|
# For all platforms
|
||||||
|
|
||||||
# Modules for compatability with earlier versions of NetBSD
|
# Modules for compatibility with earlier versions of NetBSD
|
||||||
|
|
||||||
SUBDIR+= compat_util
|
SUBDIR+= compat_util
|
||||||
SUBDIR+= compat_43 compat_sysctl_09_43
|
SUBDIR+= compat_43 compat_sysctl_09_43
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: if.h,v 1.291 2021/06/29 21:19:58 riastradh Exp $ */
|
/* $NetBSD: if.h,v 1.292 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||||
|
@ -762,7 +762,7 @@ struct ifaddr {
|
||||||
/*
|
/*
|
||||||
* Message format for use in obtaining information about interfaces from
|
* Message format for use in obtaining information about interfaces from
|
||||||
* sysctl and the routing socket. We need to force 64-bit alignment if we
|
* sysctl and the routing socket. We need to force 64-bit alignment if we
|
||||||
* aren't using compatiblity definitons.
|
* aren't using compatibility definitions.
|
||||||
*/
|
*/
|
||||||
#if !defined(_KERNEL) || !defined(COMPAT_RTSOCK)
|
#if !defined(_KERNEL) || !defined(COMPAT_RTSOCK)
|
||||||
#define __align64 __aligned(sizeof(uint64_t))
|
#define __align64 __aligned(sizeof(uint64_t))
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: route.h,v 1.128 2021/03/22 18:40:18 christos Exp $ */
|
/* $NetBSD: route.h,v 1.129 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1980, 1986, 1993
|
* Copyright (c) 1980, 1986, 1993
|
||||||
|
@ -207,7 +207,7 @@ struct rtstat {
|
||||||
|
|
||||||
#if !defined(_KERNEL) || !defined(COMPAT_RTSOCK)
|
#if !defined(_KERNEL) || !defined(COMPAT_RTSOCK)
|
||||||
/*
|
/*
|
||||||
* If we aren't being compiled for backwards compatiblity, enforce 64-bit
|
* If we aren't being compiled for backwards compatibility, enforce 64-bit
|
||||||
* alignment so any routing message is the same regardless if the kernel
|
* alignment so any routing message is the same regardless if the kernel
|
||||||
* is an ILP32 or LP64 kernel.
|
* is an ILP32 or LP64 kernel.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
|
/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
|
||||||
/* $NetBSD: sctp_pcb.h,v 1.3 2020/01/19 20:51:13 riastradh Exp $ */
|
/* $NetBSD: sctp_pcb.h,v 1.4 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
#ifndef __SCTP_PCB_H__
|
#ifndef __SCTP_PCB_H__
|
||||||
#define __SCTP_PCB_H__
|
#define __SCTP_PCB_H__
|
||||||
|
@ -283,7 +283,7 @@ struct sctp_socket_q_list {
|
||||||
struct sctp_inpcb {
|
struct sctp_inpcb {
|
||||||
/*
|
/*
|
||||||
* put an inpcb in front of it all, kind of a waste but we need
|
* put an inpcb in front of it all, kind of a waste but we need
|
||||||
* to for compatability with all the other stuff.
|
* to for compatibility with all the other stuff.
|
||||||
*/
|
*/
|
||||||
union {
|
union {
|
||||||
struct inpcb inp;
|
struct inpcb inp;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: key.h,v 1.36 2018/04/19 08:27:38 maxv Exp $ */
|
/* $NetBSD: key.h,v 1.37 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
/* $FreeBSD: key.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
|
/* $FreeBSD: key.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
|
||||||
/* $KAME: key.h,v 1.21 2001/07/27 03:51:30 itojun Exp $ */
|
/* $KAME: key.h,v 1.21 2001/07/27 03:51:30 itojun Exp $ */
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ struct secpolicy *key_newsp(const char*, int);
|
||||||
struct secpolicy *key_gettunnel(const struct sockaddr *,
|
struct secpolicy *key_gettunnel(const struct sockaddr *,
|
||||||
const struct sockaddr *, const struct sockaddr *,
|
const struct sockaddr *, const struct sockaddr *,
|
||||||
const struct sockaddr *, const char *, int);
|
const struct sockaddr *, const char *, int);
|
||||||
/* NB: prepend with _ for KAME IPv6 compatbility */
|
/* NB: prepend with _ for KAME IPv6 compatibility */
|
||||||
void key_init_sp(struct secpolicy *);
|
void key_init_sp(struct secpolicy *);
|
||||||
void key_free_sp(struct secpolicy *);
|
void key_free_sp(struct secpolicy *);
|
||||||
u_int key_sp_refcnt(const struct secpolicy *);
|
u_int key_sp_refcnt(const struct secpolicy *);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: option.c,v 1.28 2020/11/01 05:38:29 mrg Exp $ */
|
/* $NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993, 1994
|
* Copyright (c) 1990, 1993, 1994
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "from: @(#)option.c 8.2 (Berkeley) 4/16/94";
|
static char sccsid[] = "from: @(#)option.c 8.2 (Berkeley) 4/16/94";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: option.c,v 1.28 2020/11/01 05:38:29 mrg Exp $");
|
__RCSID("$NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ static OPTION const options[] = {
|
||||||
{ "-name", N_NAME, c_name, 1 },
|
{ "-name", N_NAME, c_name, 1 },
|
||||||
{ "-newer", N_NEWER, c_newer, 1 },
|
{ "-newer", N_NEWER, c_newer, 1 },
|
||||||
|
|
||||||
/* Aliases for compatability with Gnu findutils */
|
/* Aliases for compatibility with Gnu findutils */
|
||||||
{ "-neweraa", N_ANEWER, c_anewer, 1 },
|
{ "-neweraa", N_ANEWER, c_anewer, 1 },
|
||||||
{ "-newerat", N_ASINCE, c_asince, 1 },
|
{ "-newerat", N_ASINCE, c_asince, 1 },
|
||||||
{ "-newercc", N_CNEWER, c_cnewer, 1 },
|
{ "-newercc", N_CNEWER, c_cnewer, 1 },
|
||||||
|
@ -126,7 +126,7 @@ static OPTION const options[] = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{ "-nogroup", N_NOGROUP, c_nogroup, 0 },
|
{ "-nogroup", N_NOGROUP, c_nogroup, 0 },
|
||||||
/* Alias for compatability with Gnu findutils */
|
/* Alias for compatibility with Gnu findutils */
|
||||||
{ "-not", N_NOT, c_not, 0 },
|
{ "-not", N_NOT, c_not, 0 },
|
||||||
{ "-nouser", N_NOUSER, c_nouser, 0 },
|
{ "-nouser", N_NOUSER, c_nouser, 0 },
|
||||||
{ "-o", N_OR, c_or, 0 },
|
{ "-o", N_OR, c_or, 0 },
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: README,v 1.3 2003/11/12 13:31:07 grant Exp $
|
# $NetBSD: README,v 1.4 2021/08/09 20:49:11 andvar Exp $
|
||||||
|
|
||||||
|
|
||||||
July 1995 - Ported to NetBSD by Gordon Ross <gwr@NetBSD.org>
|
July 1995 - Ported to NetBSD by Gordon Ross <gwr@NetBSD.org>
|
||||||
|
@ -47,7 +47,7 @@ or porting this should watch for the following:
|
||||||
- Since some commands (especially lpq) can hang up forever if, say,
|
- Since some commands (especially lpq) can hang up forever if, say,
|
||||||
the host of a remote printer is down, the su_popen mechanism now
|
the host of a remote printer is down, the su_popen mechanism now
|
||||||
includes a watchdog timer. I HAVE NOT HAD A CHANCE TO TEST THIS
|
includes a watchdog timer. I HAVE NOT HAD A CHANCE TO TEST THIS
|
||||||
LOGIC ON SVR4 YET! The code was derived from the System V compatiility
|
LOGIC ON SVR4 YET! The code was derived from the System V compatibility
|
||||||
section of the AnswerBook, so it _should_ be OK, but I can't wait to
|
section of the AnswerBook, so it _should_ be OK, but I can't wait to
|
||||||
test it before posting this.
|
test it before posting this.
|
||||||
- I've mades lots of lint-suggested improvements. It doesn't lint
|
- I've mades lots of lint-suggested improvements. It doesn't lint
|
||||||
|
|
Loading…
Reference in New Issue