From owner-cvs-sys Sat Oct 7 16:47:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA02229 for cvs-sys-outgoing; Sat, 7 Oct 1995 16:47:38 -0700 Received: (from swallace@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA02214 ; Sat, 7 Oct 1995 16:47:28 -0700 Date: Sat, 7 Oct 1995 16:47:28 -0700 From: Steven Wallace Message-Id: <199510072347.QAA02214@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_exit.c uipc_syscalls.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk swallace 95/10/07 16:47:27 Modified: sys/kern kern_exit.c uipc_syscalls.c Log: Remove compat_43 psuedo-argument hack, and replace with a better hack. Instead of using a fake "compat" argument, pass a real compat int to function if COMPAT_43 is defined. Functions involved: wait4, accept, recvfrom, getsockname. With the compat psuedo-argument, this introduces an argument structure that can have two possible sizes depending on compat options. This makes life difficult for lkm modules like ibcs2, which would have to guess what size used in kernel when compiled. Also, the prototype generator for these structures cannot generate proper sizes. Now there is only one fixed structure and makes everybody happy. I recommend these changes be introduced to 2.1 so that ibcs2, linux lkm's generated for 2.2 can still run on a 2.1 kernel.