CVS commit: [pgoyette-compat] src/sys/sys

2019-01-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 27 02:37:07 UTC 2019

Modified Files:
src/sys/sys [pgoyette-compat]: param.h

Log Message:
Update version on the branch, too


To generate a diff of this commit:
cvs rdiff -u -r1.557.2.11 -r1.557.2.12 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 26 03:37:14 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Add a note concerning MPSAFE


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.26 -r1.1.2.27 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 25 22:56:54 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Note the future need to sort out placement of the netbsd32_machine32_hook


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 25 10:13:07 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_sysctl.c

Log Message:
Revert previous change(s).  There's no good reason to use the hook when
the required value is available locally (in the current module).

Thanks mrg@ for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.38.2.5 -r1.38.2.6 src/sys/compat/netbsd32/netbsd32_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 25 09:36:09 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32.h netbsd32_mod.c
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Move the netbsd32_machine32_hook into the main kernel with most of
the other hooks.

Although this hook might better belong in compat/netbsd32/ code,
there are some machines without a netbsd32 module (for example, i386
and sgimips) which still have consumers/users of this hook.  :(


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.18 -r1.115.2.19 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.14 -r1.15.2.15 \
src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.110.14.7 -r1.110.14.8 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.94.12.7 -r1.94.12.8 \
src/sys/compat/linux/common/linux_exec_elf32.c
cvs rdiff -u -r1.116.2.18 -r1.116.2.19 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -u -r1.13.16.18 -r1.13.16.19 src/sys/compat/netbsd32/netbsd32_mod.c
cvs rdiff -u -r1.1.2.41 -r1.1.2.42 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.1.2.54 -r1.1.2.55 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/sparc/fpu

2019-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 25 09:04:51 UTC 2019

Modified Files:
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c

Log Message:
Declare the variable which we're using as the return value of the
hook function.


To generate a diff of this commit:
cvs rdiff -u -r1.27.46.5 -r1.27.46.6 src/sys/arch/sparc/fpu/fpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux32/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 06:48:27 UTC 2019

Modified Files:
src/sys/compat/linux32/common [pgoyette-compat]: linux32_mod.c

Log Message:
Restore the MD-vs-REQ requirements structure, just in case


To generate a diff of this commit:
cvs rdiff -u -r1.11.2.4 -r1.11.2.5 \
src/sys/compat/linux32/common/linux32_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux32/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 06:23:26 UTC 2019

Modified Files:
src/sys/compat/linux32/common [pgoyette-compat]: linux32_mod.c

Log Message:
Clean up and reorganize the requirements for compat_linux32 module


To generate a diff of this commit:
cvs rdiff -u -r1.11.2.3 -r1.11.2.4 \
src/sys/compat/linux32/common/linux32_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 05:06:43 UTC 2019

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c

Log Message:
Move the definition around to avoid strange compiler error (something
about trying to set a section attribute on a local variable).


To generate a diff of this commit:
cvs rdiff -u -r1.94.12.6 -r1.94.12.7 \
src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:52:58 UTC 2019

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c

Log Message:
revert previous, just define the hook here


To generate a diff of this commit:
cvs rdiff -u -r1.94.12.5 -r1.94.12.6 \
src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:41:34 UTC 2019

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c

Log Message:
And include the definition


To generate a diff of this commit:
cvs rdiff -u -r1.94.12.4 -r1.94.12.5 \
src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:37:24 UTC 2019

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c

Log Message:
Make sure we declare the hook variable


To generate a diff of this commit:
cvs rdiff -u -r1.94.12.3 -r1.94.12.4 \
src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:32:41 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_sysctl.c

Log Message:
I must be getting tired - use the correct name of the hook


To generate a diff of this commit:
cvs rdiff -u -r1.38.2.4 -r1.38.2.5 src/sys/compat/netbsd32/netbsd32_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:31:19 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_sysctl.c

Log Message:
I wrote this stuff, when will I ever learn to use MODULE_CALL_HOOK
instead of MODULE_HOOK_CALL ?  :)


To generate a diff of this commit:
cvs rdiff -u -r1.38.2.3 -r1.38.2.4 src/sys/compat/netbsd32/netbsd32_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:24:52 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_sysctl.c

Log Message:
Use the hook to get the value of machine32


To generate a diff of this commit:
cvs rdiff -u -r1.38.2.2 -r1.38.2.3 src/sys/compat/netbsd32/netbsd32_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:16:03 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_exec_elf32.c

Log Message:
Use correct macro name


To generate a diff of this commit:
cvs rdiff -u -r1.40.14.1 -r1.40.14.2 \
src/sys/compat/netbsd32/netbsd32_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 04:08:10 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32.h netbsd32_mod.c
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Rework placement of the new netbsd32_machine32_hook


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.17 -r1.115.2.18 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.13 -r1.15.2.14 \
src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.110.14.6 -r1.110.14.7 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.94.12.2 -r1.94.12.3 \
src/sys/compat/linux/common/linux_exec_elf32.c
cvs rdiff -u -r1.116.2.17 -r1.116.2.18 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -u -r1.13.16.17 -r1.13.16.18 src/sys/compat/netbsd32/netbsd32_mod.c
cvs rdiff -u -r1.1.2.40 -r1.1.2.41 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.1.2.53 -r1.1.2.54 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 03:41:48 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_exec_elf32.c
netbsd32_sysctl.c

Log Message:
Found a couple other consumers of machine32 - adapt them to use the hook


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.40.14.1 src/sys/compat/netbsd32/netbsd32_exec_elf32.c
cvs rdiff -u -r1.38.2.1 -r1.38.2.2 src/sys/compat/netbsd32/netbsd32_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 03:27:24 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Replace weak symbol definition for machine32 with a hook.  Our in-kernel
linker doesn't handle weak symbols, so this prevented us from loading the
compat_linux32 module.

XXX There don't seem to be any other consumers of machine32 (nor does
XXX there seem to be any consumers of machine_arch32), even though it
XXX is defined for aarch64, arm32, and riscv).


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.16 -r1.115.2.17 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.12 -r1.15.2.13 \
src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.110.14.5 -r1.110.14.6 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.94.12.1 -r1.94.12.2 \
src/sys/compat/linux/common/linux_exec_elf32.c
cvs rdiff -u -r1.1.2.39 -r1.1.2.40 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.1.2.52 -r1.1.2.53 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/raidframe

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 02:09:56 UTC 2019

Modified Files:
src/sys/dev/raidframe [pgoyette-compat]: rf_compat80.c

Log Message:
Need sys/module.h here


To generate a diff of this commit:
cvs rdiff -u -r1.2.2.7 -r1.2.2.8 src/sys/dev/raidframe/rf_compat80.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 02:06:35 UTC 2019

Modified Files:
src/sys/dev/raidframe [pgoyette-compat]: rf_compat50.c rf_compat80.c
src/sys/modules/compat_raid_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_raid_80 [pgoyette-compat]: Makefile
Removed Files:
src/sys/compat/common [pgoyette-compat]: compat_raid_50.c
compat_raid_80.c

Log Message:
The raidframe compat code lives in sys/dev/raidframe/ so move all the
module stuff there.  Update the Makefiles appropriately.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r0 src/sys/compat/common/compat_raid_50.c
cvs rdiff -u -r1.1.2.1 -r0 src/sys/compat/common/compat_raid_80.c
cvs rdiff -u -r1.3.2.8 -r1.3.2.9 src/sys/dev/raidframe/rf_compat50.c
cvs rdiff -u -r1.2.2.6 -r1.2.2.7 src/sys/dev/raidframe/rf_compat80.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_raid_50/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_raid_80/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/linux/common

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 02:05:16 UTC 2019

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_mod.c

Log Message:
Reduce the list of required modules to what is really needed


To generate a diff of this commit:
cvs rdiff -u -r1.10.2.3 -r1.10.2.4 src/sys/compat/linux/common/linux_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 24 00:26:32 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Disable more COMPAT_xx stuff for the NOCOMPAT config
cvs: --


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/raidframe

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 20:19:47 UTC 2019

Modified Files:
src/sys/dev/raidframe [pgoyette-compat]: rf_compat80.c

