From owner-cvs-sys Sun Aug 18 00:58:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA01603 for cvs-sys-outgoing; Sun, 18 Aug 1996 00:58:19 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA01588; Sun, 18 Aug 1996 00:58:15 -0700 (PDT) Date: Sun, 18 Aug 1996 00:58:15 -0700 (PDT) From: Joerg Wunsch Message-Id: <199608180758.AAA01588@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/netboot ns8390.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/08/18 00:58:14 Modified: sys/i386/boot/netboot ns8390.c Log: Fix a couple of typos that sneaked in with Poul's ETHER_* mega-commit. Reviewed by: phk Revision Changes Path 1.6 +2 -2 src/sys/i386/boot/netboot/ns8390.c From owner-cvs-sys Sun Aug 18 01:38:27 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03694 for cvs-sys-outgoing; Sun, 18 Aug 1996 01:38:27 -0700 (PDT) Received: (from jhay@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03639; Sun, 18 Aug 1996 01:38:18 -0700 (PDT) Date: Sun, 18 Aug 1996 01:38:18 -0700 (PDT) From: John Hay Message-Id: <199608180838.BAA03639@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netipx ipx_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 96/08/18 01:38:17 Modified: sys/netipx ipx_input.c Log: Accept odd length ipx packets. (Win95 and some dialup servers use it.) Original idea submitted by: Atsushi Murai Revision Changes Path 1.9 +10 -6 src/sys/netipx/ipx_input.c From owner-cvs-sys Sun Aug 18 09:14:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00235 for cvs-sys-outgoing; Sun, 18 Aug 1996 09:14:14 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00217; Sun, 18 Aug 1996 09:14:06 -0700 (PDT) Date: Sun, 18 Aug 1996 09:14:06 -0700 (PDT) From: Peter Wemm Message-Id: <199608181614.JAA00217@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys cdefs.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/18 09:14:05 Modified: sys/sys cdefs.h Log: Add __unused to the list of __dead, __dead2, __pure, __pure2 etc. gcc-2.7 has __attribute__((unused)) as a postfix operator on function arguments to prevent -Wunused from complaining about them. gcc < 2.7 doesn't have anything like this (and doesn't care about it either). eg: int foo(bar, baz) int bar __unused; /* needed because of function pointer typing */ char *baz __unused; { return (1); } Revision Changes Path 1.11 +12 -2 src/sys/sys/cdefs.h From owner-cvs-sys Sun Aug 18 09:16:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00429 for cvs-sys-outgoing; Sun, 18 Aug 1996 09:16:24 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00413; Sun, 18 Aug 1996 09:16:19 -0700 (PDT) Date: Sun, 18 Aug 1996 09:16:19 -0700 (PDT) From: Peter Wemm Message-Id: <199608181616.JAA00413@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys errno.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/18 09:16:19 Modified: sys/sys errno.h Log: make the declaration of the __error() function C++ safe. Otherwise, the linker comes up with undefined variables because of the #define errno when using _THREAD_SAFE. Revision Changes Path 1.5 +5 -2 src/sys/sys/errno.h From owner-cvs-sys Sun Aug 18 19:19:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA05690 for cvs-sys-outgoing; Sun, 18 Aug 1996 19:19:40 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA05640; Sun, 18 Aug 1996 19:19:26 -0700 (PDT) Date: Sun, 18 Aug 1996 19:19:26 -0700 (PDT) From: Julian Elischer Message-Id: <199608190219.TAA05640@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys systm.h src/sys/kern kern_shutdown.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 19:19:25 Modified: sys/sys systm.h Added: sys/kern kern_shutdown.c Log: move all functions related to shutting down to one file called kern_shutdown.c note: I couldn't see anything machine dependant in the functions boot() and dumpsys() which were in machdep.c I have left a prototype for cpu_boot() which would go in machdep.c, but I have nothing to put in it. Iexpect others will let me know in no uncertain ways that this or that is machine dependant and should be there, but I'll way for that to happen.. :) I haven't actually taken the functions OUT of machdep or anywhere else yet.. I'm checking in this file so others can have a look at it and comment. SO PLEASE DO COMMENT! I am also (in another checkin) addinf a man(9) page for the new at_shotdown().. er freudian slip there.. at_shutdown() call so have a look at that (and at_exit and at_fork as well) and feed me comments.. I'll heck in the changes to make these (shutdown) changes active tomorrow if no-one objects too strongly.. Revision Changes Path 1.41 +18 -1 src/sys/sys/systm.h From owner-cvs-sys Sun Aug 18 19:28:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06822 for cvs-sys-outgoing; Sun, 18 Aug 1996 19:28:37 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06802; Sun, 18 Aug 1996 19:28:27 -0700 (PDT) Date: Sun, 18 Aug 1996 19:28:27 -0700 (PDT) From: Julian Elischer Message-Id: <199608190228.TAA06802@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exit.c kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 19:28:26 Modified: sys/kern kern_exit.c kern_fork.c Log: add callout lists for exit() and fork() I've been meaning to do this for AGES as I keep having to patch those routines whenever I write a proprietary package or similar.. any module that assigns resources to processes needs to know when these events occur. there are existsing modules that should be modified to take advantage of these.. e.g. SYSV IPC primatives presently have #ifdef entries in exit() this also helps with making LKMs out of such things.. (see the man pages at_exit(9) and at_fork(9)) Revision Changes Path 1.36 +71 -1 src/sys/kern/kern_exit.c 1.24 +72 -1 src/sys/kern/kern_fork.c From owner-cvs-sys Sun Aug 18 19:32:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07148 for cvs-sys-outgoing; Sun, 18 Aug 1996 19:32:58 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07131; Sun, 18 Aug 1996 19:32:46 -0700 (PDT) Date: Sun, 18 Aug 1996 19:32:46 -0700 (PDT) From: Julian Elischer Message-Id: <199608190232.TAA07131@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netatalk at_control.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 19:32:45 Modified: sys/netatalk at_control.c Log: fix a broken atalk stack.. the lat commits (3 weeks ago ) broke this, and I'm only now getting complaints.. oops! Revision Changes Path 1.4 +16 -3 src/sys/netatalk/at_control.c From owner-cvs-sys Sun Aug 18 19:42:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07931 for cvs-sys-outgoing; Sun, 18 Aug 1996 19:42:59 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07913; Sun, 18 Aug 1996 19:42:47 -0700 (PDT) Date: Sun, 18 Aug 1996 19:42:47 -0700 (PDT) From: Julian Elischer Message-Id: <199608190242.TAA07913@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi bt.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 19:42:45 Modified: sys/i386/scsi bt.c Log: oops somehow this dissppeared along the way.. now I've started working on this again, I discovered it.. Revision Changes Path 1.10 +3 -1 src/sys/i386/scsi/bt.c From owner-cvs-sys Sun Aug 18 20:33:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA11140 for cvs-sys-outgoing; Sun, 18 Aug 1996 20:33:56 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA11078; Sun, 18 Aug 1996 20:32:16 -0700 (PDT) Date: Sun, 18 Aug 1996 20:32:16 -0700 (PDT) From: Julian Elischer Message-Id: <199608190332.UAA11078@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 20:32:15 Modified: sys/kern uipc_mbuf.c sys/sys mbuf.h Log: fix handling of external objects referenced by mbufs somehow this got broken between 4.3 tahoe and here, though I've been using these fixes for over a year here.. Revision Changes Path 1.24 +11 -3 src/sys/kern/uipc_mbuf.c 1.17 +11 -25 src/sys/sys/mbuf.h From owner-cvs-sys Mon Aug 19 01:42:02 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA27914 for cvs-sys-outgoing; Mon, 19 Aug 1996 01:42:02 -0700 (PDT) Received: from dfw-ix7.ix.netcom.com (dfw-ix7.ix.netcom.com [206.214.98.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA27900; Mon, 19 Aug 1996 01:41:54 -0700 (PDT) Received: from baloon.mimi.com (sjx-ca56-36.ix.netcom.com [205.186.122.100]) by dfw-ix7.ix.netcom.com (8.6.13/8.6.12) with ESMTP id BAA23277; Mon, 19 Aug 1996 01:41:19 -0700 Received: (from asami@localhost) by baloon.mimi.com (8.7.5/8.6.12) id AAA13225; Mon, 19 Aug 1996 00:53:02 -0700 (PDT) Date: Mon, 19 Aug 1996 00:53:02 -0700 (PDT) Message-Id: <199608190753.AAA13225@baloon.mimi.com> To: peter@freefall.freebsd.org CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-reply-to: <199608181616.JAA00413@freefall.freebsd.org> (message from Peter Wemm on Sun, 18 Aug 1996 09:16:19 -0700 (PDT)) Subject: Re: cvs commit: src/sys/sys errno.h From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * Modified: sys/sys errno.h * Log: * make the declaration of the __error() function C++ safe. Otherwise, * the linker comes up with undefined variables because of the #define errno * when using _THREAD_SAFE. Should we go do the same thing to all the include files? One of the undergrads here ran into a problem when he tried to use MD4 functions from a C++ program, because doesn't have the #include and __BEGIN_DECLS/__END_DECLS either. Satoshi From owner-cvs-sys Mon Aug 19 06:51:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA16586 for cvs-sys-outgoing; Mon, 19 Aug 1996 06:51:39 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA16569; Mon, 19 Aug 1996 06:51:31 -0700 (PDT) Date: Mon, 19 Aug 1996 06:51:31 -0700 (PDT) From: Peter Wemm Message-Id: <199608191351.GAA16569@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/netboot ns8390.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/19 06:51:31 Modified: sys/i386/boot/netboot ns8390.c Log: s/ETHER_MIN_LAN/ETHER_MIN_LEN/ Revision Changes Path 1.7 +1 -1 src/sys/i386/boot/netboot/ns8390.c From owner-cvs-sys Mon Aug 19 06:58:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA17074 for cvs-sys-outgoing; Mon, 19 Aug 1996 06:58:25 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA17056; Mon, 19 Aug 1996 06:58:17 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id XAA14020; Mon, 19 Aug 1996 23:51:26 +1000 Date: Mon, 19 Aug 1996 23:51:26 +1000 From: Bruce Evans Message-Id: <199608191351.XAA14020@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys errno.h Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > * make the declaration of the __error() function C++ safe. Otherwise, >Should we go do the same thing to all the include files? One of the >undergrads here ran into a problem when he tried to use MD4 functions >from a C++ program, because doesn't have the #include > and __BEGIN_DECLS/__END_DECLS either. Yes. Most of them already use __BEGIN_DECLS/__END_DECLS (if necessary). Bruce From owner-cvs-sys Mon Aug 19 11:30:31 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA24705 for cvs-sys-outgoing; Mon, 19 Aug 1996 11:30:31 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA24684; Mon, 19 Aug 1996 11:30:18 -0700 (PDT) Date: Mon, 19 Aug 1996 11:30:18 -0700 (PDT) From: Garrett Wollman Message-Id: <199608191830.LAA24684@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys mbuf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/08/19 11:30:17 Modified: sys/sys mbuf.h Log: Add a protocol-specific mbuf flag. Revision Changes Path 1.18 +3 -2 src/sys/sys/mbuf.h From owner-cvs-sys Mon Aug 19 12:22:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA03065 for cvs-sys-outgoing; Mon, 19 Aug 1996 12:22:40 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA03012; Mon, 19 Aug 1996 12:22:28 -0700 (PDT) Date: Mon, 19 Aug 1996 12:22:28 -0700 (PDT) From: Julian Elischer Message-Id: <199608191922.MAA03012@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_conf.c uipc_socket2.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/19 12:22:27 Modified: sys/kern kern_conf.c uipc_socket2.c Log: for kern_conf.c, start allocating dynamic major numbers half way through the range rather than possibly colliding with fixed elements. Increase the size of the arrays to take this into account.. remember that each element in the array is now only 1 ponter so this isn't that much.. also note a possible bug in debugging code in uipc_socket2.c (add XXX) Revision Changes Path 1.11 +13 -9 src/sys/kern/kern_conf.c 1.13 +2 -2 src/sys/kern/uipc_socket2.c From owner-cvs-sys Mon Aug 19 13:07:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09521 for cvs-sys-outgoing; Mon, 19 Aug 1996 13:07:35 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09477; Mon, 19 Aug 1996 13:07:14 -0700 (PDT) Date: Mon, 19 Aug 1996 13:07:14 -0700 (PDT) From: Julian Elischer Message-Id: <199608192007.NAA09477@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/vn vn.c src/sys/i386/i386 machdep.c src/sys/kern kern_shutdown.c kern_xxx.c subr_prf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/19 13:07:12 Modified: sys/dev/vn vn.c sys/i386/i386 machdep.c sys/kern kern_shutdown.c kern_xxx.c subr_prf.c Log: Collect all the functioons concerned with rebooting into one place also add the at_shutdown callout list, and change the one user of the present (broken) method (the vn driver) to use the new scheme. Revision Changes Path 1.38 +6 -5 src/sys/dev/vn/vn.c 1.199 +6 -160 src/sys/i386/i386/machdep.c 1.2 +2 -1 src/sys/kern/kern_shutdown.c 1.23 +1 -55 src/sys/kern/kern_xxx.c 1.38 +1 -56 src/sys/kern/subr_prf.c From owner-cvs-sys Mon Aug 19 13:28:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA12691 for cvs-sys-outgoing; Mon, 19 Aug 1996 13:28:47 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA12637; Mon, 19 Aug 1996 13:28:28 -0700 (PDT) Date: Mon, 19 Aug 1996 13:28:28 -0700 (PDT) From: Paul Traina Message-Id: <199608192028.NAA12637@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net bpf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/08/19 13:28:27 Modified: sys/net bpf.h Log: Update to match definitions in LBL June 96 release Revision Changes Path 1.10 +17 -10 src/sys/net/bpf.h From owner-cvs-sys Mon Aug 19 14:06:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16878 for cvs-sys-outgoing; Mon, 19 Aug 1996 14:06:51 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16857; Mon, 19 Aug 1996 14:06:42 -0700 (PDT) Date: Mon, 19 Aug 1996 14:06:42 -0700 (PDT) From: Julian Elischer Message-Id: <199608192106.OAA16857@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/vn vn.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/19 14:06:41 Modified: sys/dev/vn vn.c Log: oops apparently this wasn't in my test compile, becasue it didn't Revision Changes Path 1.39 +4 -3 src/sys/dev/vn/vn.c From owner-cvs-sys Mon Aug 19 20:54:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA13215 for cvs-sys-outgoing; Mon, 19 Aug 1996 20:54:33 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA13195; Mon, 19 Aug 1996 20:54:18 -0700 (PDT) Date: Mon, 19 Aug 1996 20:54:18 -0700 (PDT) From: Julian Elischer Message-Id: <199608200354.UAA13195@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf files Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/19 20:54:17 Modified: sys/conf files Log: having checked in the file I probably should check in the entry for kern_shutdown.c if I want anyone to be able to compile a kernel Revision Changes Path 1.75 +1 -0 src/sys/conf/files From owner-cvs-sys Mon Aug 19 21:22:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA16661 for cvs-sys-outgoing; Mon, 19 Aug 1996 21:22:24 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id VAA16644; Mon, 19 Aug 1996 21:22:18 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id OAA08263; Tue, 20 Aug 1996 14:08:14 +1000 Date: Tue, 20 Aug 1996 14:08:14 +1000 From: Bruce Evans Message-Id: <199608200408.OAA08263@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, julian@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/vn vn.c src/sys/i386/i386 machdep.c src/sys/kern kern_shutdown.c kern_xxx.c subr_prf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/dev/vn vn.c > sys/i386/i386 machdep.c > sys/kern kern_shutdown.c kern_xxx.c subr_prf.c > Log: > Collect all the functioons concerned with rebooting into one place > also add the at_shutdown callout list, and change the one user of > the present (broken) method (the vn driver) to use the new scheme. The broken method is no longer used and should never be used, so support for it (cleanups, cleanup_set, executing the cleanups) should be deleted. The old code didn't execute the cleanups if RB_NOSYNC was set. RB_NOSYNC is abused (*) as a flag to indicate recursive panics. This seems to be handled better now. (*) Bad things happen if RB_NOSYNC is set for other reasons, as it is for non-panics in shutdown_nice(): cleanups aren't done and dev_shutdownall() isn't called; OTOH if a panic occurs() inside boot() where boot() has been called for a non-panic, then panic() uses its own boot options usually clobbers any RB_NOSYNC option. Ordering of the shutdown is very delicate, and currently broken. The current order seems best: first, things in the shutdown list, in unspecified order (callers of at_shutdown() shouldn't depend on the each other) second, sync() third, dev_shutdownall() This shows that the one user of at_shutdown() (vn) shouldn't use at_shutdown() :-). vnshutdown removes devices, but shutdown functions must not remove devices because sync() may want to write to the devices. The commented out cpu_boot() may need to be in a different order or split up into before and after pieces for each of the sections above. Leave it out completely until it actually does something. Bruce From owner-cvs-sys Mon Aug 19 22:31:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA22149 for cvs-sys-outgoing; Mon, 19 Aug 1996 22:31:29 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA22144; Mon, 19 Aug 1996 22:31:26 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA17347; Mon, 19 Aug 1996 22:30:48 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma017345; Mon Aug 19 22:30:23 1996 Message-ID: <32194D3A.2781E494@whistle.com> Date: Mon, 19 Aug 1996 22:29:30 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, julian@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/vn vn.c src/sys/i386/i386 machdep.c src/sys/kern kern_shutdown.c kern_xxx.c subr_prf.c References: <199608200408.OAA08263@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > > Modified: sys/dev/vn vn.c > > sys/i386/i386 machdep.c > > sys/kern kern_shutdown.c kern_xxx.c subr_prf.c > > Log: > > Collect all the functioons concerned with rebooting into one place > > also add the at_shutdown callout list, and change the one user of > > the present (broken) method (the vn driver) to use the new scheme. > > The broken method is no longer used and should never be used, so support > for it (cleanups, cleanup_set, executing the cleanups) should be deleted. I wasn't sure that some 3rd party wasn't using it in a proprietary module so decided to make it NOISY for a while before deleting it.. it'll go away.. It's broken because LKMs will never call it. > > The old code didn't execute the cleanups if RB_NOSYNC was set. RB_NOSYNC > is abused (*) as a flag to indicate recursive panics. This seems to be > handled better now. yes I was going to look at this some more too, it really shouldn't be overloading RB_NOSYNC but should have a local static var for this purpose. > > (*) Bad things happen if RB_NOSYNC is set for other reasons, as it is > for non-panics in shutdown_nice(): cleanups aren't done and > dev_shutdownall() isn't called; OTOH if a panic occurs() inside boot() > where boot() has been called for a non-panic, then panic() uses its own > boot options usually clobbers any RB_NOSYNC option. With it all in one place it get's a little easier to see what needs to be done.. > > Ordering of the shutdown is very delicate, and currently broken. The > current order seems best: > > first, things in the shutdown list, in unspecified order > (callers of at_shutdown() shouldn't depend on the > each other) > second, sync() > third, dev_shutdownall() > > This shows that the one user of at_shutdown() (vn) shouldn't use > at_shutdown() :-). The one CHECKED IN user.. I have two proprietary users already but the point is that it SHOULD use something similar, because it is a separate module and shouldn't require a #if NVN > 0 in shutdown to make it work.. > vnshutdown removes devices, but shutdown functions > must not remove devices because sync() may want to write to the > devices. > > The commented out cpu_boot() may need to be in a different order or > split up into before and after pieces for each of the sections above. > Leave it out completely until it actually does something. I left it commmented out because I couldn't figure out that question.. (where to put it). I have started thinking about having some ordering e.g. similar to the SYSINIT ordering, maybe a couple of categories.. the last of which would be shutting down raw devices. From owner-cvs-sys Mon Aug 19 23:09:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA26079 for cvs-sys-outgoing; Mon, 19 Aug 1996 23:09:11 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA25963; Mon, 19 Aug 1996 23:07:39 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with SMTP id XAA15909; Mon, 19 Aug 1996 23:07:29 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id QAA12520; Tue, 20 Aug 1996 16:06:06 +1000 Date: Tue, 20 Aug 1996 16:06:06 +1000 From: Bruce Evans Message-Id: <199608200606.QAA12520@godzilla.zeta.org.au> To: bde@zeta.org.au, julian@whistle.com Subject: Re: cvs commit: src/sys/dev/vn vn.c src/sys/i386/i386 machdep.c src/sys/kern kern_shutdown.c kern_xxx.c subr_prf.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, julian@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> The broken method is no longer used and should never be used, so support >> for it (cleanups, cleanup_set, executing the cleanups) should be deleted. >I wasn't sure that some 3rd party wasn't using it in a proprietary >module so decided to make it NOISY for a while before deleting it.. >it'll go away.. Failing to compile or load (an lkm) is noisier and safer. >(where to put it). I have started thinking about having some ordering >e.g. similar to the SYSINIT ordering, maybe a couple of categories.. >the last of which would be shutting down raw devices. I hope this isn't necessary. SYSINIT provides more complications that benefits. Bruce From owner-cvs-sys Tue Aug 20 00:18:22 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02833 for cvs-sys-outgoing; Tue, 20 Aug 1996 00:18:22 -0700 (PDT) Received: (from smpatel@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02812; Tue, 20 Aug 1996 00:18:12 -0700 (PDT) Date: Tue, 20 Aug 1996 00:18:12 -0700 (PDT) From: Sujal Patel Message-Id: <199608200718.AAA02812@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exit.c sys_generic.c syscalls.master src/sys/sys malloc.h proc.h sysproto.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk smpatel 96/08/20 00:18:11 Modified: sys/kern kern_exit.c sys_generic.c syscalls.master sys/sys malloc.h proc.h sysproto.h Log: Remove the kernel FD_SETSIZE limit for select(). Make select()'s first argument 'int' not 'u_int'. Reviewed by: bde Revision Changes Path 1.37 +7 -1 src/sys/kern/kern_exit.c 1.19 +43 -15 src/sys/kern/sys_generic.c 1.28 +2 -2 src/sys/kern/syscalls.master 1.16 +4 -2 src/sys/sys/malloc.h 1.27 +4 -1 src/sys/sys/proc.h 1.12 +1 -1 src/sys/sys/sysproto.h From owner-cvs-sys Tue Aug 20 00:20:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03189 for cvs-sys-outgoing; Tue, 20 Aug 1996 00:20:39 -0700 (PDT) Received: (from smpatel@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03147; Tue, 20 Aug 1996 00:20:32 -0700 (PDT) Date: Tue, 20 Aug 1996 00:20:32 -0700 (PDT) From: Sujal Patel Message-Id: <199608200720.AAA03147@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern init_sysent.c syscalls.c src/sys/sys syscall-hide.h syscall.h sysproto.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk smpatel 96/08/20 00:20:31 Modified: sys/kern init_sysent.c syscalls.c sys/sys syscall-hide.h syscall.h sysproto.h Log: Reran makesyscalls.sh after changing select()'s first argument to 'int'. Revision Changes Path 1.35 +1 -1 src/sys/kern/init_sysent.c 1.30 +1 -1 src/sys/kern/syscalls.c 1.24 +1 -1 src/sys/sys/syscall-hide.h 1.28 +1 -1 src/sys/sys/syscall.h 1.13 +1 -1 src/sys/sys/sysproto.h From owner-cvs-sys Tue Aug 20 00:23:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03454 for cvs-sys-outgoing; Tue, 20 Aug 1996 00:23:46 -0700 (PDT) Received: (from smpatel@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03432; Tue, 20 Aug 1996 00:23:37 -0700 (PDT) Date: Tue, 20 Aug 1996 00:23:37 -0700 (PDT) From: Sujal Patel Message-Id: <199608200723.AAA03432@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys unistd.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk smpatel 96/08/20 00:23:37 Modified: sys/sys unistd.h Log: Sync rfork() flags up with OpenBSD. Suggested by: Theo de Raadt Revision Changes Path 1.7 +13 -7 src/sys/sys/unistd.h From owner-cvs-sys Tue Aug 20 08:03:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA04746 for cvs-sys-outgoing; Tue, 20 Aug 1996 08:03:58 -0700 (PDT) Received: (from smpatel@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA04724; Tue, 20 Aug 1996 08:03:45 -0700 (PDT) Date: Tue, 20 Aug 1996 08:03:45 -0700 (PDT) From: Sujal Patel Message-Id: <199608201503.IAA04724@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern sys_generic.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk smpatel 96/08/20 08:03:43 Modified: sys/kern sys_generic.c Log: Fix a minor style error in my code. Revision Changes Path 1.20 +2 -2 src/sys/kern/sys_generic.c From owner-cvs-sys Tue Aug 20 16:11:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA11053 for cvs-sys-outgoing; Tue, 20 Aug 1996 16:11:39 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA11037; Tue, 20 Aug 1996 16:11:31 -0700 (PDT) Date: Tue, 20 Aug 1996 16:11:31 -0700 (PDT) From: Bill Fenner Message-Id: <199608202311.QAA11037@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_icmp.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fenner 96/08/20 16:11:31 Modified: sys/netinet ip_icmp.h Log: Add #define's for RFC1716/RFC1812 new ICMP UNREACHABLE types. Obtained from: LBL's tcpdump distribution Revision Changes Path 1.9 +4 -1 src/sys/netinet/ip_icmp.h From owner-cvs-sys Wed Aug 21 09:31:44 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA04028 for cvs-sys-outgoing; Wed, 21 Aug 1996 09:31:44 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA04006; Wed, 21 Aug 1996 09:31:36 -0700 (PDT) Date: Wed, 21 Aug 1996 09:31:36 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199608211631.JAA04006@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf Makefile.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/08/21 09:31:35 Modified: sys/i386/conf Makefile.i386 Log: Add /usr/sbin to sysctl because /usr/sbin not in standard path Revision Changes Path 1.86 +3 -3 src/sys/i386/conf/Makefile.i386 From owner-cvs-sys Wed Aug 21 14:37:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA00356 for cvs-sys-outgoing; Wed, 21 Aug 1996 14:37:37 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA00329; Wed, 21 Aug 1996 14:37:14 -0700 (PDT) Date: Wed, 21 Aug 1996 14:37:14 -0700 (PDT) From: Soren Schmidt Message-Id: <199608212137.OAA00329@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c raw_ip.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/08/21 14:37:12 Modified: sys/netinet in.h ip_fw.h ip_input.c ip_output.c raw_ip.c Log: Add hooks for an IP NAT module, much like the firewall stuff... Move the sockopt definitions for the firewall code from ip_fw.h to in.h where it belongs. Revision Changes Path 1.20 +21 -5 src/sys/netinet/in.h 1.23 +1 -12 src/sys/netinet/ip_fw.h 1.46 +13 -1 src/sys/netinet/ip_input.c 1.42 +14 -1 src/sys/netinet/ip_output.c 1.34 +11 -4 src/sys/netinet/raw_ip.c From owner-cvs-sys Wed Aug 21 14:56:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02674 for cvs-sys-outgoing; Wed, 21 Aug 1996 14:56:43 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02651; Wed, 21 Aug 1996 14:56:27 -0700 (PDT) Date: Wed, 21 Aug 1996 14:56:27 -0700 (PDT) From: John Dyson Message-Id: <199608212156.OAA02651@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c vfs_subr.c vfs_vnops.c src/sys/miscfs/specfs spec_vnops.c src/sys/nfs nfs.h nfs_nqlease.c nfs_serv.c nfs_subs.c src/sys/sys vnode.h src/sys/vm vm_object.c vm_object.h vnode_pager.c src/sys/ufs/ffs ffs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/08/21 14:56:26 Modified: sys/kern vfs_bio.c vfs_subr.c vfs_vnops.c sys/miscfs/specfs spec_vnops.c sys/nfs nfs.h nfs_nqlease.c nfs_serv.c nfs_subs.c sys/sys vnode.h sys/ufs/ffs ffs_vfsops.c sys/vm vm_object.c vm_object.h vnode_pager.c Log: Even though this looks like it, this is not a complex code change. The interface into the "VMIO" system has changed to be more consistant and robust. Essentially, it is now no longer necessary to call vn_open to get merged VM/Buffer cache operation, and exceptional conditions such as merged operation of VBLK devices is simpler and more correct. This code corrects a potentially large set of problems including the problems with ktrace output and loaded systems, file create/deletes, etc. Most of the changes to NFS are cosmetic and name changes, eliminating a layer of subroutine calls. The direct calls to vput/vrele have been re-instituted for better cross platform compatibility. Reviewed by: davidg Revision Changes Path 1.96 +17 -2 src/sys/kern/vfs_bio.c 1.59 +103 -10 src/sys/kern/vfs_subr.c 1.26 +5 -56 src/sys/kern/vfs_vnops.c 1.31 +7 -2 src/sys/miscfs/specfs/spec_vnops.c 1.18 +2 -4 src/sys/nfs/nfs.h 1.20 +3 -3 src/sys/nfs/nfs_nqlease.c 1.31 +133 -153 src/sys/nfs/nfs_serv.c 1.32 +6 -49 src/sys/nfs/nfs_subs.c 1.34 +6 -6 src/sys/sys/vnode.h 1.40 +16 -4 src/sys/ufs/ffs/ffs_vfsops.c 1.79 +10 -4 src/sys/vm/vm_object.c 1.29 +2 -1 src/sys/vm/vm_object.h 1.63 +2 -2 src/sys/vm/vnode_pager.c From owner-cvs-sys Wed Aug 21 15:23:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05430 for cvs-sys-outgoing; Wed, 21 Aug 1996 15:23:23 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA04120; Wed, 21 Aug 1996 15:11:46 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15223(3)>; Wed, 21 Aug 1996 15:10:54 PDT Received: from localhost ([127.0.0.1]) by crevenia.parc.xerox.com with SMTP id <177517>; Wed, 21 Aug 1996 15:10:44 -0700 X-Mailer: exmh version 1.6.7 5/3/96 To: Soren Schmidt cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c raw_ip.c In-reply-to: Your message of "Wed, 21 Aug 1996 14:37:14 PDT." <199608212137.OAA00329@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Aug 1996 15:10:12 PDT From: Bill Fenner Message-Id: <96Aug21.151044pdt.177517@crevenia.parc.xerox.com> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608212137.OAA00329@freefall.freebsd.org>you write: > Add hooks for an IP NAT module, much like the firewall stuff... How does this compare with Julian's IPDIVERT stuff -- I thought that IPDIVERT was mostly for NAT-like functionality? Bill From owner-cvs-sys Wed Aug 21 20:51:02 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA08538 for cvs-sys-outgoing; Wed, 21 Aug 1996 20:51:02 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA08515; Wed, 21 Aug 1996 20:50:38 -0700 (PDT) Date: Wed, 21 Aug 1996 20:50:38 -0700 (PDT) From: Julian Elischer Message-Id: <199608220350.UAA08515@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-share, cvs-sys Subject: cvs commit: src/lib/libc/sys reboot.2 src/share/man/man9 at_shutdown.9 src/sys/dev/vn vn.c src/sys/kern kern_exit.c kern_fork.c kern_shutdown.c src/sys/sys reboot.h systm.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/21 20:50:37 Modified: lib/libc/sys reboot.2 share/man/man9 at_shutdown.9 sys/dev/vn vn.c sys/kern kern_exit.c kern_fork.c kern_shutdown.c sys/sys reboot.h systm.h Log: Some cleanups to the callout lists recently added. note that at_shutdown has a new parameter to indicate When during a shutdown the callout should be made. also add a RB_POWEROFF flag to reboot "howto" parameter.. tells the reboot code in our at_shutdown module to turn off the UPS and kill the power. bound to be useful eventually on laptops Revision Changes Path 1.4 +3 -0 src/lib/libc/sys/reboot.2 1.3 +13 -3 src/share/man/man9/at_shutdown.9 1.40 +2 -2 src/sys/dev/vn/vn.c 1.38 +23 -18 src/sys/kern/kern_exit.c 1.25 +38 -31 src/sys/kern/kern_fork.c 1.3 +66 -29 src/sys/kern/kern_shutdown.c 1.12 +2 -1 src/sys/sys/reboot.h 1.42 +5 -3 src/sys/sys/systm.h From owner-cvs-sys Wed Aug 21 23:53:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA21338 for cvs-sys-outgoing; Wed, 21 Aug 1996 23:53:56 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA21333; Wed, 21 Aug 1996 23:53:52 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id IAA06026; Thu, 22 Aug 1996 08:53:47 +0200 Message-Id: <199608220653.IAA06026@ra.dkuug.dk> Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c To: fenner@parc.xerox.com (Bill Fenner) Date: Thu, 22 Aug 1996 08:53:46 +0200 (MET DST) Cc: sos@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <96Aug21.151044pdt.177517@crevenia.parc.xerox.com> from "Bill Fenner" at Aug 21, 96 03:10:12 pm From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Bill Fenner who wrote: > > In message <199608212137.OAA00329@freefall.freebsd.org>you write: > > Add hooks for an IP NAT module, much like the firewall stuff... > > How does this compare with Julian's IPDIVERT stuff -- I thought that IPDIVERT > was mostly for NAT-like functionality? It does not compare. These hooks are for a kernel level impl. of NAT which to my best judgement belongs in the kernel. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time. From owner-cvs-sys Thu Aug 22 00:36:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24287 for cvs-sys-outgoing; Thu, 22 Aug 1996 00:36:55 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA24280; Thu, 22 Aug 1996 00:36:51 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id AAA27855; Thu, 22 Aug 1996 00:36:17 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma027853; Thu Aug 22 00:36:08 1996 Message-ID: <321C0DAE.695678E2@whistle.com> Date: Thu, 22 Aug 1996 00:35:11 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: sos@FreeBSD.org CC: Bill Fenner , sos@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c References: <199608220653.IAA06026@ra.dkuug.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk sos@FreeBSD.org wrote: > > In reply to Bill Fenner who wrote: > > > > In message <199608212137.OAA00329@freefall.freebsd.org>you write: > > > Add hooks for an IP NAT module, much like the firewall stuff... > > > > How does this compare with Julian's IPDIVERT stuff -- I thought that IPDIVERT > > was mostly for NAT-like functionality? > > It does not compare. > These hooks are for a kernel level impl. of NAT which to my best judgement > belongs in the kernel. and we think it belongs out of the kernel.. this way we can both have our way.. (of course we are also using the divert stuff for packet encryption etc. as well.) > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > So much code to hack -- so little time. From owner-cvs-sys Thu Aug 22 00:49:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA25015 for cvs-sys-outgoing; Thu, 22 Aug 1996 00:49:57 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA25010; Thu, 22 Aug 1996 00:49:54 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id JAA06215; Thu, 22 Aug 1996 09:49:37 +0200 Message-Id: <199608220749.JAA06215@ra.dkuug.dk> Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c To: julian@whistle.com (Julian Elischer) Date: Thu, 22 Aug 1996 09:49:37 +0200 (MET DST) Cc: sos@FreeBSD.org, fenner@parc.xerox.com, sos@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <321C0DAE.695678E2@whistle.com> from "Julian Elischer" at Aug 22, 96 00:35:11 am From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Julian Elischer who wrote: > > sos@FreeBSD.org wrote: > > > > These hooks are for a kernel level impl. of NAT which to my best judgement > > belongs in the kernel. > and we think it belongs out of the kernel.. > this way we can both have our way.. Exactly.. > (of course we are also using the divert stuff for packet encryption etc. > as well.) Ahh, maybe I should do one of those too.. :) Actually what I would have liked, was one function ptr, that one could grap, and redirect, eventually chain to what was there before, plus maybe some kind of registering functionality. THat way firewall, NAT, divert whatever code could have been kept out of the ip files. But the gods intended it differently :(, or could we now get to some higher level agreement on how to do this, or should we just go our own ways (as usual).. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time. From owner-cvs-sys Thu Aug 22 10:37:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA02319 for cvs-sys-outgoing; Thu, 22 Aug 1996 10:37:24 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA02291; Thu, 22 Aug 1996 10:37:07 -0700 (PDT) Date: Thu, 22 Aug 1996 10:37:07 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608221737.KAA02291@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern init_main.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/22 10:37:05 Modified: sys/kern init_main.c Log: add FreeBSD Inc. to copyright string Revision Changes Path 1.45 +2 -1 src/sys/kern/init_main.c From owner-cvs-sys Thu Aug 22 19:53:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA22827 for cvs-sys-outgoing; Thu, 22 Aug 1996 19:53:18 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA22801; Thu, 22 Aug 1996 19:52:51 -0700 (PDT) Date: Thu, 22 Aug 1996 19:52:51 -0700 (PDT) From: John Dyson Message-Id: <199608230252.TAA22801@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/08/22 19:52:49 Modified: sys/i386/isa wd.c Log: Another attempt at making multi-sector mode work. Revision Changes Path 1.115 +35 -16 src/sys/i386/isa/wd.c From owner-cvs-sys Fri Aug 23 11:59:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26437 for cvs-sys-outgoing; Fri, 23 Aug 1996 11:59:33 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26397; Fri, 23 Aug 1996 11:59:12 -0700 (PDT) Date: Fri, 23 Aug 1996 11:59:12 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199608231859.LAA26397@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/08/23 11:59:10 Modified: sys/netinet in_pcb.c in_pcb.h Log: Mark sockets where the kernel chose the port# for. This can be used by netstat to behave more intelligently. Revision Changes Path 1.21 +3 -1 src/sys/netinet/in_pcb.c 1.12 +2 -1 src/sys/netinet/in_pcb.h From owner-cvs-sys Fri Aug 23 20:11:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07775 for cvs-sys-outgoing; Fri, 23 Aug 1996 20:11:59 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07680; Fri, 23 Aug 1996 20:11:18 -0700 (PDT) Date: Fri, 23 Aug 1996 20:11:18 -0700 (PDT) From: Peter Wemm Message-Id: <199608240311.UAA07680@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net route.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/23 20:11:16 Modified: sys/net route.c Log: route.c:RTM_ADD does not check for a netmask before doing a tree walk like it does elsewhere. This is probably only happens when incorrect args are given to route(8), or when running with non-IPv4 stacks but incorrect args to the route command is no excuse for panicing! Submitted by: Michael Clay , PR#1532 Revision Changes Path 1.35 +2 -2 src/sys/net/route.c From owner-cvs-sys Fri Aug 23 20:24:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA08824 for cvs-sys-outgoing; Fri, 23 Aug 1996 20:24:52 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA08799; Fri, 23 Aug 1996 20:24:42 -0700 (PDT) Date: Fri, 23 Aug 1996 20:24:42 -0700 (PDT) From: Peter Wemm Message-Id: <199608240324.UAA08799@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa spkr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/23 20:24:41 Modified: sys/i386/isa spkr.c Log: Unconditionally null-terminate string read into spkr driver. Submitted by: Ikuo Nakagawa , PR#1488, but using Bruce Evans 's fix. Revision Changes Path 1.26 +6 -3 src/sys/i386/isa/spkr.c From owner-cvs-sys Fri Aug 23 20:35:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA10199 for cvs-sys-outgoing; Fri, 23 Aug 1996 20:35:34 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA10140; Fri, 23 Aug 1996 20:35:19 -0700 (PDT) Date: Fri, 23 Aug 1996 20:35:19 -0700 (PDT) From: Peter Wemm Message-Id: <199608240335.UAA10140@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/23 20:35:16 Modified: sys/kern uipc_syscalls.c Log: The socketpair(0 syscall is bogusly returning the fd numbers through the primary and secondary return codes, causing it to not behave as documented. This probably originates from the ancient BSD kernels that had pipe(2) implemented by socketpair(2), there are no binaries left that we can run that do this. Pointed out by: Robert Withrow , PR#731 Revision Changes Path 1.19 +3 -1 src/sys/kern/uipc_syscalls.c