Module Name: src Committed By: martin Date: Tue Mar 10 06:47:55 UTC 2020
Modified Files: src/sys/arch/amd64/amd64 [netbsd-9]: trap.c src/sys/compat/netbsd32 [netbsd-9]: netbsd32_mod.c Log Message: Pull up following revision(s) (requested by pgoyette in ticket #778): sys/compat/netbsd32/netbsd32_mod.c: revision 1.20 sys/arch/amd64/amd64/trap.c: revision 1.127 Rework previous, so that the real syscall code is not invoked from within the module_hook code. Otherwise, if the syscall just happens to be exit() we will exit while still holding a reference to the hook's localcount, and nothing will ever release that reference. Attempts to manually unload the module will hang indefinitely, as will modstat(8). XXX pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.121.2.2 -r1.121.2.3 src/sys/arch/amd64/amd64/trap.c cvs rdiff -u -r1.15.4.3 -r1.15.4.4 src/sys/compat/netbsd32/netbsd32_mod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.