Log Message:
Another missing semicolon.  gr.


To generate a diff of this commit:
cvs rdiff -u -r1.2.2.5 -r1.2.2.6 src/sys/dev/raidframe/rf_compat80.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/raidframe

2019-01-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 09:33:47 UTC 2019

Modified Files:
src/sys/dev/raidframe [pgoyette-compat]: rf_compat50.c

Log Message:
Ooops, missed a semicolon - add it back


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.7 -r1.3.2.8 src/sys/dev/raidframe/rf_compat50.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 03:40:08 UTC 2019

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Improve a comment


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 03:34:15 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep_16.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep_16.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep_16.c
src/sys/compat/common [pgoyette-compat]: bio_30.c ccd_60.c
clockctl_50.c compat_sysv_50_mod.c ieee80211_20.c if43_20.c if_43.c
if_spppsubr50.c kern_mod_80.c rndpseudo_50.c rtsock_14.c
rtsock_50.c rtsock_70.c sysmon_power_40.c tty_60.c
uipc_syscalls_40.c uipc_syscalls_50.c uipc_usrreq_70.c
usb_subr_30.c vfs_syscalls_10.c vnd_30.c vnd_50.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_50.c
netbsd32_compat_80.c netbsd32_kern_proc.c
src/sys/compat/sunos [pgoyette-compat]: sunos_mod.c
src/sys/compat/sunos32 [pgoyette-compat]: sunos32_mod.c
src/sys/dev/raidframe [pgoyette-compat]: rf_compat50.c rf_compat80.c
src/sys/dev/wscons [pgoyette-compat]: wsevent_50.c
src/sys/fs/puffs [pgoyette-compat]: puffs_compat.c
src/sys/opencrypto [pgoyette-compat]: ocryptodev.c
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit.  IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 \
src/sys/arch/amd64/amd64/netbsd32_machdep_16.c
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 \
src/sys/arch/mips/mips/netbsd32_machdep_16.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/compat/common/bio_30.c \
src/sys/compat/common/clockctl_50.c src/sys/compat/common/if43_20.c \
src/sys/compat/common/vfs_syscalls_10.c src/sys/compat/common/vnd_30.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/compat/common/ccd_60.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/common/compat_sysv_50_mod.c \
src/sys/compat/common/ieee80211_20.c src/sys/compat/common/vnd_50.c
cvs rdiff -u -r1.14.2.14 -r1.14.2.15 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/compat/common/if_spppsubr50.c
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/compat/common/kern_mod_80.c
cvs rdiff -u -r1.2.38.2 -r1.2.38.3 src/sys/compat/common/rndpseudo_50.c
cvs rdiff -u -r1.5.14.6 -r1.5.14.7 src/sys/compat/common/rtsock_14.c
cvs rdiff -u -r1.6.2.6 -r1.6.2.7 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r1.2.2.4 -r1.2.2.5 src/sys/compat/common/rtsock_70.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/compat/common/sysmon_power_40.c
cvs rdiff -u -r1.4.16.6 -r1.4.16.7 src/sys/compat/common/tty_60.c
cvs rdiff -u -r1.15.2.12 -r1.15.2.13 src/sys/compat/common/uipc_syscalls_40.c
cvs rdiff -u -r1.3.56.12 -r1.3.56.13 src/sys/compat/common/uipc_syscalls_50.c
cvs rdiff -u -r1.1.20.5 -r1.1.20.6 src/sys/compat/common/uipc_usrreq_70.c
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/compat/common/usb_subr_30.c
cvs rdiff -u -r1.32.16.15 -r1.32.16.16 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/compat/netbsd32/netbsd32_compat_80.c
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/compat/netbsd32/netbsd32_kern_proc.c
cvs rdiff -u -r1.3.28.2 -r1.3.28.3 src/sys/compat/sunos/sunos_mod.c
cvs rdiff -u -r1.3.28.2 -r1.3.28.3 src/sys/compat/sunos32/sunos32_mod.c
cvs rdiff -u -r1.3.2.6 -r1.3.2.7 src/sys/dev/raidframe/rf_compat50.c
cvs rdiff -u -r1.2.2.4 -r1.2.2.5 src/sys/dev/raidframe/rf_compat80.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/dev/wscons/wsevent_50.c
cvs rdiff -u -r1.4.16.5 -r1.4.16.6 src/sys/fs/puffs/puffs_compat.c
cvs rdiff -u -r1.11.2.7 -r1.11.2.8 src/sys/opencrypto/ocryptodev.c
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/common

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 02:55:10 UTC 2019

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_raid_50.c

Log Message:
Add compat_raid_80 to the required list


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/common/compat_raid_50.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 02:25:29 UTC 2019

Modified Files:
src/sys/modules/compat_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_80 [pgoyette-compat]: Makefile

Log Message:
Revert previous.  Both opencrypto/ocryptodev and raidframe/rf_compat_xx
already exist in their own modules and do not need to be part of the
compat_{50,80} modules.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 src/sys/modules/compat_50/Makefile
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/modules/compat_80/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan 23 02:15:02 UTC 2019

Modified Files:
src/sys/modules/compat_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_80 [pgoyette-compat]: Makefile

Log Message:
Ensure that all the compat code gets into the appropriate modules, even
compat code that doesn't live in sys/compat


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/sys/modules/compat_50/Makefile
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/modules/compat_80/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 21:24:01 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Only explicitly disable COMPAT_15, it is the only compat option that
is actually set.  The others are "pulled in" by statements in
sys/conf/files

This avoids numerous noisy but unnecessary warnings from nbconfig.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 12:02:05 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: NOCOMPAT

Log Message:
Rather than having to track changes in GENERIC and incorporate them
into NOCOMPAT, just include GENERIC and then turn off the various
COMPAT options.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/amd64/conf

2019-01-22 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 11:48:31 UTC 2019

Modified Files:
src/sys/arch/amd64/conf [pgoyette-compat]: GENERIC NOCOMPAT

Log Message:
Synch GENERIC and NOCOMPAT with GENERIC from HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.485.2.13 -r1.485.2.14 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/amd64/conf/NOCOMPAT

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 22 07:42:42 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/compat/common [pgoyette-compat]: if_43.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_kern_proc.c
netbsd32_module.c
src/sys/dev [pgoyette-compat]: bio.c ccd.c clockctl.c vnd.c
src/sys/dev/raidframe [pgoyette-compat]: rf_netbsdkintf.c
src/sys/dev/sysmon [pgoyette-compat]: sysmon_power.c
src/sys/dev/usb [pgoyette-compat]: ugen.c uhid.c usb.c
src/sys/dev/wscons [pgoyette-compat]: wsevent.c
src/sys/fs/puffs [pgoyette-compat]: puffs_msgif.c
src/sys/kern [pgoyette-compat]: kern_proc.c kern_rndq.c sys_module.c
sysv_ipc.c tty.c tty_ptm.c uipc_usrreq.c vfs_syscalls.c
src/sys/net [pgoyette-compat]: if.c if_spppsubr.c rtsock.c
rtsock_shared.c
src/sys/net80211 [pgoyette-compat]: ieee80211_ioctl.c
src/sys/opencrypto [pgoyette-compat]: cryptodev.c
src/sys/sys [pgoyette-compat]: compat_stub.h module_hook.h tty.h

Log Message:
Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function.  Almost
all of the hooks are called only once, and although we lose the
ability of doing things like

if (MODULE_HOOK_CALL(...) == 0) ...

we simplify things quite a bit.  With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.

FWIW, the above if now needs to written as

int ret;

MODULE_HOOK_CALL(..., ret);
if (ret == 0) ...

with appropriate use of braces {}.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.15 -r1.115.2.16 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.11 -r1.15.2.12 \
src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.27.46.4 -r1.27.46.5 src/sys/arch/sparc/fpu/fpu.c
cvs rdiff -u -r1.110.14.4 -r1.110.14.5 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.14.2.13 -r1.14.2.14 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/compat/netbsd32/netbsd32_kern_proc.c
cvs rdiff -u -r1.6.2.12 -r1.6.2.13 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.13.16.8 -r1.13.16.9 src/sys/dev/bio.c
cvs rdiff -u -r1.175.2.11 -r1.175.2.12 src/sys/dev/ccd.c
cvs rdiff -u -r1.35.14.11 -r1.35.14.12 src/sys/dev/clockctl.c
cvs rdiff -u -r1.263.2.13 -r1.263.2.14 src/sys/dev/vnd.c
cvs rdiff -u -r1.356.2.10 -r1.356.2.11 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.58.2.8 -r1.58.2.9 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.139.2.9 -r1.139.2.10 src/sys/dev/usb/ugen.c
cvs rdiff -u -r1.101.2.8 -r1.101.2.9 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.168.2.10 -r1.168.2.11 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.37.2.9 -r1.37.2.10 src/sys/dev/wscons/wsevent.c
cvs rdiff -u -r1.101.10.10 -r1.101.10.11 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.209.2.14 -r1.209.2.15 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.89.16.7 -r1.89.16.8 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.23.2.16 -r1.23.2.17 src/sys/kern/sys_module.c
cvs rdiff -u -r1.32.16.10 -r1.32.16.11 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.275.2.8 -r1.275.2.9 src/sys/kern/tty.c
cvs rdiff -u -r1.37.16.5 -r1.37.16.6 src/sys/kern/tty_ptm.c
cvs rdiff -u -r1.183.2.9 -r1.183.2.10 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.518.2.5 -r1.518.2.6 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.419.2.21 -r1.419.2.22 src/sys/net/if.c
cvs rdiff -u -r1.179.2.10 -r1.179.2.11 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.238.2.24 -r1.238.2.25 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/net/rtsock_shared.c
cvs rdiff -u -r1.60.16.7 -r1.60.16.8 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.98.2.10 -r1.98.2.11 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.1.2.51 -r1.1.2.52 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/sys/sys/module_hook.h
cvs rdiff -u -r1.94.2.3 -r1.94.2.4 src/sys/sys/tty.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-20 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 21 06:49:28 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/dev/sysmon [pgoyette-compat]: sysmon_power.c
src/sys/fs/puffs [pgoyette-compat]: puffs_msgif.c
src/sys/kern [pgoyette-compat]: kern_proc.c
src/sys/net [pgoyette-compat]: rtsock.c rtsock_shared.c
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
No need to declare the hook_call() function for void hooks.  So
remove and simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.14 -r1.115.2.15 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.10 -r1.15.2.11 \
src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.110.14.3 -r1.110.14.4 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.58.2.7 -r1.58.2.8 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.101.10.9 -r1.101.10.10 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.209.2.13 -r1.209.2.14 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.238.2.23 -r1.238.2.24 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/net/rtsock_shared.c
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 18 05:53:58 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Add some details to some of the entries.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.24 -r1.1.2.25 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 18 05:42:34 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Some tweaks, some typos.  General clean-up, no significant changes.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 18 00:01:02 UTC 2019

Modified Files:
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c
src/sys/compat/common [pgoyette-compat]: if_43.c uipc_usrreq_70.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_module.c
src/sys/compat/sys [pgoyette-compat]: socket.h
src/sys/dev [pgoyette-compat]: bio.c ccd.c clockctl.c vnd.c
src/sys/dev/raidframe [pgoyette-compat]: rf_netbsdkintf.c
src/sys/dev/usb [pgoyette-compat]: ugen.c uhid.c usb.c
src/sys/dev/wscons [pgoyette-compat]: wsevent.c
src/sys/fs/puffs [pgoyette-compat]: puffs_msgif.c
src/sys/kern [pgoyette-compat]: kern_proc.c kern_rndq.c sys_module.c
sysv_ipc.c tty.c tty_ptm.c uipc_usrreq.c vfs_syscalls.c
src/sys/net [pgoyette-compat]: if.c if_spppsubr.c rtsock.c
rtsock_shared.c
src/sys/net80211 [pgoyette-compat]: ieee80211_ioctl.c
src/sys/opencrypto [pgoyette-compat]: cryptodev.c
src/sys/sys [pgoyette-compat]: compat_stub.h module_hook.h

Log Message:
Don't restrict hooks to having only int or void types.  Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).


To generate a diff of this commit:
cvs rdiff -u -r1.27.46.3 -r1.27.46.4 src/sys/arch/sparc/fpu/fpu.c
cvs rdiff -u -r1.14.2.12 -r1.14.2.13 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1.20.4 -r1.1.20.5 src/sys/compat/common/uipc_usrreq_70.c
cvs rdiff -u -r1.6.2.11 -r1.6.2.12 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.15.2.3 -r1.15.2.4 src/sys/compat/sys/socket.h
cvs rdiff -u -r1.13.16.7 -r1.13.16.8 src/sys/dev/bio.c
cvs rdiff -u -r1.175.2.10 -r1.175.2.11 src/sys/dev/ccd.c
cvs rdiff -u -r1.35.14.10 -r1.35.14.11 src/sys/dev/clockctl.c
cvs rdiff -u -r1.263.2.12 -r1.263.2.13 src/sys/dev/vnd.c
cvs rdiff -u -r1.356.2.8 -r1.356.2.9 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.139.2.8 -r1.139.2.9 src/sys/dev/usb/ugen.c
cvs rdiff -u -r1.101.2.7 -r1.101.2.8 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.168.2.9 -r1.168.2.10 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.37.2.8 -r1.37.2.9 src/sys/dev/wscons/wsevent.c
cvs rdiff -u -r1.101.10.8 -r1.101.10.9 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.209.2.12 -r1.209.2.13 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.89.16.6 -r1.89.16.7 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.23.2.15 -r1.23.2.16 src/sys/kern/sys_module.c
cvs rdiff -u -r1.32.16.8 -r1.32.16.9 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.275.2.7 -r1.275.2.8 src/sys/kern/tty.c
cvs rdiff -u -r1.37.16.4 -r1.37.16.5 src/sys/kern/tty_ptm.c
cvs rdiff -u -r1.183.2.8 -r1.183.2.9 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.518.2.4 -r1.518.2.5 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.419.2.20 -r1.419.2.21 src/sys/net/if.c
cvs rdiff -u -r1.179.2.9 -r1.179.2.10 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.238.2.22 -r1.238.2.23 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/net/rtsock_shared.c
cvs rdiff -u -r1.60.16.6 -r1.60.16.7 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.98.2.9 -r1.98.2.10 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.1.2.50 -r1.1.2.51 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2019-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 17 21:32:42 UTC 2019

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
The return value of a hook is not necessarily an error code, so
rename the variable appropriately.

NFCI


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/net

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 22:28:15 UTC 2019

Modified Files:
src/sys/net [pgoyette-compat]: rtsock_shared.c

Log Message:
More #include removal


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/net/rtsock_shared.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 22:27:07 UTC 2019

Modified Files:
src/sys/compat/common [pgoyette-compat]: rtsock_50.c
src/sys/net [pgoyette-compat]: rtsock.c

Log Message:
Remove a couple of unneeded #include-s

XXX There's probably a lot more clean-up that could happen here!


To generate a diff of this commit:
cvs rdiff -u -r1.6.2.5 -r1.6.2.6 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r1.238.2.21 -r1.238.2.22 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 22:06:35 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Now that the rtsock_50 stuff has been disentangled, remove a reference
to that in another entry.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/kern

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 22:01:26 UTC 2019

Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c

Log Message:
Add a comment for the SCTP section, as was done for the NTP section


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.38 -r1.1.2.39 src/sys/kern/compat_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/kern

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 21:37:44 UTC 2019

Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c

Log Message:
Add missing # to fix the non-SCTP case.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.37 -r1.1.2.38 src/sys/kern/compat_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 12:42:12 UTC 2019

Modified Files:
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Fix a copy/pasto in a comment


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.49 -r1.1.2.50 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/kern

2019-01-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 10:52:20 UTC 2019

Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c

Log Message:
Include appropriate headers to define the sctp routines


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/sys/kern/compat_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 04:10:35 UTC 2019

Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/net [pgoyette-compat]: rtsock.c rtsock_shared.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Add vectors for sctp_{add,delete}_ipaddr() so we can check them
in rtsock.c rather than depending on the SCTP kernel compile
option.  This is similar to what was done previously with NTP.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.35 -r1.1.2.36 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.238.2.20 -r1.238.2.21 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/net/rtsock_shared.c
cvs rdiff -u -r1.1.2.48 -r1.1.2.49 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 03:44:06 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Note completion of separating rtsock.c into pieces.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 03:40:35 UTC 2019

Modified Files:
src/sys/compat/common [pgoyette-compat]: rtsock_50.c
src/sys/net [pgoyette-compat]: rtsock.c rtsock_shared.c

Log Message:
Split sys/net/rtsock.c into two pieces, one of which is applicable only
to -current and one which is shared between -current and COMPAT_50.


To generate a diff of this commit:
cvs rdiff -u -r1.6.2.4 -r1.6.2.5 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r1.238.2.19 -r1.238.2.20 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/net/rtsock_shared.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/net

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 01:16:42 UTC 2019

Added Files:
src/sys/net [pgoyette-compat]: rtsock_shared.c

Log Message:
First pass at extracting the "shared" compat code into its own source
file, rather than burying it in sys/net/rtsock.c and conditionalizing
various pieces.

XXX Not yet used - it will eventually be #include-d by sys/net/rtsock.c
XXX and compat/common/rtsock_50.c


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/net/rtsock_shared.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_50

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 01:12:30 UTC 2019

Modified Files:
src/sys/modules/compat_50 [pgoyette-compat]: Makefile

Log Message:
As far as I can tell, neither SCTP not NET_MPSAFE are enabled by default
on any architecture, so they should not be enabled by default in any of
the modules.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/modules/compat_50/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_50

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan 15 01:07:40 UTC 2019

Modified Files:
src/sys/modules/compat_50 [pgoyette-compat]: Makefile

Log Message:
Add some #defines for rtsock_50


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/modules/compat_50/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 14 13:35:53 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Remove recently-added entry concerning routines whose return type
had been changed from void to int.  This is now handled by the new
void-typed hooks.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 14 13:34:28 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
netbsd32_machdep_16.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
netbsd32_machdep_16.c
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
netbsd32_machdep_16.c
src/sys/compat/common [pgoyette-compat]: if_43.c rtsock_14.c
rtsock_50.c rtsock_70.c sysmon_power_40.c uipc_usrreq_70.c
src/sys/compat/net [pgoyette-compat]: if.h route.h
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32.h
netbsd32_kern_proc.c netbsd32_module.c
src/sys/compat/sys [pgoyette-compat]: socket.h
src/sys/dev [pgoyette-compat]: bio.c ccd.c clockctl.c vnd.c
src/sys/dev/raidframe [pgoyette-compat]: rf_netbsdkintf.c
src/sys/dev/sysmon [pgoyette-compat]: sysmon_power.c
src/sys/dev/usb [pgoyette-compat]: ugen.c uhid.c usb.c
src/sys/dev/wscons [pgoyette-compat]: wsevent.c
src/sys/fs/puffs [pgoyette-compat]: puffs_compat.c puffs_msgif.c
puffs_sys.h
src/sys/kern [pgoyette-compat]: kern_proc.c kern_rndq.c sys_module.c
sysv_ipc.c tty.c tty_ptm.c uipc_usrreq.c vfs_syscalls.c
src/sys/net [pgoyette-compat]: if.c if_spppsubr.c route.h rtsock.c
src/sys/net80211 [pgoyette-compat]: ieee80211_ioctl.c
src/sys/opencrypto [pgoyette-compat]: cryptodev.c
src/sys/sys [pgoyette-compat]: compat_stub.h module_hook.h

Log Message:
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.13 -r1.115.2.14 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 \
src/sys/arch/amd64/amd64/netbsd32_machdep_16.c
cvs rdiff -u -r1.15.2.9 -r1.15.2.10 src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/arch/mips/mips/netbsd32_machdep_16.c
cvs rdiff -u -r1.27.46.2 -r1.27.46.3 src/sys/arch/sparc/fpu/fpu.c
cvs rdiff -u -r1.110.14.2 -r1.110.14.3 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c
cvs rdiff -u -r1.14.2.11 -r1.14.2.12 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.5.14.5 -r1.5.14.6 src/sys/compat/common/rtsock_14.c
cvs rdiff -u -r1.6.2.3 -r1.6.2.4 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/sys/compat/common/rtsock_70.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/compat/common/sysmon_power_40.c
cvs rdiff -u -r1.1.20.3 -r1.1.20.4 src/sys/compat/common/uipc_usrreq_70.c
cvs rdiff -u -r1.4.14.2 -r1.4.14.3 src/sys/compat/net/if.h
cvs rdiff -u -r1.2.14.2 -r1.2.14.3 src/sys/compat/net/route.h
cvs rdiff -u -r1.116.2.16 -r1.116.2.17 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/compat/netbsd32/netbsd32_kern_proc.c
cvs rdiff -u -r1.6.2.10 -r1.6.2.11 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.15.2.2 -r1.15.2.3 src/sys/compat/sys/socket.h
cvs rdiff -u -r1.13.16.6 -r1.13.16.7 src/sys/dev/bio.c
cvs rdiff -u -r1.175.2.9 -r1.175.2.10 src/sys/dev/ccd.c
cvs rdiff -u -r1.35.14.9 -r1.35.14.10 src/sys/dev/clockctl.c
cvs rdiff -u -r1.263.2.11 -r1.263.2.12 src/sys/dev/vnd.c
cvs rdiff -u -r1.356.2.7 -r1.356.2.8 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.58.2.6 -r1.58.2.7 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.139.2.7 -r1.139.2.8 src/sys/dev/usb/ugen.c
cvs rdiff -u -r1.101.2.6 -r1.101.2.7 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.168.2.8 -r1.168.2.9 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.37.2.7 -r1.37.2.8 src/sys/dev/wscons/wsevent.c
cvs rdiff -u -r1.4.16.4 -r1.4.16.5 src/sys/fs/puffs/puffs_compat.c
cvs rdiff -u -r1.101.10.7 -r1.101.10.8 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.90.16.2 -r1.90.16.3 src/sys/fs/puffs/puffs_sys.h
cvs rdiff -u -r1.209.2.11 -r1.209.2.12 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.89.16.5 -r1.89.16.6 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.23.2.14 -r1.23.2.15 src/sys/kern/sys_module.c
cvs rdiff -u -r1.32.16.7 -r1.32.16.8 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.275.2.6 -r1.275.2.7 src/sys/kern/tty.c
cvs rdiff -u -r1.37.16.3 -r1.37.16.4 src/sys/kern/tty_ptm.c
cvs rdiff -u -r1.183.2.7 -r1.183.2.8 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.518.2.3 -r1.518.2.4 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.419.2.19 -r1.419.2.20 src/sys/net/if.c
cvs rdiff -u -r1.179.2.8 -r1.179.2.9 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.117.2.4 -r1.117.2.5 src/sys/net/route.h
cvs rdiff -u -r1.238.2.18 -r1.238.2.19 src/sys/net/rtsock.c
cvs rdiff -u -r1.60.16.5 -r1.60.16.6 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.98.2.8 -r1.98.2.9 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.1.2.47 -r1.1.2.48 src/sys/sys/compat_stub.h
cvs rdiff -u

CVS commit: [pgoyette-compat] src/doc

2019-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 14 00:16:32 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Note the desire to return some callback functions to having a void
type, rather than int (changing them was necessary to use a common
return type for all callbacks).


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.19 -r1.1.2.20 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2019-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 13 23:33:07 UTC 2019

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Note that rtsock_50 is now functional, even though the implementation
remains sub-optimal.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.18 -r1.1.2.19 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 13 23:32:22 UTC 2019

Modified Files:
src/sys/compat/common [pgoyette-compat]: rtsock_50.c
src/sys/compat/net [pgoyette-compat]: if.h route.h
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/net [pgoyette-compat]: route.h rtsock.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Add the required hooks for rtsock_50 and modify the COMPATCALL() macro
to use the hooks.  While the rtsock_50 situation is still sub-optimal
(it includes the main rtsock.c with a whole bunch of function and
variable redefinitions via macros), this at least makes it possible to
load the rtsock_50 code separately from more recent code, rather than
the previous requirement that rtsock_50 be built-in.


To generate a diff of this commit:
cvs rdiff -u -r1.6.2.2 -r1.6.2.3 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r1.4.14.1 -r1.4.14.2 src/sys/compat/net/if.h
cvs rdiff -u -r1.2.14.1 -r1.2.14.2 src/sys/compat/net/route.h
cvs rdiff -u -r1.1.2.34 -r1.1.2.35 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.117.2.3 -r1.117.2.4 src/sys/net/route.h
cvs rdiff -u -r1.238.2.17 -r1.238.2.18 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.46 -r1.1.2.47 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 13 10:49:51 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep.c
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep.c
src/sys/compat/common [pgoyette-compat]: if_43.c rtsock_14.c
rtsock_70.c tty_60.c usb_subr_30.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_kern_proc.c
netbsd32_module.c
src/sys/dev [pgoyette-compat]: bio.c ccd.c clockctl.c vnd.c
src/sys/dev/raidframe [pgoyette-compat]: rf_netbsdkintf.c
src/sys/dev/sysmon [pgoyette-compat]: sysmon_power.c
src/sys/dev/usb [pgoyette-compat]: ugen.c uhid.c usb.c
src/sys/dev/wscons [pgoyette-compat]: wsevent.c
src/sys/fs/puffs [pgoyette-compat]: puffs_compat.c puffs_msgif.c
src/sys/kern [pgoyette-compat]: compat_stub.c kern_proc.c kern_rndq.c
sys_module.c sysv_ipc.c tty.c tty_ptm.c uipc_usrreq.c
vfs_syscalls.c
src/sys/net [pgoyette-compat]: if.c if_spppsubr.c rtsock.c
src/sys/net80211 [pgoyette-compat]: ieee80211_ioctl.c
src/sys/opencrypto [pgoyette-compat]: cryptodev.c
src/sys/sys [pgoyette-compat]: compat_stub.h module_hook.h

Log Message:
Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.12 -r1.115.2.13 \
src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.15.2.8 -r1.15.2.9 src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.27.46.1 -r1.27.46.2 src/sys/arch/sparc/fpu/fpu.c
cvs rdiff -u -r1.110.14.1 -r1.110.14.2 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.14.2.10 -r1.14.2.11 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.5.14.4 -r1.5.14.5 src/sys/compat/common/rtsock_14.c
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/compat/common/rtsock_70.c
cvs rdiff -u -r1.4.16.5 -r1.4.16.6 src/sys/compat/common/tty_60.c
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/compat/common/usb_subr_30.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/compat/netbsd32/netbsd32_kern_proc.c
cvs rdiff -u -r1.6.2.9 -r1.6.2.10 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.13.16.5 -r1.13.16.6 src/sys/dev/bio.c
cvs rdiff -u -r1.175.2.8 -r1.175.2.9 src/sys/dev/ccd.c
cvs rdiff -u -r1.35.14.8 -r1.35.14.9 src/sys/dev/clockctl.c
cvs rdiff -u -r1.263.2.10 -r1.263.2.11 src/sys/dev/vnd.c
cvs rdiff -u -r1.356.2.6 -r1.356.2.7 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.58.2.5 -r1.58.2.6 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.139.2.6 -r1.139.2.7 src/sys/dev/usb/ugen.c
cvs rdiff -u -r1.101.2.5 -r1.101.2.6 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.168.2.7 -r1.168.2.8 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.37.2.6 -r1.37.2.7 src/sys/dev/wscons/wsevent.c
cvs rdiff -u -r1.4.16.3 -r1.4.16.4 src/sys/fs/puffs/puffs_compat.c
cvs rdiff -u -r1.101.10.6 -r1.101.10.7 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.1.2.33 -r1.1.2.34 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.209.2.10 -r1.209.2.11 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.89.16.4 -r1.89.16.5 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.23.2.13 -r1.23.2.14 src/sys/kern/sys_module.c
cvs rdiff -u -r1.32.16.6 -r1.32.16.7 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.275.2.5 -r1.275.2.6 src/sys/kern/tty.c
cvs rdiff -u -r1.37.16.2 -r1.37.16.3 src/sys/kern/tty_ptm.c
cvs rdiff -u -r1.183.2.6 -r1.183.2.7 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.518.2.2 -r1.518.2.3 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.419.2.18 -r1.419.2.19 src/sys/net/if.c
cvs rdiff -u -r1.179.2.7 -r1.179.2.8 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.238.2.16 -r1.238.2.17 src/sys/net/rtsock.c
cvs rdiff -u -r1.60.16.4 -r1.60.16.5 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.98.2.7 -r1.98.2.8 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.1.2.45 -r1.1.2.46 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/net

2019-01-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 13 07:05:10 UTC 2019

Modified Files:
src/sys/net [pgoyette-compat]: rtsock.c

Log Message:
Rearrange a bit, put all the sysctl-related stuff at the end of the
file, and enclose it in a single ``#ifdef COMPAT_RTSOCK ... #endif''
block.

XXX Arguably, this code might better belong in its own source file,
but I'll leave that for a future project.


To generate a diff of this commit:
cvs rdiff -u -r1.238.2.15 -r1.238.2.16 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/net

2019-01-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 11 07:55:53 UTC 2019

Modified Files:
src/sys/net [pgoyette-compat]: rtsock.c

Log Message:
Don't accept OIFLIST operation unless the rtsock_70_hook is loaded,
even though the results are otherwise identical to those on current.


To generate a diff of this commit:
cvs rdiff -u -r1.238.2.14 -r1.238.2.15 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2019-01-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 11 06:27:45 UTC 2019

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_50_mod.c compat_mod.h
rtsock_50.c
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/net [pgoyette-compat]: rtsock.c
src/sys/sys [pgoyette-compat]: compat_stub.h
Added Files:
src/sys/compat/net [pgoyette-compat]: route_50.h

Log Message:
Rework the various sysctl-related routines to call the correct code
for each version.  While here, extract the 5.0 specific code instead
of including in the main rtsock.c code.

Also, clean up all the sysctl-related routines to prevent building
more than one copy, no matter how many places rtsock.c gets #include'd
into!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/sys/compat/common/compat_50_mod.c
cvs rdiff -u -r1.1.42.23 -r1.1.42.24 src/sys/compat/common/compat_mod.h
cvs rdiff -u -r1.6.2.1 -r1.6.2.2 src/sys/compat/common/rtsock_50.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/compat/net/route_50.h
cvs rdiff -u -r1.1.2.32 -r1.1.2.33 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.238.2.13 -r1.238.2.14 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.44 -r1.1.2.45 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2019-01-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 11 06:18:17 UTC 2019

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Separate macro arguments with  for readability.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/tests/lib/libc/net/getaddrinfo

2019-01-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 10 11:15:49 UTC 2019

Modified Files:
src/tests/lib/libc/net/getaddrinfo [pgoyette-compat]: t_getaddrinfo.sh

Log Message:
Import fix from HEAD.

Now that the test behaves normally under failure (mismatched actual vs
expected outputs), maybe I can figure out why it actually fails.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.40.1 \
src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_netbsd32

2019-01-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 10 03:44:20 UTC 2019

Modified Files:
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile

Log Message:
Include newly-created files in compat_netbsd32 module build.  Missed
this when resolving conflicts in most recent sync-with-HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.20.12.16 -r1.20.12.17 \
src/sys/modules/compat_netbsd32/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jan  9 10:38:22 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_syscall.h
netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
Regen - otherwise compat_40_mount() is wrongly included in sysent.c

Missed this during earlier conflict resolution.


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.17 -r1.134.2.18 \
src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.134.2.16 -r1.134.2.17 \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.132.2.17 -r1.132.2.18 \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.13.2.16 -r1.13.2.17 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.132.2.16 -r1.132.2.17 \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.24.2.15 -r1.24.2.16 \
src/sys/compat/netbsd32/netbsd32_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2019-01-04 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan  5 02:49:16 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_conv.h

Log Message:
Fix typo in previous


To generate a diff of this commit:
cvs rdiff -u -r1.33.2.4 -r1.33.2.5 src/sys/compat/netbsd32/netbsd32_conv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat

2019-01-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan  3 10:57:32 UTC 2019

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_14_sysv.c
netbsd32_conv.h
src/sys/compat/sys [pgoyette-compat]: msg.h

Log Message:
Bring in some more changes from HEAD.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/compat/netbsd32/netbsd32_compat_14_sysv.c
cvs rdiff -u -r1.33.2.3 -r1.33.2.4 src/sys/compat/netbsd32/netbsd32_conv.h
cvs rdiff -u -r1.4 -r1.4.64.1 src/sys/compat/sys/msg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src

2018-12-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan  1 05:38:34 UTC 2019

Modified Files:
src/sys/arch/i386/i386 [pgoyette-compat]: locore.S
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep_16.c
src/sys/dev [pgoyette-compat]: ipmi.c
src/sys/dev/acpi [pgoyette-compat]: ipmi_acpi.c
src/tests/rump/rumpkern [pgoyette-compat]: Makefile

Log Message:
Bring in some fixes from HEAD to address a couple of build breaks (in
i386 ipmi driver and sun2 rump tests).  Also fix a 'resolve conflict'
from previous commit in sparc64

With this, I am able to successfully build 66 out of 67 architectures
(the same architectures as handled by the releng build server.  The
only exception is evbarm64 which has a strange build failure during
the installcd step - the same failure occurs on HEAD.  It seems to be
something in the build itself, perhaps a difference between handling
of -O vs -M (MAKEOBJDIR vs MAKEOBJDIRPREFIX).


To generate a diff of this commit:
cvs rdiff -u -r1.156.2.3 -r1.156.2.4 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/dev/ipmi.c
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/dev/acpi/ipmi_acpi.c
cvs rdiff -u -r1.16.2.1 -r1.16.2.2 src/tests/rump/rumpkern/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/pci

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 13:16:46 UTC 2018

Modified Files:
src/sys/dev/pci [pgoyette-compat]: xhci_pci.c

Log Message:
And one more missed conflict.  (I think this is the last one.)


To generate a diff of this commit:
cvs rdiff -u -r1.11.2.4 -r1.11.2.5 src/sys/dev/pci/xhci_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_linux32

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 12:42:48 UTC 2018

Modified Files:
src/sys/modules/compat_linux32 [pgoyette-compat]: Makefile

Log Message:
One more - we also need the libnv for compat_linux32 module


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.52.1 src/sys/modules/compat_linux32/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 12:36:17 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32_09 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_12 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_13 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_16 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_20 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_30 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_40 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_43 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_60 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_80 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_sysvipc_10 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_sysvipc_14 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_sysvipc_50 [pgoyette-compat]: Makefile

Log Message:
Add the libnv directory for all of the compat_netbsd32* modules


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_09/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_12/Makefile
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/modules/compat_netbsd32_13/Makefile
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/modules/compat_netbsd32_16/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_20/Makefile
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/modules/compat_netbsd32_30/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_40/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_43/Makefile
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/modules/compat_netbsd32_50/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_60/Makefile
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/modules/compat_netbsd32_80/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/modules/compat_netbsd32_sysvipc_10/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/modules/compat_netbsd32_sysvipc_14/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/modules/compat_netbsd32_sysvipc_50/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 12:25:20 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_mqueue [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_nfssrv [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_ptrace [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_sysvipc [pgoyette-compat]: Makefile

Log Message:
Update from HEAD - need to add sys/external/bsd/libnv to the #include list


To generate a diff of this commit:
cvs rdiff -u -r1.20.12.15 -r1.20.12.16 \
src/sys/modules/compat_netbsd32/Makefile
cvs rdiff -u -r1.1 -r1.1.20.1 src/sys/modules/compat_netbsd32_mqueue/Makefile
cvs rdiff -u -r1.1 -r1.1.20.1 src/sys/modules/compat_netbsd32_nfssrv/Makefile
cvs rdiff -u -r1.2 -r1.2.16.1 src/sys/modules/compat_netbsd32_ptrace/Makefile
cvs rdiff -u -r1.1.20.1 -r1.1.20.2 \
src/sys/modules/compat_netbsd32_sysvipc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/usr.bin/gzip

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 12:05:55 UTC 2018

Modified Files:
src/usr.bin/gzip [pgoyette-compat]: gzip.c

Log Message:
Another missed pseudo-conflict


To generate a diff of this commit:
cvs rdiff -u -r1.112.2.3 -r1.112.2.4 src/usr.bin/gzip/gzip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/distrib/sets/lists/modules

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 11:38:35 UTC 2018

Modified Files:
src/distrib/sets/lists/modules [pgoyette-compat]: md.sparc64

Log Message:
Add compat_netbsd32* modules for sparc64


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.22.1 src/distrib/sets/lists/modules/md.sparc64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 11:34:29 UTC 2018

Modified Files:
src/sys/modules [pgoyette-compat]: Makefile

Log Message:
Build the compat_netbsd32* modules for sparc64, too

XXX Sets lists will be updated later.


To generate a diff of this commit:
cvs rdiff -u -r1.202.2.41 -r1.202.2.42 src/sys/modules/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 11:21:15 UTC 2018

Modified Files:
src/sys/modules [pgoyette-compat]: Makefile

Log Message:
Keep only a single copy of the list of compat_netbsd32* modules.


To generate a diff of this commit:
cvs rdiff -u -r1.202.2.40 -r1.202.2.41 src/sys/modules/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/usb

2018-11-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Nov 26 10:43:37 UTC 2018

Modified Files:
src/sys/dev/usb [pgoyette-compat]: usbdi.c

Log Message:
Missed a $Id$ conflict in the last sync-with-HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.175.2.3 -r1.175.2.4 src/sys/dev/usb/usbdi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src

2018-10-19 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Oct 20 06:58:47 UTC 2018

Modified Files:
src/bin/sh [pgoyette-compat]: alias.c eval.c mkinit.sh shell.h show.c
src/common/lib/libc/string [pgoyette-compat]: memmem.c
src/common/lib/libprop [pgoyette-compat]: prop_kern.c
src/crypto/dist/ipsec-tools [pgoyette-compat]: NEWS README
src/crypto/dist/ipsec-tools/src/libipsec [pgoyette-compat]: Makefile.am
src/crypto/dist/ipsec-tools/src/racoon [pgoyette-compat]: isakmp_frag.c
logger.c racoon.conf.5
src/crypto/dist/ipsec-tools/src/setkey [pgoyette-compat]: Makefile.am
extern.h parse.y setkey.c token.l
src/crypto/external/bsd/openssh/dist [pgoyette-compat]: log.c
monitor_wrap.c packet.c serverloop.c
src/crypto/external/bsd/openssl/dist/test [pgoyette-compat]: hmactest.c
src/crypto/external/bsd/openssl/dist/test/testutil [pgoyette-compat]:
format_output.c main.c output.h tests.c
src/crypto/external/bsd/openssl/include/openssl [pgoyette-compat]:
opensslconf.h
src/crypto/external/bsd/openssl/lib/libcrypto [pgoyette-compat]:
Makefile crypto.map man.inc
src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm 
[pgoyette-compat]:
arm_asm.h
src/crypto/external/bsd/openssl/lib/libssl [pgoyette-compat]: Makefile
src/distrib/alpha/instkernel/ramdisk [pgoyette-compat]: list
src/distrib/amd64/ramdisks/common [pgoyette-compat]: list.ramdisk
src/distrib/amd64/uefi-installimage [pgoyette-compat]:
Makefile.bootimage
src/distrib/common/bootimage [pgoyette-compat]: Makefile.bootimage
src/distrib/sets [pgoyette-compat]: Makefile
src/distrib/sets/lists/base [pgoyette-compat]: ad.aarch64 md.amd64
md.i386 mi
src/distrib/sets/lists/comp [pgoyette-compat]: ad.m68k mi
src/distrib/sets/lists/debug [pgoyette-compat]: ad.aarch64 md.amd64
md.i386 mi
src/distrib/sets/lists/man [pgoyette-compat]: mi
src/distrib/sparc64/instfs [pgoyette-compat]: list
src/distrib/utils/embedded/conf [pgoyette-compat]: evbarm.conf
src/distrib/utils/embedded/files [pgoyette-compat]: resize_disklabel
src/distrib/utils/x_gzip [pgoyette-compat]: Makefile
src/doc [pgoyette-compat]: 3RDPARTY CHANGES TODO.kaslr
src/etc [pgoyette-compat]: Makefile security
src/etc/defaults [pgoyette-compat]: rc.conf
src/etc/etc.aarch64 [pgoyette-compat]: MAKEDEV.conf
src/etc/etc.evbarm [pgoyette-compat]: MAKEDEV.conf
src/etc/mtree [pgoyette-compat]: NetBSD.dist.base
src/etc/rc.d [pgoyette-compat]: cleartmp resize_root swap1
src/external/bsd/acpica/bin/iasl [pgoyette-compat]: Makefile
src/external/bsd/bind/dist/lib/isc/unix [pgoyette-compat]: socket.c
src/external/bsd/file/dist [pgoyette-compat]: AUTHORS COPYING ChangeLog
Makefile.in NEWS README aclocal.m4 compile config.guess config.h.in
config.sub configure configure.ac depcomp install-sh ltmain.sh
missing
src/external/bsd/file/dist/doc [pgoyette-compat]: Makefile.in file.1
libmagic.3 magic.5
src/external/bsd/file/dist/magic [pgoyette-compat]: Header Makefile.am
Makefile.in
src/external/bsd/file/dist/magic/magdir [pgoyette-compat]: amigaos
animation archive audio cad cafebabe coff compress console database
dbpf dump elf fsav hitachi-sh images intel java jpeg linux make
measure msdos msooxml msvc pdf sgi sniffer wsdl
src/external/bsd/file/dist/python [pgoyette-compat]: Makefile.am
Makefile.in magic.py setup.py
src/external/bsd/file/dist/src [pgoyette-compat]: Makefile.am
Makefile.in apprentice.c apptype.c ascmagic.c asprintf.c cdf.c
cdf.h cdf_time.c compress.c der.c dprintf.c elfclass.h encoding.c
file.c file.h fmtcheck.c fsmagic.c funcs.c getopt_long.c is_tar.c
magic.c magic.h.in mygetopt.h print.c readcdf.c readelf.c readelf.h
seccomp.c softmagic.c vasprintf.c
src/external/bsd/file/dist/tests [pgoyette-compat]: Makefile.am
Makefile.in
src/external/bsd/file/include [pgoyette-compat]: config.h
src/external/bsd/file/lib [pgoyette-compat]: Makefile
src/external/bsd/nsd [pgoyette-compat]: Makefile.inc
src/external/bsd/ntp/dist/ntpd [pgoyette-compat]: ntpd.c
src/external/bsd/openresolv/dist [pgoyette-compat]: dnsmasq.in libc.in
named.in resolvconf.in unbound.in
src/external/cddl/dtracetoolkit/dist [pgoyette-compat]: iosnoop
src/external/public-domain/tz/dist [pgoyette-compat]: CONTRIBUTING
Makefile NEWS README TZDATA_VERSION africa antarctica asia
australasia backward backzone etcetera europe factory

CVS commit: [pgoyette-compat] src/sys/compat

2018-10-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct 18 22:09:57 UTC 2018

Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_mod.c
src/sys/compat/sunos [pgoyette-compat]: sunos_mod.c
src/sys/compat/sunos32 [pgoyette-compat]: sunos32_mod.c
src/sys/compat/svr4 [pgoyette-compat]: svr4_mod.c
src/sys/compat/svr4_32 [pgoyette-compat]: svr4_32_mod.c

Log Message:
Add a few more references to the (currently always but not forever)
built-in compat_util module


To generate a diff of this commit:
cvs rdiff -u -r1.10.2.2 -r1.10.2.3 src/sys/compat/linux/common/linux_mod.c
cvs rdiff -u -r1.3.28.1 -r1.3.28.2 src/sys/compat/sunos/sunos_mod.c
cvs rdiff -u -r1.3.28.1 -r1.3.28.2 src/sys/compat/sunos32/sunos32_mod.c
cvs rdiff -u -r1.4 -r1.4.28.1 src/sys/compat/svr4/svr4_mod.c
cvs rdiff -u -r1.3 -r1.3.28.1 src/sys/compat/svr4_32/svr4_32_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/osf1

2018-10-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct 18 22:04:23 UTC 2018

Modified Files:
src/sys/compat/osf1 [pgoyette-compat]: osf1_mod.c

Log Message:
Add requirement for compat_util (even though it is currently built-in for
all kernels) since there are references.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.12.1 src/sys/compat/osf1/osf1_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct 15 22:06:16 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_sysv_50_mod.c
compat_sysv_mod.h
src/sys/kern [pgoyette-compat]: compat_stub.c sysv_ipc.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Convert the final non-MP-safe "vectored" compat routine to use the
MP-safe mechanism.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/common/compat_sysv_50_mod.c \
src/sys/compat/common/compat_sysv_mod.h
cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.32.16.5 -r1.32.16.6 src/sys/kern/sysv_ipc.c
cvs rdiff -u -r1.1.2.43 -r1.1.2.44 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct 15 11:57:06 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_70_mod.c
uipc_usrreq_70.c
src/sys/compat/sys [pgoyette-compat]: socket.h
src/sys/kern [pgoyette-compat]: compat_stub.c uipc_usrreq.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Convert the compat70_unp_addsockcred hook to the MP-safe mechanism.

XXX One more remaining: sysvipc50_sysctl


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/compat/common/compat_70_mod.c
cvs rdiff -u -r1.1.20.2 -r1.1.20.3 src/sys/compat/common/uipc_usrreq_70.c
cvs rdiff -u -r1.15 -r1.15.2.1 src/sys/compat/sys/socket.h
cvs rdiff -u -r1.1.2.30 -r1.1.2.31 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.183.2.4 -r1.183.2.5 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.1.2.42 -r1.1.2.43 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct 15 10:44:28 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: vfs_syscalls_10.c
src/sys/kern [pgoyette-compat]: compat_stub.c vfs_syscalls.c
src/sys/sys [pgoyette-compat]: compat_stub.h vfs_syscalls.h

Log Message:
Convert the openat_10 hook to use the MP-safe mechanism

XXX Still to do: compat70_unp_addsockcred and sysvipc50_sysctl


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/compat/common/vfs_syscalls_10.c
cvs rdiff -u -r1.1.2.29 -r1.1.2.30 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.518.2.1 -r1.518.2.2 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.1.2.41 -r1.1.2.42 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.23.2.2 -r1.23.2.3 src/sys/sys/vfs_syscalls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct 15 09:51:34 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_70_mod.c tty_60.c
src/sys/compat/net [pgoyette-compat]: route_70.h
src/sys/kern [pgoyette-compat]: compat_stub.c tty.c tty_ptm.c
uipc_usrreq.c
src/sys/sys [pgoyette-compat]: compat_stub.h module.h tty.h

Log Message:
Convert another hook to the MP-sfe mechanism.

XXX still have three more to convert: openat_10, sysvipc50_sysctl and
XXX compat70_unp_addsockcred


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/compat/common/compat_70_mod.c
cvs rdiff -u -r1.4.16.4 -r1.4.16.5 src/sys/compat/common/tty_60.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/compat/net/route_70.h
cvs rdiff -u -r1.1.2.28 -r1.1.2.29 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.275.2.4 -r1.275.2.5 src/sys/kern/tty.c
cvs rdiff -u -r1.37.16.1 -r1.37.16.2 src/sys/kern/tty_ptm.c
cvs rdiff -u -r1.183.2.3 -r1.183.2.4 src/sys/kern/uipc_usrreq.c
cvs rdiff -u -r1.1.2.40 -r1.1.2.41 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.41.14.13 -r1.41.14.14 src/sys/sys/module.h
cvs rdiff -u -r1.94.2.2 -r1.94.2.3 src/sys/sys/tty.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Oct 15 04:33:34 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_40_mod.c if_43.c
rtsock_70.c uipc_syscalls_40.c uipc_syscalls_50.c
src/sys/compat/net [pgoyette-compat]: route.h route_70.h
src/sys/kern [pgoyette-compat]: compat_stub.c
src/sys/net [pgoyette-compat]: rtsock.c
src/sys/sys [pgoyette-compat]: compat_stub.h rnd.h
Removed Files:
src/sys/compat/common [pgoyette-compat]: if_40.h if_43.h
src/sys/compat/sys [pgoyette-compat]: if.h

Log Message:
Convert a couple more hooks to the MP-safe mechanism.

While here, clean up some headers and remove any that are now empty.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/compat/common/compat_40_mod.c
cvs rdiff -u -r1.1.2.3 -r0 src/sys/compat/common/if_40.h
cvs rdiff -u -r1.14.2.9 -r1.14.2.10 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1.20.2 -r0 src/sys/compat/common/if_43.h
cvs rdiff -u -r1.2.2.1 -r1.2.2.2 src/sys/compat/common/rtsock_70.c
cvs rdiff -u -r1.15.2.11 -r1.15.2.12 src/sys/compat/common/uipc_syscalls_40.c
cvs rdiff -u -r1.3.56.11 -r1.3.56.12 src/sys/compat/common/uipc_syscalls_50.c
cvs rdiff -u -r1.2 -r1.2.14.1 src/sys/compat/net/route.h
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/net/route_70.h
cvs rdiff -u -r1.1.2.1 -r0 src/sys/compat/sys/if.h
cvs rdiff -u -r1.1.2.27 -r1.1.2.28 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.238.2.11 -r1.238.2.12 src/sys/net/rtsock.c
cvs rdiff -u -r1.1.2.39 -r1.1.2.40 src/sys/sys/compat_stub.h
cvs rdiff -u -r1.49.16.1 -r1.49.16.2 src/sys/sys/rnd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys

2018-10-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Oct 12 22:30:54 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_50_mod.c compat_mod.h
rndpseudo_50.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_50.c
src/sys/kern [pgoyette-compat]: compat_stub.c kern_rndq.c
src/sys/sys [pgoyette-compat]: compat_stub.h

Log Message:
Use a MP-safe hook for the rnd_ioctl compat_50 calls.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/sys/compat/common/compat_50_mod.c
cvs rdiff -u -r1.1.42.22 -r1.1.42.23 src/sys/compat/common/compat_mod.h
cvs rdiff -u -r1.2.38.1 -r1.2.38.2 src/sys/compat/common/rndpseudo_50.c
cvs rdiff -u -r1.32.16.12 -r1.32.16.13 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.1.2.26 -r1.1.2.27 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.89.16.3 -r1.89.16.4 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.1.2.38 -r1.1.2.39 src/sys/sys/compat_stub.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2018-10-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Oct 12 10:28:29 UTC 2018

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Use private-namespace variable ``__hooked'' instead of ``hooked''


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2018-10-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Oct 12 04:12:07 UTC 2018

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Remove the last item in the need-for-merge section.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct  4 02:24:26 UTC 2018

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Also in the UNSET_HOOK2 case, release the mutex before destroying it.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_netbsd32

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct  4 02:20:29 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile

Log Message:
Add missing file to the build


To generate a diff of this commit:
cvs rdiff -u -r1.20.12.14 -r1.20.12.15 \
src/sys/modules/compat_netbsd32/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/sys

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct  4 01:56:03 UTC 2018

Modified Files:
src/sys/sys [pgoyette-compat]: module_hook.h

Log Message:
Grab the mutex for UNSET_HOOK2 (fixed previously for UNSET_HOOK)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules/compat_raid_80

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Oct  4 01:55:17 UTC 2018

Modified Files:
src/sys/modules/compat_raid_80 [pgoyette-compat]: Makefile

Log Message:
Don't include common compat_80 code in the raid-speific module


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_raid_80/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/kern

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 22:53:52 UTC 2018

Modified Files:
src/sys/kern [pgoyette-compat]: kern_module.c

Log Message:
Better diagnostic message


To generate a diff of this commit:
cvs rdiff -u -r1.130.2.23 -r1.130.2.24 src/sys/kern/kern_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/modules

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 22:50:51 UTC 2018

Modified Files:
src/sys/modules/compat_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_80 [pgoyette-compat]: Makefile

Log Message:
There are version-specific raid modules so don't include their code in
the "generic" version-specific module.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/modules/compat_50/Makefile
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/modules/compat_80/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/common

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 21:52:02 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: if_43.c if_43.h

Log Message:
Don't define if_43_{init,fini}() in multiple .h files.


To generate a diff of this commit:
cvs rdiff -u -r1.14.2.8 -r1.14.2.9 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1.20.1 -r1.1.20.2 src/sys/compat/common/if_43.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/common

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 21:27:14 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: if_43.c if_43.h

Log Message:
Make if_43_{init,fini} return an int, for consistency with all the
related *_{init,fini} routines.


To generate a diff of this commit:
cvs rdiff -u -r1.14.2.7 -r1.14.2.8 src/sys/compat/common/if_43.c
cvs rdiff -u -r1.1 -r1.1.20.1 src/sys/compat/common/if_43.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 11:59:21 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_09.c
netbsd32_compat_12.c netbsd32_compat_13.c netbsd32_compat_16.c
netbsd32_compat_20.c netbsd32_compat_30.c netbsd32_compat_40.c
netbsd32_compat_50.c netbsd32_compat_60.c

Log Message:
Normalize the required lists.  Each compat_netbsd32_xx needs the
non-32bit module of the same version _and_ the 32-bit module for
the next higher version.


To generate a diff of this commit:
cvs rdiff -u -r1.18.86.5 -r1.18.86.6 \
src/sys/compat/netbsd32/netbsd32_compat_09.c
cvs rdiff -u -r1.33.36.8 -r1.33.36.9 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26.28.8 -r1.26.28.9 \
src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/compat/netbsd32/netbsd32_compat_16.c
cvs rdiff -u -r1.36.10.9 -r1.36.10.10 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.12 -r1.31.16.13 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/netbsd32/netbsd32_compat_40.c
cvs rdiff -u -r1.32.16.11 -r1.32.16.12 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.8 -r1.3.2.9 src/sys/compat/netbsd32/netbsd32_compat_60.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-10-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Oct  3 07:03:17 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_12.c
netbsd32_compat_16.c netbsd32_compat_20.c netbsd32_compat_30.c
netbsd32_compat_40.c netbsd32_compat_50.c netbsd32_compat_60.c

Log Message:
Make sure that each version-specific compat_netbsd32_xx module depends
on all higher-version-specific modules, similar to the non-32bit
compat_xx modules.


To generate a diff of this commit:
cvs rdiff -u -r1.33.36.7 -r1.33.36.8 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/compat/netbsd32/netbsd32_compat_16.c
cvs rdiff -u -r1.36.10.8 -r1.36.10.9 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.11 -r1.31.16.12 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/netbsd32/netbsd32_compat_40.c
cvs rdiff -u -r1.32.16.10 -r1.32.16.11 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.7 -r1.3.2.8 src/sys/compat/netbsd32/netbsd32_compat_60.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/doc

2018-10-02 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Oct  2 22:00:47 UTC 2018

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Update


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/doc/TODO.compat-module

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/arch/sparc64/sparc64

2018-10-02 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Oct  2 22:00:15 UTC 2018

Modified Files:
src/sys/arch/sparc64/sparc64 [pgoyette-compat]: netbsd32_machdep_13.c
netbsd32_machdep_16.c

Log Message:
Remove conditional compilation based on COMPAT_SUNOS - just update the
sf_scp field regardless.  We've previously removed the comparison that
checks if a lwp's emul is emul_sunos, so now we can also remove the
include for "opt_sunos.h"


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/sys/arch/sparc64/sparc64/netbsd32_machdep_13.c \
src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   4   5   6   >