From owner-cvs-sys Sun Mar 30 01:08:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA16525 for cvs-sys-outgoing; Sun, 30 Mar 1997 01:08:08 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA16516; Sun, 30 Mar 1997 01:08:05 -0800 (PST) Date: Sun, 30 Mar 1997 01:08:05 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199703300908.BAA16516@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/03/30 01:08:04 Modified: sys/i386/apm apm.c Log: Fix embarrasing typo that survived because I applied the wrong patch- file. Noticed by: Eric Jones Revision Changes Path 1.56 +3 -3 src/sys/i386/apm/apm.c From owner-cvs-sys Sun Mar 30 08:03:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA29375 for cvs-sys-outgoing; Sun, 30 Mar 1997 08:03:09 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA29366; Sun, 30 Mar 1997 08:03:05 -0800 (PST) Date: Sun, 30 Mar 1997 08:03:05 -0800 (PST) From: Joerg Wunsch Message-Id: <199703301603.IAA29366@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 i386-gdbstub.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/03/30 08:03:03 Modified: sys/i386/i386 i386-gdbstub.c Log: Implement the `detach' command for remote GDB. It gets you back at DDB. Revision Changes Path 1.4 +8 -0 src/sys/i386/i386/i386-gdbstub.c From owner-cvs-sys Mon Mar 31 00:27:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26788 for cvs-sys-outgoing; Mon, 31 Mar 1997 00:27:08 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26781; Mon, 31 Mar 1997 00:27:06 -0800 (PST) Date: Mon, 31 Mar 1997 00:27:06 -0800 (PST) From: KATO Takenori Message-Id: <199703310827.AAA26781@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf GENERIC98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/03/31 00:27:06 Modified: sys/pc98/conf GENERIC98 Log: Synchronize with sys/i386/conf/GENERIC revision 1.89. Revision Changes Path 1.19 +3 -3 src/sys/pc98/conf/GENERIC98 From owner-cvs-sys Mon Mar 31 03:11:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA09430 for cvs-sys-outgoing; Mon, 31 Mar 1997 03:11:36 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA09423; Mon, 31 Mar 1997 03:11:32 -0800 (PST) Date: Mon, 31 Mar 1997 03:11:32 -0800 (PST) From: David Greenman Message-Id: <199703311111.DAA09423@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c src/sys/i386/i386 machdep.c src/sys/pc98/i386 machdep.c src/sys/vm vm_kern.c vm_kern.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/03/31 03:11:31 Modified: sys/i386/i386 machdep.c sys/kern kern_exec.c sys/pc98/i386 machdep.c sys/vm vm_kern.c vm_kern.h Log: Changed the way that the exec image header is read to be filesystem- centric rather than VM-centric to fix a problem with errors not being detectable when the header is read. Killed exech_map as a result of these changes. There appears to be no performance difference with this change. Revision Changes Path 1.234 +1 -3 src/sys/i386/i386/machdep.c 1.53 +38 -29 src/sys/kern/kern_exec.c 1.34 +1 -3 src/sys/pc98/i386/machdep.c 1.34 +1 -2 src/sys/vm/vm_kern.c 1.13 +1 -2 src/sys/vm/vm_kern.h From owner-cvs-sys Mon Mar 31 04:03:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA12803 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:03:09 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA12794; Mon, 31 Mar 1997 04:03:06 -0800 (PST) Date: Mon, 31 Mar 1997 04:03:06 -0800 (PST) From: Peter Wemm Message-Id: <199703311203.EAA12794@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:03:04 Modified: sys/kern vfs_syscalls.c sys/ufs/ufs ufs_lookup.c ufs_vnops.c Log: Treat symlinks as first class citizens with their own uid/gid rather than as shadows of their containing directory. This should solve the problem of users not being able to delete their symlinks from /tmp once and for all. Symlinks do not have modes though, they are accessable to everything that can read the directory (as before). They are made to show this fact at lstat time (they appear as mode 0777 always, since that's how the the lookup routines in the kernel treat them). More commits will follow, eg: add a real lchown() syscall and man pages. Revision Changes Path 1.62 +19 -70 src/sys/kern/vfs_syscalls.c 1.14 +1 -2 src/sys/ufs/ufs/ufs_lookup.c 1.49 +2 -5 src/sys/ufs/ufs/ufs_vnops.c From owner-cvs-sys Mon Mar 31 04:11:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13407 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:11:32 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA13310; Mon, 31 Mar 1997 04:10:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id EAA09074; Mon, 31 Mar 1997 04:12:18 -0800 (PST) Message-Id: <199703311212.EAA09074@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c In-reply-to: Your message of "Mon, 31 Mar 1997 04:03:06 PST." <199703311203.EAA12794@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Mon, 31 Mar 1997 04:12:18 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >peter 97/03/31 04:03:04 > > Modified: sys/kern vfs_syscalls.c > sys/ufs/ufs ufs_lookup.c ufs_vnops.c > Log: > Treat symlinks as first class citizens with their own uid/gid rather than > as shadows of their containing directory. This should solve the problem > of users not being able to delete their symlinks from /tmp once and for > all. > > Symlinks do not have modes though, they are accessable to everything that > can read the directory (as before). They are made to show this fact at > lstat time (they appear as mode 0777 always, since that's how the the > lookup routines in the kernel treat them). > > More commits will follow, eg: add a real lchown() syscall and man pages. Thanks!!! I've been complaining about this ever since 4.4-lite... -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Mon Mar 31 04:15:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13635 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:15:00 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13624; Mon, 31 Mar 1997 04:14:55 -0800 (PST) Date: Mon, 31 Mar 1997 04:14:55 -0800 (PST) From: Peter Wemm Message-Id: <199703311214.EAA13624@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern syscalls.master Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:14:52 Modified: sys/kern syscalls.master Log: Reserve 252 (poll, first in OpenBSD) Reserve 253 (issetugid, as in OpenBSD) Allocate 254 for lchown(2) Revision Changes Path 1.34 +4 -1 src/sys/kern/syscalls.master From owner-cvs-sys Mon Mar 31 04:17:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13876 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:17:50 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13865; Mon, 31 Mar 1997 04:17:47 -0800 (PST) Date: Mon, 31 Mar 1997 04:17:47 -0800 (PST) From: Peter Wemm Message-Id: <199703311217.EAA13865@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.h syscall-hide.h sysproto.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:17:47 Modified: sys/kern init_sysent.c syscalls.c sys/sys syscall.h syscall-hide.h sysproto.h Log: Regenerate Revision Changes Path 1.40 +4 -1 src/sys/kern/init_sysent.c 1.35 +4 -1 src/sys/kern/syscalls.c 1.33 +3 -2 src/sys/sys/syscall.h 1.29 +2 -1 src/sys/sys/syscall-hide.h 1.19 +7 -1 src/sys/sys/sysproto.h From owner-cvs-sys Mon Mar 31 04:21:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14080 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:21:45 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14073; Mon, 31 Mar 1997 04:21:42 -0800 (PST) Date: Mon, 31 Mar 1997 04:21:42 -0800 (PST) From: Peter Wemm Message-Id: <199703311221.EAA14073@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:21:40 Modified: sys/kern vfs_syscalls.c Log: Code to do lchown(2), copied from chown(2) except it's NOFOLLOW in ND_INIT instead of FOLLOW. Revision Changes Path 1.63 +41 -1 src/sys/kern/vfs_syscalls.c From owner-cvs-sys Mon Mar 31 04:24:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14195 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:24:04 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA14152; Mon, 31 Mar 1997 04:23:12 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id UAA12388; Mon, 31 Mar 1997 20:22:49 +0800 (WST) Message-Id: <199703311222.UAA12388@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern syscalls.master In-reply-to: Your message of "Mon, 31 Mar 1997 04:14:55 PST." <199703311214.EAA13624@freefall.freebsd.org> Date: Mon, 31 Mar 1997 20:22:48 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > peter 97/03/31 04:14:52 > > Modified: sys/kern syscalls.master > Log: > Reserve 252 (poll, first in OpenBSD) > Reserve 253 (issetugid, as in OpenBSD) > Allocate 254 for lchown(2) ^^^ ^^^^^^^^^ Same syscall number as OpenBSD. Cheers, -Peter From owner-cvs-sys Mon Mar 31 04:30:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14445 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:30:06 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14438; Mon, 31 Mar 1997 04:30:04 -0800 (PST) Date: Mon, 31 Mar 1997 04:30:04 -0800 (PST) From: David Greenman Message-Id: <199703311230.EAA14438@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket2.c uipc_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/03/31 04:30:03 Modified: sys/kern uipc_socket2.c uipc_syscalls.c Log: In accept1(), falloc() is called after the process has awoken, but prior to removing the connection from the queue. The problem here is that falloc() may block and this would allow another process to accept the connection instead. If this happens to leave the queue empty, then the system will panic with an "accept: nothing queued". Also changed a wakeup() to a wakeup_one() to avoid the "thundering herd" problem on new connections in Apache (or any other application that has multiple processes blocked in accept() for the same socket). Revision Changes Path 1.23 +3 -3 src/sys/kern/uipc_socket2.c 1.24 +22 -6 src/sys/kern/uipc_syscalls.c From owner-cvs-sys Mon Mar 31 04:32:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14796 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:32:05 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA14781; Mon, 31 Mar 1997 04:32:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id EAA09156; Mon, 31 Mar 1997 04:33:33 -0800 (PST) Message-Id: <199703311233.EAA09156@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern uipc_socket2.c uipc_syscalls.c From: David Greenman Reply-To: dg@root.com Date: Mon, 31 Mar 1997 04:33:33 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Also changed a wakeup() to a wakeup_one() to avoid the "thundering herd" > problem on new connections in Apache (or any other application that has > multiple processes blocked in accept() for the same socket). Oops, I forgot to mention that this change was suggested by David Filo . -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Mon Mar 31 05:21:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA17122 for cvs-sys-outgoing; Mon, 31 Mar 1997 05:21:41 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA17115; Mon, 31 Mar 1997 05:21:39 -0800 (PST) Date: Mon, 31 Mar 1997 05:21:39 -0800 (PST) From: Peter Wemm Message-Id: <199703311321.FAA17115@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 05:21:39 Modified: sys/kern kern_prot.c Log: Make setgroups(0, xxx) behave as it does on SYSV, namely clear the groups vector except for the egid in groups[0]. There is a risk that programs that come from SYSV/Linux that expect this to work and don't check for error returns may accidently pass root's groups on to child processes. We now do what is least suprising (to non BSD programs/programmers) in this scenario, and nothing is changed for programs written with BSD groups rules in mind. Reviewed by: ache Revision Changes Path 1.27 +20 -6 src/sys/kern/kern_prot.c From owner-cvs-sys Mon Mar 31 05:36:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA17773 for cvs-sys-outgoing; Mon, 31 Mar 1997 05:36:50 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA17766; Mon, 31 Mar 1997 05:36:48 -0800 (PST) Date: Mon, 31 Mar 1997 05:36:48 -0800 (PST) From: Peter Wemm Message-Id: <199703311336.FAA17766@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 05:36:47 Modified: sys/kern kern_prot.c Log: Fully implement the clause in Appendix B.4.2.2 from Posix 1003.1 that allows traditional BSD setuid/setgid behavior. The only visible difference should be that a non-root setuid program (eg: inn's "rnews" program) that is setuid to news, can completely "become" uid news. (ie: setuid(geteuid()) This was allowed in traditional 4.2/4.3BSD and is now "blessed" by Posix as a special case of "appropriate privilige". Also, be much more careful with the P_SUGID flag so that we can use it for issetugid() - only set it if something changed. Reviewed by: ache Revision Changes Path 1.28 +132 -31 src/sys/kern/kern_prot.c From owner-cvs-sys Mon Mar 31 05:41:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18014 for cvs-sys-outgoing; Mon, 31 Mar 1997 05:41:56 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18005; Mon, 31 Mar 1997 05:41:52 -0800 (PST) Date: Mon, 31 Mar 1997 05:41:52 -0800 (PST) From: Peter Wemm Message-Id: <199703311341.FAA18005@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 05:41:51 Modified: sys/kern kern_prot.c Log: Do not set the P_SUGID flag in seteuid()/setegid() if nothing has changed. (for supporting issetugid()) Revision Changes Path 1.29 +15 -9 src/sys/kern/kern_prot.c From owner-cvs-sys Mon Mar 31 05:47:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18196 for cvs-sys-outgoing; Mon, 31 Mar 1997 05:47:03 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18189; Mon, 31 Mar 1997 05:47:01 -0800 (PST) Date: Mon, 31 Mar 1997 05:47:01 -0800 (PST) From: Peter Wemm Message-Id: <199703311347.FAA18189@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 05:47:01 Modified: sys/kern kern_prot.c Log: Do not set the P_SUGID flag in seteuid()/setegid() if nothing has changed. (for supporting issetugid()) Reviewed by: ache (as was the previous commit, rev 1.29) Revision Changes Path 1.30 +20 -11 src/sys/kern/kern_prot.c From owner-cvs-sys Mon Mar 31 05:54:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18611 for cvs-sys-outgoing; Mon, 31 Mar 1997 05:54:01 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA18593; Mon, 31 Mar 1997 05:53:21 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id FAA09559; Mon, 31 Mar 1997 05:54:54 -0800 (PST) Message-Id: <199703311354.FAA09559@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_prot.c In-reply-to: Your message of "Mon, 31 Mar 1997 05:21:39 PST." <199703311321.FAA17115@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Mon, 31 Mar 1997 05:54:54 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >peter 97/03/31 05:21:39 > > Modified: sys/kern kern_prot.c > Log: > Make setgroups(0, xxx) behave as it does on SYSV, namely clear the groups > vector except for the egid in groups[0]. There is a risk that programs > that come from SYSV/Linux that expect this to work and don't check for > error returns may accidently pass root's groups on to child processes. > > We now do what is least suprising (to non BSD programs/programmers) in > this scenario, and nothing is changed for programs written with BSD groups > rules in mind. I changed it to the way it was to avoid a panic in the NFS code (which can't deal with a no-groups situation). Did you revert this fix, or does this do something different so as to avoid the NFS panic? -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Mon Mar 31 06:52:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA20961 for cvs-sys-outgoing; Mon, 31 Mar 1997 06:52:54 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA20954; Mon, 31 Mar 1997 06:52:52 -0800 (PST) Date: Mon, 31 Mar 1997 06:52:52 -0800 (PST) From: Peter Wemm Message-Id: <199703311452.GAA20954@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern syscalls.master Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 06:52:51 Modified: sys/kern syscalls.master Log: issetugid is now implemented rather than reserved Revision Changes Path 1.35 +2 -2 src/sys/kern/syscalls.master From owner-cvs-sys Mon Mar 31 06:55:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA21098 for cvs-sys-outgoing; Mon, 31 Mar 1997 06:55:09 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA21091; Mon, 31 Mar 1997 06:55:07 -0800 (PST) Date: Mon, 31 Mar 1997 06:55:07 -0800 (PST) From: Peter Wemm Message-Id: <199703311455.GAA21091@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.h syscall-hide.h sysproto.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 06:55:06 Modified: sys/kern init_sysent.c syscalls.c sys/sys syscall.h syscall-hide.h sysproto.h Log: Regenerate (added issetugid) Revision Changes Path 1.41 +2 -2 src/sys/kern/init_sysent.c 1.36 +2 -2 src/sys/kern/syscalls.c 1.34 +2 -1 src/sys/sys/syscall.h 1.30 +2 -1 src/sys/sys/syscall-hide.h 1.20 +5 -1 src/sys/sys/sysproto.h From owner-cvs-sys Mon Mar 31 07:13:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22143 for cvs-sys-outgoing; Mon, 31 Mar 1997 07:13:39 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22130; Mon, 31 Mar 1997 07:13:36 -0800 (PST) Date: Mon, 31 Mar 1997 07:13:36 -0800 (PST) From: Peter Wemm Message-Id: <199703311513.HAA22130@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 07:13:35 Modified: sys/kern kern_prot.c Log: Implement code for an OpenBSD-style issetuigid(). This is valueable for library code which needs to be able to find out whether the current process is or *was* set[ug]id at some point in the past, and may have a "tainted" execution environment. This is especially a problem with the trend to immediately revoke privs at startup and regain them for critical sections. One problem with this is that if a cracker is able to compromise the program while it's still got a saved id, the cracker can direct the program to regain the privs. Another problem is that the user may be able to affect the program in some other way (eg: setting resolver host aliases) and the library code needs to know when it should disable these sorts of features. Reviewed by: ache Inspired by: OpenBSD (but with a different implementation) Revision Changes Path 1.31 +26 -1 src/sys/kern/kern_prot.c From owner-cvs-sys Mon Mar 31 07:30:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22761 for cvs-sys-outgoing; Mon, 31 Mar 1997 07:30:05 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA22673; Mon, 31 Mar 1997 07:28:54 -0800 (PST) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 1.60 #1) id 0wBj0u-0006hK-00; Mon, 31 Mar 1997 08:28:52 -0700 To: Peter Wemm Subject: Re: cvs commit: src/sys/kern syscalls.master Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-reply-to: Your message of "Mon, 31 Mar 1997 06:52:52 PST." <199703311452.GAA20954@freefall.freebsd.org> References: <199703311452.GAA20954@freefall.freebsd.org> Date: Mon, 31 Mar 1997 08:28:52 -0700 From: Warner Losh Message-Id: Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199703311452.GAA20954@freefall.freebsd.org> Peter Wemm writes: : peter 97/03/31 06:52:51 : issetugid is now implemented rather than reserved Yippie! Skippie! Warner From owner-cvs-sys Mon Mar 31 08:59:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27073 for cvs-sys-outgoing; Mon, 31 Mar 1997 08:59:15 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA27038; Mon, 31 Mar 1997 08:58:42 -0800 (PST) Received: by sovcom.kiae.su id AA21375 (5.65.kiae-1 ); Mon, 31 Mar 1997 18:56:23 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 31 Mar 97 18:56:23 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id TAA00653; Mon, 31 Mar 1997 19:51:54 +0400 (MSD) Date: Mon, 31 Mar 1997 19:51:52 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Peter Wemm Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c In-Reply-To: <199703311203.EAA12794@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 31 Mar 1997, Peter Wemm wrote: > Symlinks do not have modes though, they are accessable to everything that > can read the directory (as before). They are made to show this fact at > lstat time (they appear as mode 0777 always, since that's how the the > lookup routines in the kernel treat them). Thanks! BTW, what about setting immutable bit on symlink, is it ever possible? -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-sys Mon Mar 31 09:02:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA27367 for cvs-sys-outgoing; Mon, 31 Mar 1997 09:02:57 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27327; Mon, 31 Mar 1997 09:02:37 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA27958; Mon, 31 Mar 1997 10:02:36 -0700 (MST) Date: Mon, 31 Mar 1997 10:02:36 -0700 (MST) Message-Id: <199703311702.KAA27958@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Poul-Henning Kamp Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/apm apm.c apm_setup.h apm_setup.s src/sys/i386/conf GENERIC LINT src/sys/i386/include apm_bios.h In-Reply-To: <199703291107.DAA21004@freefall.freebsd.org> References: <199703291107.DAA21004@freefall.freebsd.org> X-Mailer: VM 6.22 under 19.14 XEmacs Lucid Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/i386/apm apm.c apm_setup.h apm_setup.s > sys/i386/conf GENERIC LINT > sys/i386/include apm_bios.h > Log: > Sanitize APM a bit. Convert various #ifdef to id_flags instead. > You may want to add "flags 0x31" to apm0 if you have a lousy > implementation. Read LINT. > APM_IDLE_CPU still exists in swtch.s but is no longer documented. Nate From owner-cvs-sys Mon Mar 31 10:15:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA01380 for cvs-sys-outgoing; Mon, 31 Mar 1997 10:15:44 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA01375; Mon, 31 Mar 1997 10:15:14 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id CAA16522; Tue, 1 Apr 1997 02:14:17 +0800 (WST) Message-Id: <199703311814.CAA16522@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c In-reply-to: Your message of "Mon, 31 Mar 1997 19:51:52 +0400." Date: Tue, 01 Apr 1997 02:14:15 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > On Mon, 31 Mar 1997, Peter Wemm wrote: > > > Symlinks do not have modes though, they are accessable to everything that > > can read the directory (as before). They are made to show this fact at > > lstat time (they appear as mode 0777 always, since that's how the the > > lookup routines in the kernel treat them). > > Thanks! BTW, what about setting immutable bit on symlink, is it ever > possible? Yes, it could be done if chflags() was changed to not follow symlinks, or by creating lchflags(). Both options are easy, it probably makes sense to be able to create an unchangeable symlink, especially for a system with securelevel > 0. I asked about this before, I think. Also, Bruce mentioned flags too. For consistancy, lchflags() would be best, but I wonder if we can have syscalls > 256 - because the rate that they are being used up between the three *BSD projects, we're going to have find out.. BTW, does anybody see any value in having modes for links? The kernel lookup routines see the link and automatically readlink() it when crossing them and don't do any permission checks. > -- > Andrey A. Chernov > > http://www.nagual.ru/~ache/ Cheers, -Peter From owner-cvs-sys Mon Mar 31 11:31:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA04852 for cvs-sys-outgoing; Mon, 31 Mar 1997 11:31:00 -0800 (PST) Received: from critter.dk.tfs.com (phk.cybercity.dk [195.8.133.247]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA04833; Mon, 31 Mar 1997 11:30:22 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.5/8.8.5) with ESMTP id VAA27555; Mon, 31 Mar 1997 21:29:21 +0200 (CEST) To: Nate Williams cc: Poul-Henning Kamp , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/apm apm.c apm_setup.h apm_setup.s src/sys/i386/conf GENERIC LINT src/sys/i386/include apm_bios.h In-reply-to: Your message of "Mon, 31 Mar 1997 10:02:36 PDT." <199703311702.KAA27958@rocky.mt.sri.com> Date: Mon, 31 Mar 1997 21:29:21 +0200 Message-ID: <27553.859836561@critter> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199703311702.KAA27958@rocky.mt.sri.com>, Nate Williams writes: >> Modified: sys/i386/apm apm.c apm_setup.h apm_setup.s >> sys/i386/conf GENERIC LINT >> sys/i386/include apm_bios.h >> Log: >> Sanitize APM a bit. Convert various #ifdef to id_flags instead. >> You may want to add "flags 0x31" to apm0 if you have a lousy >> implementation. Read LINT. >> > >APM_IDLE_CPU still exists in swtch.s but is no longer documented. Where it probably does less harm than it used to. I don't think we have anybody who have documented that calling apm_idle/busy was better than simply halting the CPU, right ? I think that for the machines where apm_idle halts the CPU, we might as well do it ourselves (unless we can document a saving in power of course. For the machines there merely slows the clock, it should be done on a basis of %idle_cpu on a ~10sec or more timescale. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail. From owner-cvs-sys Tue Apr 1 00:02:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA17791 for cvs-sys-outgoing; Tue, 1 Apr 1997 00:02:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA17782; Tue, 1 Apr 1997 00:02:02 -0800 (PST) Date: Tue, 1 Apr 1997 00:02:02 -0800 (PST) From: Bruce Evans Message-Id: <199704010802.AAA17782@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ufs inode.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 00:02:02 Modified: sys/ufs/ufs inode.h Log: Removed nested include of . Use the pre-Lite2 hack of defining doff_t both here and in so that this file is independent of . It still has old prerequisites and , and a new Lite2 prerequisite of , sigh. This might fix lsof, which was broken by namespace pollution giving conflicting definitions of DIRBLKSIZ. Revision Changes Path 1.14 +6 -2 src/sys/ufs/ufs/inode.h From owner-cvs-sys Tue Apr 1 00:39:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA19191 for cvs-sys-outgoing; Tue, 1 Apr 1997 00:39:10 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA19184; Tue, 1 Apr 1997 00:39:08 -0800 (PST) Date: Tue, 1 Apr 1997 00:39:08 -0800 (PST) From: Bruce Evans Message-Id: <199704010839.AAA19184@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/linux imgact_linux.c linux_misc.c linux_sysvec.c src/sys/vm lock.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 00:39:08 Modified: sys/kern vfs_bio.c sys/i386/ibcs2 imgact_coff.c sys/i386/linux imgact_linux.c linux_misc.c linux_sysvec.c Removed: sys/vm lock.h Log: Removed potentially harmful garbage and fixed bogus use of it. It was actually harmless because the use was null due to fortuitous include orders and identical (wrong) idempotency macros. Revision Changes Path 1.113 +1 -2 src/sys/kern/vfs_bio.c 1.23 +1 -2 src/sys/i386/ibcs2/imgact_coff.c 1.21 +1 -2 src/sys/i386/linux/imgact_linux.c 1.27 +1 -2 src/sys/i386/linux/linux_misc.c 1.13 +2 -2 src/sys/i386/linux/linux_sysvec.c From owner-cvs-sys Tue Apr 1 02:18:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA22766 for cvs-sys-outgoing; Tue, 1 Apr 1997 02:18:56 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA22759; Tue, 1 Apr 1997 02:18:54 -0800 (PST) Date: Tue, 1 Apr 1997 02:18:54 -0800 (PST) From: Bruce Evans Message-Id: <199704011018.CAA22759@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_lock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 02:18:53 Modified: sys/kern kern_lock.c Log: Fixed commented-out Lite2 sysctl debug.lockpausetime. Removed unused #includes. Revision Changes Path 1.6 +6 -5 src/sys/kern/kern_lock.c From owner-cvs-sys Tue Apr 1 02:30:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA23224 for cvs-sys-outgoing; Tue, 1 Apr 1997 02:30:13 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA23217; Tue, 1 Apr 1997 02:30:10 -0800 (PST) Date: Tue, 1 Apr 1997 02:30:10 -0800 (PST) From: Bruce Evans Message-Id: <199704011030.CAA23217@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_lockf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 02:30:09 Modified: sys/kern kern_lockf.c Log: Use OID_AUTO instead of a magic number for Lite2 sysctl debug.lockf_debug. Removed unused #includes. Revision Changes Path 1.14 +3 -5 src/sys/kern/kern_lockf.c From owner-cvs-sys Tue Apr 1 02:41:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA23725 for cvs-sys-outgoing; Tue, 1 Apr 1997 02:41:55 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA23718; Tue, 1 Apr 1997 02:41:51 -0800 (PST) Date: Tue, 1 Apr 1997 02:41:51 -0800 (PST) From: Bruce Evans Message-Id: <199704011041.CAA23718@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern imgact_elf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 02:41:50 Modified: sys/kern imgact_elf.c Log: Use OID_AUTO instead of magic number for old sysctl debug.elf_trace. The magic number conflicted with the one for the Lite2 sysctl debug.busyprt. Staticized some variables. Removed unused #includes. Revision Changes Path 1.18 +4 -8 src/sys/kern/imgact_elf.c From owner-cvs-sys Tue Apr 1 03:48:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA26501 for cvs-sys-outgoing; Tue, 1 Apr 1997 03:48:33 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA26494; Tue, 1 Apr 1997 03:48:31 -0800 (PST) Date: Tue, 1 Apr 1997 03:48:31 -0800 (PST) From: Bruce Evans Message-Id: <199704011148.DAA26494@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_cluster.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 03:48:31 Modified: sys/kern vfs_cluster.c Log: Use OID_AUTO instead of magic number for the old sysctl debug.rcluster. The magic number conflicted with the rotting disabled one in ext2fs for debug.doasyncfree. Removed messy debugging variable/constant/sysctl debug.doreallocblks. Lite2 removed it, and we don't use the code that it controls. Revision Changes Path 1.44 +3 -16 src/sys/kern/vfs_cluster.c From owner-cvs-sys Tue Apr 1 05:05:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA29992 for cvs-sys-outgoing; Tue, 1 Apr 1997 05:05:39 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA29984; Tue, 1 Apr 1997 05:05:37 -0800 (PST) Date: Tue, 1 Apr 1997 05:05:37 -0800 (PST) From: Bruce Evans Message-Id: <199704011305.FAA29984@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 05:05:36 Modified: sys/kern vfs_subr.c Log: Use OID_AUTO instead of magic number for the Lite2 sysctl debug.busyprt. Removed declaration of vfs_unmountroot() again. Staticized vgonel(). Revision Changes Path 1.81 +4 -5 src/sys/kern/vfs_subr.c From owner-cvs-sys Tue Apr 1 06:31:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA04099 for cvs-sys-outgoing; Tue, 1 Apr 1997 06:31:10 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA04092; Tue, 1 Apr 1997 06:31:08 -0800 (PST) Date: Tue, 1 Apr 1997 06:31:08 -0800 (PST) From: Bruce Evans Message-Id: <199704011431.GAA04092@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ddb db_aout.c db_examine.c db_output.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 06:31:08 Modified: sys/ddb db_aout.c db_examine.c db_output.c Log: Fixed gratuitous ANSIisms. Revision Changes Path 1.18 +2 -2 src/sys/ddb/db_aout.c 1.17 +3 -4 src/sys/ddb/db_examine.c 1.22 +11 -1 src/sys/ddb/db_output.c From owner-cvs-sys Tue Apr 1 07:10:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA05964 for cvs-sys-outgoing; Tue, 1 Apr 1997 07:10:41 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA05957; Tue, 1 Apr 1997 07:10:40 -0800 (PST) Date: Tue, 1 Apr 1997 07:10:40 -0800 (PST) From: Bruce Evans Message-Id: <199704011510.HAA05957@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_fs.h ext2_linux_balloc.c ext2_linux_ialloc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 07:10:39 Modified: sys/gnu/ext2fs ext2_fs.h ext2_linux_balloc.c ext2_linux_ialloc.c Log: Use __i386__ instead of i386 in ifdefs. Don't compile unused (debugging?) functions. Revision Changes Path 1.2 +1 -1 src/sys/gnu/ext2fs/ext2_fs.h 1.5 +5 -3 src/sys/gnu/ext2fs/ext2_linux_balloc.c 1.4 +3 -1 src/sys/gnu/ext2fs/ext2_linux_ialloc.c From owner-cvs-sys Tue Apr 1 07:23:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA06586 for cvs-sys-outgoing; Tue, 1 Apr 1997 07:23:06 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA06579; Tue, 1 Apr 1997 07:23:03 -0800 (PST) Date: Tue, 1 Apr 1997 07:23:03 -0800 (PST) From: Bruce Evans Message-Id: <199704011523.HAA06579@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_alloc.c ext2_balloc.c ext2_extern.h ext2_lookup.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 07:23:02 Modified: sys/gnu/ext2fs ext2_alloc.c ext2_balloc.c ext2_extern.h ext2_lookup.c Log: Fixed gratuitous ANSIisms. Removed trailing newline from panic messages. Revision Changes Path 1.8 +5 -3 src/sys/gnu/ext2fs/ext2_alloc.c 1.2 +3 -3 src/sys/gnu/ext2fs/ext2_balloc.c 1.12 +3 -3 src/sys/gnu/ext2fs/ext2_extern.h 1.8 +6 -5 src/sys/gnu/ext2fs/ext2_lookup.c From owner-cvs-sys Tue Apr 1 08:13:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA09632 for cvs-sys-outgoing; Tue, 1 Apr 1997 08:13:35 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA09625; Tue, 1 Apr 1997 08:13:33 -0800 (PST) Date: Tue, 1 Apr 1997 08:13:33 -0800 (PST) From: Bruce Evans Message-Id: <199704011613.IAA09625@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 cons.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 08:13:32 Modified: sys/i386/i386 cons.h Log: Fixed gratuitous ANSIisms. Removed unused declarations. Revision Changes Path 1.16 +10 -15 src/sys/i386/i386/cons.h From owner-cvs-sys Tue Apr 1 08:22:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA10045 for cvs-sys-outgoing; Tue, 1 Apr 1997 08:22:36 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA10038; Tue, 1 Apr 1997 08:22:34 -0800 (PST) Date: Tue, 1 Apr 1997 08:22:34 -0800 (PST) From: Bruce Evans Message-Id: <199704011622.IAA10038@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 db_disasm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 08:22:33 Modified: sys/i386/i386 db_disasm.c Log: Removed a wrong comment of mine. Removed unused #includes. Revision Changes Path 1.20 +2 -10 src/sys/i386/i386/db_disasm.c From owner-cvs-sys Tue Apr 1 11:28:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22719 for cvs-sys-outgoing; Tue, 1 Apr 1997 11:28:07 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22712; Tue, 1 Apr 1997 11:28:05 -0800 (PST) Date: Tue, 1 Apr 1997 11:28:05 -0800 (PST) From: Joerg Wunsch Message-Id: <199704011928.LAA22712@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/04/01 11:28:05 Modified: sys/scsi scsiconf.c Log: Add an entry for the newer Philips CDD26xx family CD-R drives. They come out with PHILIPS as the vendor string, as opposed to IMS for the older ones. Submitted by: "Brian N. Handy" Revision Changes Path 1.83 +6 -1 src/sys/scsi/scsiconf.c From owner-cvs-sys Tue Apr 1 11:29:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22921 for cvs-sys-outgoing; Tue, 1 Apr 1997 11:29:09 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22913; Tue, 1 Apr 1997 11:29:07 -0800 (PST) Date: Tue, 1 Apr 1997 11:29:07 -0800 (PST) From: Joerg Wunsch Message-Id: <199704011929.LAA22913@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/04/01 11:29:07 Branch: sys/scsi RELENG_2_2 Modified: sys/scsi scsiconf.c Log: YAMFC: rev 1.83, add the new Philips CD-R devices Revision Changes Path 1.64.2.12 +5 -0 src/sys/scsi/scsiconf.c From owner-cvs-sys Tue Apr 1 13:59:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04853 for cvs-sys-outgoing; Tue, 1 Apr 1997 13:59:44 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA04841; Tue, 1 Apr 1997 13:59:36 -0800 (PST) Received: by sovcom.kiae.su id AA15662 (5.65.kiae-1 ); Wed, 2 Apr 1997 00:51:24 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 2 Apr 97 00:51:24 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id BAA00724; Wed, 2 Apr 1997 01:46:42 +0400 (MSD) Date: Wed, 2 Apr 1997 01:46:39 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Peter Wemm Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c In-Reply-To: <199703311814.CAA16522@spinner.DIALix.COM> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 1 Apr 1997, Peter Wemm wrote: > Yes, it could be done if chflags() was changed to not follow symlinks, or > by creating lchflags(). Both options are easy, it probably makes sense to be > able to create an unchangeable symlink, especially for a system with > securelevel > 0. I asked about this before, I think. Also, Bruce > mentioned flags too. > > For consistancy, lchflags() would be best, but I wonder if we can have > syscalls > 256 - because the rate that they are being used up between the > three *BSD projects, we're going to have find out.. I think chflags() must _not_ follow symlink. This call related to security and links can evilly points everywhere forcing root for unwanted actions. F.e. you do "chflags -R /dir" and bad guy place symlink to another dir there... -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-sys Wed Apr 2 01:05:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA16803 for cvs-sys-outgoing; Wed, 2 Apr 1997 01:05:51 -0800 (PST) Received: (from jmg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA16769; Wed, 2 Apr 1997 01:05:48 -0800 (PST) Date: Wed, 2 Apr 1997 01:05:48 -0800 (PST) From: John-Mark Gurney Message-Id: <199704020905.BAA16769@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi cd.c scsiconf.c scsiconf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jmg 97/04/02 01:05:47 Modified: sys/scsi cd.c scsiconf.c scsiconf.h Log: add a cd quirk flag CD_Q_BCD_TRACKS, that will convert bcd2bin the track id's from broken scsi cdrom drives like my Chinon... plus update the quirk entry for it :) Closes my own PR#2423 Revision Changes Path 1.82 +36 -2 src/sys/scsi/cd.c 1.84 +2 -2 src/sys/scsi/scsiconf.c 1.52 +2 -1 src/sys/scsi/scsiconf.h From owner-cvs-sys Wed Apr 2 09:05:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA10328 for cvs-sys-outgoing; Wed, 2 Apr 1997 09:05:55 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA10321; Wed, 2 Apr 1997 09:05:52 -0800 (PST) Date: Wed, 2 Apr 1997 09:05:52 -0800 (PST) From: Peter Wemm Message-Id: <199704021705.JAA10321@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/02 09:05:51 Modified: sys/kern kern_prot.c Log: Don't incorrectly set P_SUGID in setre[ug]id() for no reason, as noticed by bde. Don't return EPERM in setre[ug]id() just because the caller passes in the current effective id in the second arg (ie: no change), as suggested by ache. Revision Changes Path 1.32 +9 -5 src/sys/kern/kern_prot.c From owner-cvs-sys Wed Apr 2 21:14:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA26671 for cvs-sys-outgoing; Wed, 2 Apr 1997 21:14:50 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA26664; Wed, 2 Apr 1997 21:14:48 -0800 (PST) Date: Wed, 2 Apr 1997 21:14:48 -0800 (PST) From: David Greenman Message-Id: <199704030514.VAA26664@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/02 21:14:47 Modified: sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c Log: Reorganize elements of the inpcb struct to take better advantage of cache lines. Removed the struct ip proto since only a couple of chars were actually being used in it. Changed the order of compares in the PCB hash lookup to take advantage of partial cache line fills (on PPro). Discussed-with: wollman Revision Changes Path 1.30 +4 -3 src/sys/netinet/in_pcb.c 1.20 +12 -6 src/sys/netinet/in_pcb.h 1.8 +2 -2 src/sys/netinet/ip_divert.c 1.53 +5 -5 src/sys/netinet/ip_output.c 1.44 +4 -4 src/sys/netinet/raw_ip.c 1.24 +3 -3 src/sys/netinet/tcp_output.c 1.36 +2 -2 src/sys/netinet/tcp_subr.c 1.37 +4 -4 src/sys/netinet/udp_usrreq.c From owner-cvs-sys Wed Apr 2 21:19:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA26931 for cvs-sys-outgoing; Wed, 2 Apr 1997 21:19:41 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA26926; Wed, 2 Apr 1997 21:19:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id VAA01026; Wed, 2 Apr 1997 21:20:48 -0800 (PST) Message-Id: <199704030520.VAA01026@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c In-reply-to: Your message of "Wed, 02 Apr 1997 21:14:48 PST." <199704030514.VAA26664@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Wed, 02 Apr 1997 21:20:48 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >davidg 97/04/02 21:14:47 > > Modified: sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c > raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c > Log: > Reorganize elements of the inpcb struct to take better advantage of > cache lines. Removed the struct ip proto since only a couple of chars > were actually being used in it. Changed the order of compares in the > PCB hash lookup to take advantage of partial cache line fills (on PPro). NOTE: These changes require that netstat(1) be rebuilt. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Wed Apr 2 21:57:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28523 for cvs-sys-outgoing; Wed, 2 Apr 1997 21:57:21 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28514; Wed, 2 Apr 1997 21:57:18 -0800 (PST) Date: Wed, 2 Apr 1997 21:57:18 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704030557.VAA28514@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx Makefile src/sys/i386/conf files.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/02 21:57:18 Modified: sys/dev/aic7xxx Makefile Log: CFLAGS += -I. so that building in an obj directory works. Revision Changes Path 1.2 +3 -1 src/sys/dev/aic7xxx/Makefile Modified: sys/i386/conf files.i386 Log: make obj before building the aic7xxx assembler. This puts the object files in the right place. The clean rule still isn't quite right since currently config doesn't allow the specification of arbitrary clean rules. Revision Changes Path 1.158 +3 -3 src/sys/i386/conf/files.i386 From owner-cvs-sys Wed Apr 2 22:24:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00102 for cvs-sys-outgoing; Wed, 2 Apr 1997 22:24:44 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA29994; Wed, 2 Apr 1997 22:24:41 -0800 (PST) Date: Wed, 2 Apr 1997 22:24:41 -0800 (PST) From: David Greenman Message-Id: <199704030624.WAA29994@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket2.c uipc_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/02 22:24:40 Branch: sys/kern RELENG_2_2 Modified: sys/kern uipc_socket2.c uipc_syscalls.c Log: Merged from -current: avoid potential "accept" panic by re-ordering the code a bit, plus changed a wakeup to a wakeup_one in the socket code. Revision Changes Path 1.16.2.2 +3 -3 src/sys/kern/uipc_socket2.c 1.20.2.1 +22 -6 src/sys/kern/uipc_syscalls.c From owner-cvs-sys Wed Apr 2 22:37:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00658 for cvs-sys-outgoing; Wed, 2 Apr 1997 22:37:52 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00648; Wed, 2 Apr 1997 22:37:50 -0800 (PST) Date: Wed, 2 Apr 1997 22:37:50 -0800 (PST) From: David Greenman Message-Id: <199704030637.WAA00648@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c src/sys/i386/i386 machdep.c src/sys/pc98/i386 machdep.c src/sys/vm vm_kern.c vm_kern.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/02 22:37:50 Branch: sys/i386/i386 RELENG_2_2 sys/kern RELENG_2_2 sys/pc98/i386 RELENG_2_2 sys/vm RELENG_2_2 Modified: sys/i386/i386 machdep.c sys/kern kern_exec.c sys/pc98/i386 machdep.c sys/vm vm_kern.c vm_kern.h Log: Merged from -current: Killed exech_map and do image header reads in a FS- centric way instead of VM-centric. This appears to fix a hang that Peter was seeing as well as allowing detection of errors during the header read (important for NFS). Revision Changes Path 1.209.2.10 +1 -3 src/sys/i386/i386/machdep.c 1.47.2.3 +38 -29 src/sys/kern/kern_exec.c 1.11.2.10 +1 -3 src/sys/pc98/i386/machdep.c 1.27.2.3 +1 -2 src/sys/vm/vm_kern.c 1.8.2.2 +1 -2 src/sys/vm/vm_kern.h From owner-cvs-sys Wed Apr 2 23:52:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA04876 for cvs-sys-outgoing; Wed, 2 Apr 1997 23:52:08 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA04869; Wed, 2 Apr 1997 23:52:04 -0800 (PST) Date: Wed, 2 Apr 1997 23:52:04 -0800 (PST) From: Doug Rabson Message-Id: <199704030752.XAA04869@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/02 23:52:03 Modified: sys/nfs nfs_bio.c Log: The code which recovered from a modified directory situation did not check for eof when re-caching the directory. This could cause it to loop forever if a directory was truncated. Revision Changes Path 1.34 +8 -1 src/sys/nfs/nfs_bio.c From owner-cvs-sys Thu Apr 3 01:44:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA09826 for cvs-sys-outgoing; Thu, 3 Apr 1997 01:44:03 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA09797; Thu, 3 Apr 1997 01:43:56 -0800 (PST) Date: Thu, 3 Apr 1997 01:43:56 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199704030943.BAA09797@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 phk 97/04/03 01:43:55 Modified: sys/i386/isa wd.c Log: If flag 0x4000 (Sleephack) is defined, assume that the disk is sleeping if all registers are 0xff. This allows me to run with flags 0xc0ff on my IBM-DMCA-21440 disk, which gives 5MB/sec sequential read :-) If you have a laptop, try adding flag 0x4000 to your disk, and tell me if it makes any difference for you. Revision Changes Path 1.128 +35 -3 src/sys/i386/isa/wd.c From owner-cvs-sys Thu Apr 3 01:55:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA10474 for cvs-sys-outgoing; Thu, 3 Apr 1997 01:55:33 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA10458; Thu, 3 Apr 1997 01:55:29 -0800 (PST) Date: Thu, 3 Apr 1997 01:55:29 -0800 (PST) From: KATO Takenori Message-Id: <199704030955.BAA10458@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf files.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/03 01:55:28 Modified: sys/pc98/conf files.pc98 Log: Synchronize with sys/i386/confi/files.i386 revision 1.158. Revision Changes Path 1.20 +3 -3 src/sys/pc98/conf/files.pc98 From owner-cvs-sys Thu Apr 3 01:59:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA10635 for cvs-sys-outgoing; Thu, 3 Apr 1997 01:59:08 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA10628; Thu, 3 Apr 1997 01:59:06 -0800 (PST) Date: Thu, 3 Apr 1997 01:59:06 -0800 (PST) From: KATO Takenori Message-Id: <199704030959.BAA10628@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 pc98_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/03 01:59:05 Modified: sys/pc98/pc98 pc98_machdep.c Log: Removed and . Revision Changes Path 1.12 +0 -2 src/sys/pc98/pc98/pc98_machdep.c From owner-cvs-sys Thu Apr 3 02:09:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA11151 for cvs-sys-outgoing; Thu, 3 Apr 1997 02:09:41 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA11144; Thu, 3 Apr 1997 02:09:37 -0800 (PST) Date: Thu, 3 Apr 1997 02:09:37 -0800 (PST) From: KATO Takenori Message-Id: <199704031009.CAA11144@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/03 02:09:36 Modified: sys/scsi scsiconf.h Log: Moved prototypes of scsi_data, scsi_link and proc before scsi_adapter. If PC98 is defined, the type of the first argument of open_target_lu is scsi_link structure. Revision Changes Path 1.53 +9 -9 src/sys/scsi/scsiconf.h From owner-cvs-sys Thu Apr 3 02:39:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13424 for cvs-sys-outgoing; Thu, 3 Apr 1997 02:39:39 -0800 (PST) Received: (from darrenr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13416; Thu, 3 Apr 1997 02:39:37 -0800 (PST) Date: Thu, 3 Apr 1997 02:39:37 -0800 (PST) From: Darren Reed Message-Id: <199704031039.CAA13416@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet - Imported sources Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk darrenr 97/04/03 02:39:36 src/sys/netinet - Imported sources Update of /home/ncvs/src/sys/netinet In directory freefall.freebsd.org:/a/darrenr/netinet Revision/Branch: 1.1.1 Log Message: Really import sys/netinet changes for IP Filter 3.2alpha4 this time. Status: Vendor Tag: DARRENR Release Tags: V3_2_A4 U src/sys/netinet/fil.c U src/sys/netinet/ip_compat.h U src/sys/netinet/ip_fil.c U src/sys/netinet/ip_fil.h U src/sys/netinet/ip_frag.c U src/sys/netinet/ip_frag.h C src/sys/netinet/ip_input.c U src/sys/netinet/ip_nat.c U src/sys/netinet/ip_nat.h C src/sys/netinet/ip_output.c U src/sys/netinet/ip_state.c U src/sys/netinet/ip_state.h 2 conflicts created by this import. Use the following command to help the merge: cvs checkout -jDARRENR:yesterday -jDARRENR src/sys/netinet From owner-cvs-sys Thu Apr 3 02:47:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13982 for cvs-sys-outgoing; Thu, 3 Apr 1997 02:47:24 -0800 (PST) Received: (from darrenr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13966; Thu, 3 Apr 1997 02:47:20 -0800 (PST) Date: Thu, 3 Apr 1997 02:47:20 -0800 (PST) From: Darren Reed Message-Id: <199704031047.CAA13966@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_input.c ip_output.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk darrenr 97/04/03 02:47:18 Modified: sys/netinet ip_input.c ip_output.c Log: Resolve conflicts created by import. Revision Changes Path 1.61 +13 -15 src/sys/netinet/ip_input.c 1.54 +8 -3 src/sys/netinet/ip_output.c From owner-cvs-sys Thu Apr 3 06:20:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA24683 for cvs-sys-outgoing; Thu, 3 Apr 1997 06:20:56 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA24648; Thu, 3 Apr 1997 06:20:16 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id WAA23511; Thu, 3 Apr 1997 22:19:55 +0800 (WST) Message-Id: <199704031419.WAA23511@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Darren Reed cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/netinet - Imported sources In-reply-to: Your message of "Thu, 03 Apr 1997 02:39:37 PST." <199704031039.CAA13416@freefall.freebsd.org> Date: Thu, 03 Apr 1997 22:19:54 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Darren Reed wrote: > U src/sys/netinet/fil.c > U src/sys/netinet/ip_compat.h > U src/sys/netinet/ip_fil.c > U src/sys/netinet/ip_fil.h > U src/sys/netinet/ip_frag.c > U src/sys/netinet/ip_frag.h > C src/sys/netinet/ip_input.c ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > U src/sys/netinet/ip_nat.c > U src/sys/netinet/ip_nat.h > C src/sys/netinet/ip_output.c ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > U src/sys/netinet/ip_state.c > U src/sys/netinet/ip_state.h Argh! There is only one vendor branch in cvs, you can't have two vendors. ip_input.c and ip_output.c are CSRG files, not DARRENR files. I need to back these out. Cheers, -Peter From owner-cvs-sys Thu Apr 3 06:23:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA24819 for cvs-sys-outgoing; Thu, 3 Apr 1997 06:23:33 -0800 (PST) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA24814; Thu, 3 Apr 1997 06:23:22 -0800 (PST) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id AAA19558; Fri, 4 Apr 1997 00:22:50 +1000 From: Darren Reed Message-Id: <199704031422.AAA19558@plum.cyber.com.au> Subject: Re: cvs commit: src/sys/netinet - Imported sources To: peter@spinner.DIALix.COM (Peter Wemm) Date: Fri, 4 Apr 1997 00:22:50 +1000 (EST) Cc: darrenr@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199704031419.WAA23511@spinner.DIALix.COM> from "Peter Wemm" at Apr 3, 97 10:19:54 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Peter Wemm, sie wrote > > Darren Reed wrote: > > > U src/sys/netinet/fil.c > > U src/sys/netinet/ip_compat.h > > U src/sys/netinet/ip_fil.c > > U src/sys/netinet/ip_fil.h > > U src/sys/netinet/ip_frag.c > > U src/sys/netinet/ip_frag.h > > C src/sys/netinet/ip_input.c > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > U src/sys/netinet/ip_nat.c > > U src/sys/netinet/ip_nat.h > > C src/sys/netinet/ip_output.c > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > U src/sys/netinet/ip_state.c > > U src/sys/netinet/ip_state.h > > Argh! There is only one vendor branch in cvs, you can't have two vendors. > ip_input.c and ip_output.c are CSRG files, not DARRENR files. I need to > back these out. hmmm, okay. so I don't import into there, just checkout, change/patch and commit ? Darren From owner-cvs-sys Thu Apr 3 13:42:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA18466 for cvs-sys-outgoing; Thu, 3 Apr 1997 13:42:50 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA18450; Thu, 3 Apr 1997 13:42:45 -0800 (PST) Date: Thu, 3 Apr 1997 13:42:45 -0800 (PST) From: Brian Somers Message-Id: <199704032142.NAA18450@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-etc Subject: cvs commit: src/etc/root dot.login dot.profile src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 97/04/03 13:42:44 Modified: etc/root dot.login dot.profile sys/i386/isa syscons.c Log: Make the default VERASE key the <-- key and remove root's `stty's. 'nuff said. Inventor: joerg@FreeBSD.org Reviewer: sos@FreeBSD.org Revision Changes Path 1.15 +0 -2 src/etc/root/dot.login 1.14 +1 -3 src/etc/root/dot.profile 1.208 +4 -1 src/sys/i386/isa/syscons.c From owner-cvs-sys Thu Apr 3 17:30:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA04153 for cvs-sys-outgoing; Thu, 3 Apr 1997 17:30:37 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA04144; Thu, 3 Apr 1997 17:30:35 -0800 (PST) Date: Thu, 3 Apr 1997 17:30:35 -0800 (PST) From: David Greenman Message-Id: <199704040130.RAA04144@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 17:30:34 Modified: sys/kern kern_exec.c Log: Lose the vnode lock on a permissions failure. Submitted by: Tor Egge Revision Changes Path 1.54 +4 -2 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 17:32:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA04315 for cvs-sys-outgoing; Thu, 3 Apr 1997 17:32:15 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA04308; Thu, 3 Apr 1997 17:32:12 -0800 (PST) Date: Thu, 3 Apr 1997 17:32:12 -0800 (PST) From: David Greenman Message-Id: <199704040132.RAA04308@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 17:32:12 Branch: sys/kern RELENG_2_2 Modified: sys/kern kern_exec.c Log: Sort of from -current: lose the vnode lock on a permissions failure. Revision Changes Path 1.47.2.4 +4 -2 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 20:09:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13119 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:09:40 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13107; Thu, 3 Apr 1997 20:09:35 -0800 (PST) Date: Thu, 3 Apr 1997 20:09:35 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704040409.UAA13107@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/03 20:09:33 Modified: sys/dev/aic7xxx aic7xxx.seq sys/i386/scsi aic7xxx.c Log: When not using SCB paging, we can always directly index the SCB of interest either by looking it up in the array of pending, per target, untagged transactions, or by using the tag value passed in during the identify. The old code only direct indexed for tagged transactions. This makes the "findSCB" routine only necessary when SCB paging is enabled, so appropriately conditionalize it. This greatly simplifies the non SCB paging code flow. Revision Changes Path 1.67 +18 -13 src/sys/dev/aic7xxx/aic7xxx.seq 1.110 +6 -15 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Thu Apr 3 20:17:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13438 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:17:14 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13431; Thu, 3 Apr 1997 20:17:13 -0800 (PST) Date: Thu, 3 Apr 1997 20:17:13 -0800 (PST) From: David Greenman Message-Id: <199704040417.UAA13431@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 20:17:12 Modified: sys/kern kern_exec.c Log: Various fixes: 1. imgp->image_header needs to be cleared for the bp == NULL && `goto interpret' case, else exec_fail_dealloc would free it twice after an error. 2. Moved the vp->v_writecount check in exec_check_permissions() to near the end. This fixes execve("/dev/null", ...) returning the bogus errno ETXTBSY. ETXTBSY is still returned for attempts to exec interpreted files that are open for writing. The man page is very old and wrong here. It says that ETXTBSY is for pure procedure (shared text) files that are open for writing or reading. 3. Moved the setuid disabling in exec_check_permissions() to the end. Cosmetic. It's more natural to dispose of all the error cases first. ...plus a couple of other cosmetic changes. Submitted by: bde Revision Changes Path 1.55 +21 -22 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 20:18:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13506 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:18:23 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13499; Thu, 3 Apr 1997 20:18:22 -0800 (PST) Date: Thu, 3 Apr 1997 20:18:22 -0800 (PST) From: David Greenman Message-Id: <199704040418.UAA13499@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 20:18:22 Branch: sys/kern RELENG_2_2 Modified: sys/kern kern_exec.c Log: Merged from -current: Bruce's fixes. Revision Changes Path 1.47.2.5 +21 -22 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 20:21:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13621 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:21:47 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13614; Thu, 3 Apr 1997 20:21:45 -0800 (PST) Date: Thu, 3 Apr 1997 20:21:45 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704040421.UAA13614@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/03 20:21:45 Modified: sys/i386/scsi aic7xxx.c Log: NOOP commit to correct the comment for the last commit: Bump the timeout for an "ordered tag" recovery action from 1 to 5 seconds. Remove the multiple timeout panic. Its very easy to get into a situation where a timedout command will time out a second time even though the recovery code is working fine. A good example is: 1) Command times out during recovery 2) reset the timeout for the command 3) Recovery actions complete and all transactions are requeued 4) second timeout fires off which puts us back into recovery bogusly 5) another transaction that timedout once during the first recovery action times out causing the panic. In essence, the correct solution to the problem is to put every transaction back up into the work queue and have their timeout handling done in the same way that all commands are handled. The CAM layer makes this easy, so it will have to wait until then. Revision Changes Path 1.111 +1 -1 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Thu Apr 3 20:36:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA15391 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:36:01 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA15376; Thu, 3 Apr 1997 20:35:58 -0800 (PST) Date: Thu, 3 Apr 1997 20:35:58 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704040435.UAA15376@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx Makefile aic7xxx.seq src/sys/i386/conf files.i386 src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/03 20:35:57 Branch: sys/dev/aic7xxx RELENG_2_2 sys/i386/scsi RELENG_2_2 Modified: sys/dev/aic7xxx Makefile aic7xxx.seq sys/i386/scsi aic7xxx.c Log: Sync with current Revision Changes Path 1.1.2.1 +3 -1 src/sys/dev/aic7xxx/Makefile 1.46.2.13 +18 -13 src/sys/dev/aic7xxx/aic7xxx.seq 1.81.2.18 +6 -15 src/sys/i386/scsi/aic7xxx.c Branch: sys/i386/conf RELENG_2_2 Modified: sys/i386/conf files.i386 Log: Sync with current: Fixup aic7xxx assembler clean rules Revision Changes Path 1.141.2.11 +3 -3 src/sys/i386/conf/files.i386 From owner-cvs-sys Thu Apr 3 23:30:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23263 for cvs-sys-outgoing; Thu, 3 Apr 1997 23:30:10 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23256; Thu, 3 Apr 1997 23:30:08 -0800 (PST) Date: Thu, 3 Apr 1997 23:30:08 -0800 (PST) From: David Greenman Message-Id: <199704040730.XAA23256@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 23:30:07 Modified: sys/kern kern_exec.c Log: Oops, only free component name buffer if namei() didn't. This bug has been in here since I wrote the code 3 years ago! Thanks, Bruce! Submitted by: bde Revision Changes Path 1.56 +4 -3 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 23:30:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23328 for cvs-sys-outgoing; Thu, 3 Apr 1997 23:30:47 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23321; Thu, 3 Apr 1997 23:30:45 -0800 (PST) Date: Thu, 3 Apr 1997 23:30:45 -0800 (PST) From: David Greenman Message-Id: <199704040730.XAA23321@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 23:30:45 Branch: sys/kern RELENG_2_2 Modified: sys/kern kern_exec.c Log: From -current (1.56): free cn buffer only once. Revision Changes Path 1.47.2.6 +4 -3 src/sys/kern/kern_exec.c From owner-cvs-sys Thu Apr 3 23:43:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA24410 for cvs-sys-outgoing; Thu, 3 Apr 1997 23:43:50 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA24403; Thu, 3 Apr 1997 23:43:48 -0800 (PST) Date: Thu, 3 Apr 1997 23:43:48 -0800 (PST) From: David Greenman Message-Id: <199704040743.XAA24403@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/03 23:43:47 Branch: sys/kern RELENG_2_1_0 Modified: sys/kern kern_exec.c Log: From -current: be sure not to free cn buffer twice. Revision Changes Path 1.21.4.8 +4 -3 src/sys/kern/kern_exec.c From owner-cvs-sys Fri Apr 4 01:06:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA27519 for cvs-sys-outgoing; Fri, 4 Apr 1997 01:06:27 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA27512; Fri, 4 Apr 1997 01:06:25 -0800 (PST) Date: Fri, 4 Apr 1997 01:06:25 -0800 (PST) From: David Greenman Message-Id: <199704040906.BAA27512@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/04 01:06:24 Modified: sys/kern kern_exec.c Log: Killed unnecessary vp == NULL check after namei. Revision Changes Path 1.57 +1 -5 src/sys/kern/kern_exec.c From owner-cvs-sys Fri Apr 4 07:23:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA13036 for cvs-sys-outgoing; Fri, 4 Apr 1997 07:23:03 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA13029; Fri, 4 Apr 1997 07:23:01 -0800 (PST) Date: Fri, 4 Apr 1997 07:23:01 -0800 (PST) From: KATO Takenori Message-Id: <199704041523.HAA13029@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/04 07:23:01 Modified: sys/pc98/pc98 wd.c Log: Synchronize with sys/i386/isa/wd.c revision 1.128. Revision Changes Path 1.22 +48 -5 src/sys/pc98/pc98/wd.c From owner-cvs-sys Fri Apr 4 07:24:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA13180 for cvs-sys-outgoing; Fri, 4 Apr 1997 07:24:04 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA13146; Fri, 4 Apr 1997 07:23:59 -0800 (PST) Date: Fri, 4 Apr 1997 07:23:59 -0800 (PST) From: KATO Takenori Message-Id: <199704041523.HAA13146@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/04 07:23:58 Modified: sys/pc98/pc98 syscons.c Log: Synchronize with sys/i386/isa/syscons.c revision 1.208. Revision Changes Path 1.33 +4 -1 src/sys/pc98/pc98/syscons.c From owner-cvs-sys Fri Apr 4 08:45:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18661 for cvs-sys-outgoing; Fri, 4 Apr 1997 08:45:04 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18636; Fri, 4 Apr 1997 08:44:57 -0800 (PST) Date: Fri, 4 Apr 1997 08:44:57 -0800 (PST) From: KATO Takenori Message-Id: <199704041644.IAA18636@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci if_lnc_p.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/04 08:44:55 Modified: sys/pci if_lnc_p.c Log: Deleted . Revision Changes Path 1.4 +1 -5 src/sys/pci/if_lnc_p.c From owner-cvs-sys Fri Apr 4 08:48:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18961 for cvs-sys-outgoing; Fri, 4 Apr 1997 08:48:17 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18954; Fri, 4 Apr 1997 08:48:15 -0800 (PST) Date: Fri, 4 Apr 1997 08:48:15 -0800 (PST) From: KATO Takenori Message-Id: <199704041648.IAA18954@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci if_lnc_p.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/04 08:48:15 Branch: sys/pci RELENG_2_2 Modified: sys/pci if_lnc_p.c Log: Merged from current (revision 1.4). Revision Changes Path 1.1.2.1 +1 -5 src/sys/pci/if_lnc_p.c From owner-cvs-sys Fri Apr 4 09:43:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA21865 for cvs-sys-outgoing; Fri, 4 Apr 1997 09:43:38 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA21858; Fri, 4 Apr 1997 09:43:35 -0800 (PST) Date: Fri, 4 Apr 1997 09:43:35 -0800 (PST) From: Doug Rabson Message-Id: <199704041743.JAA21858@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys vnode.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/04 09:43:34 Modified: sys/sys vnode.h Log: Add some debugging macros for tracing VFS locking bugs. Declare (hopefully short-lived) vop_sharedlock. Revision Changes Path 1.43 +40 -1 src/sys/sys/vnode.h From owner-cvs-sys Fri Apr 4 09:46:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22142 for cvs-sys-outgoing; Fri, 4 Apr 1997 09:46:28 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22122; Fri, 4 Apr 1997 09:46:25 -0800 (PST) Date: Fri, 4 Apr 1997 09:46:25 -0800 (PST) From: Doug Rabson Message-Id: <199704041746.JAA22122@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_lookup.c vfs_subr.c vfs_syscalls.c vfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/04 09:46:23 Modified: sys/kern vfs_lookup.c vfs_subr.c vfs_syscalls.c vfs_vnops.c Log: Add a function vop_sharedlock which a copy of vop_nolock without the implementation #ifdef out. This can be used for now by NFS. As soon as all the other filesystems' locking is fixed, this can go away. Print the vnode address in vprint for easier debugging. Revision Changes Path 1.17 +7 -1 src/sys/kern/vfs_lookup.c 1.82 +73 -2 src/sys/kern/vfs_subr.c 1.64 +19 -1 src/sys/kern/vfs_syscalls.c 1.35 +3 -1 src/sys/kern/vfs_vnops.c From owner-cvs-sys Fri Apr 4 09:47:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22240 for cvs-sys-outgoing; Fri, 4 Apr 1997 09:47:47 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22233; Fri, 4 Apr 1997 09:47:45 -0800 (PST) Date: Fri, 4 Apr 1997 09:47:45 -0800 (PST) From: Doug Rabson Message-Id: <199704041747.JAA22233@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_vnops.c vfs_syscalls.c vfs_lookup.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/04 09:47:45 Modified: sys/kern vfs_vnops.c vfs_syscalls.c vfs_lookup.c Log: [Previous comment was incorrect for these files] Added calls to VFS lock debugging macros to make fixing filesystems' locking easier. Revision Changes Path 1.36 +1 -1 src/sys/kern/vfs_vnops.c 1.65 +1 -1 src/sys/kern/vfs_syscalls.c 1.18 +1 -1 src/sys/kern/vfs_lookup.c From owner-cvs-sys Fri Apr 4 09:49:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22444 for cvs-sys-outgoing; Fri, 4 Apr 1997 09:49:42 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22437; Fri, 4 Apr 1997 09:49:39 -0800 (PST) Date: Fri, 4 Apr 1997 09:49:39 -0800 (PST) From: Doug Rabson Message-Id: <199704041749.JAA22437@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/04 09:49:38 Modified: sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h Log: Fix various bugs in the locking protocol, allowing proper shared locks to be used. This should fix the lock panics that people are seeing. Revision Changes Path 1.38 +1 -9 src/sys/nfs/nfs_subs.c 1.37 +1 -2 src/sys/nfs/nfs_vfsops.c 1.46 +2 -2 src/sys/nfs/nfs_vnops.c 1.20 +2 -2 src/sys/nfs/nfsnode.h From owner-cvs-sys Fri Apr 4 11:37:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA28940 for cvs-sys-outgoing; Fri, 4 Apr 1997 11:37:28 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA28925; Fri, 4 Apr 1997 11:37:23 -0800 (PST) Date: Fri, 4 Apr 1997 11:37:23 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704041937.LAA28925@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq src/sys/scsi scsi_base.c src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/04 11:37:23 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Add missing Id that was lost when the sequencer file format changed. Revision Changes Path 1.68 +2 -0 src/sys/dev/aic7xxx/aic7xxx.seq Modified: sys/i386/scsi aic7xxx.c Log: Now that we use AAP, we have to explicitly unpause the sequencer when queueing an abort SCB. Revision Changes Path 1.112 +11 -2 src/sys/i386/scsi/aic7xxx.c Modified: sys/scsi scsi_base.c Log: Add a 1ms delay in the XS_BUSY case. This is the same error code returned for the QUEUE FULL condition. This may help avoid wedging a device by immediately requeeuing the transaction in this case. Revision Changes Path 1.48 +6 -1 src/sys/scsi/scsi_base.c From owner-cvs-sys Fri Apr 4 11:50:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA29710 for cvs-sys-outgoing; Fri, 4 Apr 1997 11:50:12 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA29700; Fri, 4 Apr 1997 11:50:08 -0800 (PST) Date: Fri, 4 Apr 1997 11:50:08 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704041950.LAA29700@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq src/sys/scsi scsi_base.c src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/04 11:50:07 Branch: sys/dev/aic7xxx RELENG_2_2 sys/i386/scsi RELENG_2_2 Modified: sys/dev/aic7xxx aic7xxx.seq sys/i386/scsi aic7xxx.c Log: Sync with current. Revision Changes Path 1.46.2.14 +2 -0 src/sys/dev/aic7xxx/aic7xxx.seq 1.81.2.19 +11 -2 src/sys/i386/scsi/aic7xxx.c Branch: sys/scsi RELENG_2_2 Modified: sys/scsi scsi_base.c Log: Sync with current: Add 1ms delay in XS_BUSY processing. Revision Changes Path 1.39.4.4 +6 -1 src/sys/scsi/scsi_base.c From owner-cvs-sys Fri Apr 4 13:34:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA05158 for cvs-sys-outgoing; Fri, 4 Apr 1997 13:34:36 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA05126; Fri, 4 Apr 1997 13:34:24 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id WAA16103; Fri, 4 Apr 1997 22:29:18 +0100 (BST) Message-Id: <199704042129.WAA16103@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Doug Rabson cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h In-reply-to: Your message of "Fri, 04 Apr 1997 09:49:39 -0800." <199704041749.JAA22437@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Apr 1997 22:29:17 +0100 From: Brian Somers Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > dfr 97/04/04 09:49:38 > > Modified: sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h > Log: > Fix various bugs in the locking protocol, allowing proper shared locks > to be used. This should fix the lock panics that people are seeing. > > Revision Changes Path > 1.38 +1 -9 src/sys/nfs/nfs_subs.c > 1.37 +1 -2 src/sys/nfs/nfs_vfsops.c > 1.46 +2 -2 src/sys/nfs/nfs_vnops.c > 1.20 +2 -2 src/sys/nfs/nfsnode.h > Horray ! -- Brian , Don't _EVER_ lose your sense of humour.... From owner-cvs-sys Fri Apr 4 14:13:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA06913 for cvs-sys-outgoing; Fri, 4 Apr 1997 14:13:07 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA06905; Fri, 4 Apr 1997 14:13:01 -0800 (PST) Date: Fri, 4 Apr 1997 14:13:01 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199704042213.OAA06905@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi worm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/04/04 14:13:00 Modified: sys/scsi worm.c Log: Implement dkstats for worm devices so they show up in iostat et al. I got tired of not seeing my worm stats show up during a burn. :) [Joerg, I just stapled in 1MB/sec for a bogus xfer rate and left seek = 1, as suggested - I'm not going to dynamically calculate the xfer rate from a known device spectable, OK? :-)] Reviewed by: joerg Revision Changes Path 1.36 +22 -1 src/sys/scsi/worm.c From owner-cvs-sys Fri Apr 4 14:13:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA07000 for cvs-sys-outgoing; Fri, 4 Apr 1997 14:13:48 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA06988; Fri, 4 Apr 1997 14:13:43 -0800 (PST) Date: Fri, 4 Apr 1997 14:13:43 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199704042213.OAA06988@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi worm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/04/04 14:13:42 Branch: sys/scsi RELENG_2_2 Modified: sys/scsi worm.c Log: YAMFC Revision Changes Path 1.29.2.3 +22 -1 src/sys/scsi/worm.c From owner-cvs-sys Fri Apr 4 23:59:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA26393 for cvs-sys-outgoing; Fri, 4 Apr 1997 23:59:49 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA26386; Fri, 4 Apr 1997 23:59:46 -0800 (PST) Date: Fri, 4 Apr 1997 23:59:46 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199704050759.XAA26386@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci if_de.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/04/04 23:59:45 Modified: sys/pci if_de.c Log: Recognize ZNYX 314 cards that have a MAC address with the low bit set. Revision Changes Path 1.64 +2 -2 src/sys/pci/if_de.c From owner-cvs-sys Sat Apr 5 00:00:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26583 for cvs-sys-outgoing; Sat, 5 Apr 1997 00:00:53 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26574; Sat, 5 Apr 1997 00:00:51 -0800 (PST) Date: Sat, 5 Apr 1997 00:00:51 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199704050800.AAA26574@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci if_de.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/04/05 00:00:50 Branch: sys/pci RELENG_2_2 Modified: sys/pci if_de.c Log: YAMFC (recognize ZNYX314 cards better) Revision Changes Path 1.54.2.4 +2 -2 src/sys/pci/if_de.c From owner-cvs-sys Sat Apr 5 04:23:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA04773 for cvs-sys-outgoing; Sat, 5 Apr 1997 04:23:51 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA04766; Sat, 5 Apr 1997 04:23:48 -0800 (PST) Date: Sat, 5 Apr 1997 04:23:48 -0800 (PST) From: Doug Rabson Message-Id: <199704051223.EAA04766@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_lookup.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/05 04:23:47 Modified: sys/gnu/ext2fs ext2_lookup.c Log: Support NFS cookies in VOP_READDIR, allowing ext2fs filesystems to be exported via NFS. 2.2 candidate. Revision Changes Path 1.9 +26 -0 src/sys/gnu/ext2fs/ext2_lookup.c From owner-cvs-sys Sat Apr 5 05:11:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08450 for cvs-sys-outgoing; Sat, 5 Apr 1997 05:11:31 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08443; Sat, 5 Apr 1997 05:11:29 -0800 (PST) Date: Sat, 5 Apr 1997 05:11:29 -0800 (PST) From: Bruce Evans Message-Id: <199704051311.FAA08443@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa sio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/05 05:11:29 Modified: sys/i386/isa sio.c Log: Use device flags instead of options for serial console configuration (see LINT). There is a new low-level console type that is more suitable for use with gdb-remote. Fixed setting of speed at probe time for the serial console (if any). Reviewed by: dfr Revision Changes Path 1.162 +54 -24 src/sys/i386/isa/sio.c From owner-cvs-sys Sat Apr 5 05:15:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08590 for cvs-sys-outgoing; Sat, 5 Apr 1997 05:15:53 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08583; Sat, 5 Apr 1997 05:15:51 -0800 (PST) Date: Sat, 5 Apr 1997 05:15:51 -0800 (PST) From: Bruce Evans Message-Id: <199704051315.FAA08583@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa sioreg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/05 05:15:51 Modified: sys/i386/isa sioreg.h Log: Removed defaults for dead options CONADDR and CONUNIT. Revision Changes Path 1.8 +1 -15 src/sys/i386/isa/sioreg.h From owner-cvs-sys Sat Apr 5 05:21:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08816 for cvs-sys-outgoing; Sat, 5 Apr 1997 05:21:13 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA08808; Sat, 5 Apr 1997 05:21:11 -0800 (PST) Date: Sat, 5 Apr 1997 05:21:11 -0800 (PST) From: Bruce Evans Message-Id: <199704051321.FAA08808@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf options.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/05 05:21:10 Modified: sys/i386/conf options.i386 Log: Moved COMCONSOLE, CONADDR and CONUNIT to defunct options. Revision Changes Path 1.39 +4 -4 src/sys/i386/conf/options.i386 From owner-cvs-sys Sat Apr 5 06:51:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA10985 for cvs-sys-outgoing; Sat, 5 Apr 1997 06:51:00 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA10978; Sat, 5 Apr 1997 06:50:58 -0800 (PST) Date: Sat, 5 Apr 1997 06:50:58 -0800 (PST) From: Doug Rabson Message-Id: <199704051450.GAA10978@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_file.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/05 06:50:57 Modified: sys/i386/linux linux_file.c Log: Fix linux_getdents so that it can cope with filesystems which translate the directory format (ext2fs, cd9660). For these filesystems, it must use cookies to find the correct offset to use for subsequent reads. Without it, linux /bin/ls tends to loop re-reading the same block over and over again. 2.2 candidate. Revision Changes Path 1.13 +46 -10 src/sys/i386/linux/linux_file.c From owner-cvs-sys Sat Apr 5 07:04:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11726 for cvs-sys-outgoing; Sat, 5 Apr 1997 07:04:40 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11719; Sat, 5 Apr 1997 07:04:37 -0800 (PST) Date: Sat, 5 Apr 1997 07:04:37 -0800 (PST) From: KATO Takenori Message-Id: <199704051504.HAA11719@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 sio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/05 07:04:36 Modified: sys/pc98/pc98 sio.c Log: Synchronize with sys/i386/isa/sio.c revision 1.162. Revision Changes Path 1.21 +54 -24 src/sys/pc98/pc98/sio.c From owner-cvs-sys Sat Apr 5 07:05:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11812 for cvs-sys-outgoing; Sat, 5 Apr 1997 07:05:26 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11802; Sat, 5 Apr 1997 07:05:21 -0800 (PST) Date: Sat, 5 Apr 1997 07:05:21 -0800 (PST) From: KATO Takenori Message-Id: <199704051505.HAA11802@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 sioreg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/05 07:05:20 Modified: sys/pc98/pc98 sioreg.h Log: Synchronize with sys/i386/isa/sioreg.h revision 1.8. Revision Changes Path 1.5 +1 -15 src/sys/pc98/pc98/sioreg.h From owner-cvs-sys Sat Apr 5 07:06:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11894 for cvs-sys-outgoing; Sat, 5 Apr 1997 07:06:37 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11887; Sat, 5 Apr 1997 07:06:35 -0800 (PST) Date: Sat, 5 Apr 1997 07:06:35 -0800 (PST) From: KATO Takenori Message-Id: <199704051506.HAA11887@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf options.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/05 07:06:34 Modified: sys/pc98/conf options.pc98 Log: Synchronize with sys/i386/conf/options.i386 revision 1.39. Revision Changes Path 1.20 +4 -4 src/sys/pc98/conf/options.pc98 From owner-cvs-sys Sat Apr 5 12:05:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA24980 for cvs-sys-outgoing; Sat, 5 Apr 1997 12:05:17 -0800 (PST) Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA24973; Sat, 5 Apr 1997 12:05:15 -0800 (PST) Date: Sat, 5 Apr 1997 12:05:15 -0800 (PST) From: John Hay Message-Id: <199704052005.MAA24973@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netipx ipx.h ipx_proto.c ipx_usrreq.c spx.h spx_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 97/04/05 12:05:14 Modified: sys/netipx ipx.h ipx_proto.c ipx_usrreq.c spx.h spx_usrreq.c Log: Change IPX to use the pr_usrreqs structure. Revision Changes Path 1.10 +6 -5 src/sys/netipx/ipx.h 1.8 +19 -13 src/sys/netipx/ipx_proto.c 1.12 +190 -165 src/sys/netipx/ipx_usrreq.c 1.10 +4 -5 src/sys/netipx/spx.h 1.11 +347 -227 src/sys/netipx/spx_usrreq.c From owner-cvs-sys Sat Apr 5 13:41:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA28854 for cvs-sys-outgoing; Sat, 5 Apr 1997 13:41:22 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA28838; Sat, 5 Apr 1997 13:41:18 -0800 (PST) Date: Sat, 5 Apr 1997 13:41:18 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704052141.NAA28838@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/05 13:41:16 Modified: sys/i386/scsi aic7xxx.c Log: Fix a bug in the selection timeout handler that was introduced when the selection loop was merged with the poll_for_work loop. We cannot assume that the SCB for the selection timeout is the current SCB. Instead we must look at the SCB at the head of the waiting for selection list. This fixes part of a problem reported by David Malone, but does not explain why he was getting selection timeouts in the first place. Revision Changes Path 1.113 +52 -38 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sat Apr 5 13:41:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA28921 for cvs-sys-outgoing; Sat, 5 Apr 1997 13:41:57 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA28910; Sat, 5 Apr 1997 13:41:54 -0800 (PST) Date: Sat, 5 Apr 1997 13:41:54 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704052141.NAA28910@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/05 13:41:54 Branch: sys/i386/scsi RELENG_2_2 Modified: sys/i386/scsi aic7xxx.c Log: Sync with current. Revision Changes Path 1.81.2.20 +52 -38 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sat Apr 5 14:03:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA29605 for cvs-sys-outgoing; Sat, 5 Apr 1997 14:03:55 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA29598; Sat, 5 Apr 1997 14:03:51 -0800 (PST) Date: Sat, 5 Apr 1997 14:03:51 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704052203.OAA29598@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/05 14:03:50 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Instead of testing for both SELDI and SELDO in SSTAT0 in the poll for work loop, test for them separately. The bug report from David Malone showed that even though we had been reselected (SELDI was true), we sat in the poll for work loop until the selection timeout timer expired. It may be that the SSTAT0 register doesn't like to have more than one bit tested at a time. I've seen stranger things than this on these parts. Revision Changes Path 1.69 +5 -5 src/sys/dev/aic7xxx/aic7xxx.seq From owner-cvs-sys Sat Apr 5 14:04:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA29724 for cvs-sys-outgoing; Sat, 5 Apr 1997 14:04:41 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA29711; Sat, 5 Apr 1997 14:04:34 -0800 (PST) Date: Sat, 5 Apr 1997 14:04:34 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704052204.OAA29711@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/05 14:04:33 Branch: sys/dev/aic7xxx RELENG_2_2 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Sync with current. Revision Changes Path 1.46.2.15 +5 -5 src/sys/dev/aic7xxx/aic7xxx.seq From owner-cvs-sys Sat Apr 5 18:29:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16606 for cvs-sys-outgoing; Sat, 5 Apr 1997 18:29:52 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16599; Sat, 5 Apr 1997 18:29:50 -0800 (PST) Date: Sat, 5 Apr 1997 18:29:50 -0800 (PST) From: John Dyson Message-Id: <199704060229.SAA16599@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 trap.c src/sys/miscfs/procfs procfs_mem.c src/sys/vm vm_fault.c vm_map.c vm_map.h vm_prot.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/05 18:29:49 Modified: sys/i386/i386 trap.c sys/miscfs/procfs procfs_mem.c sys/vm vm_fault.c vm_map.c vm_map.h vm_prot.h Log: Fix the gdb executable modify problem. Thanks to the detective work by Alan Cox , and his description of the problem. The bug was primarily in procfs_mem, but the mistake likely happened due to the lack of vm system support for the operation. I added better support for selective marking of page dirty flags so that vm_map_pageable(wiring) will not cause this problem again. The code in procfs_mem is now less bogus (but maybe still a little so.) Revision Changes Path 1.89 +7 -7 src/sys/i386/i386/trap.c 1.24 +47 -80 src/sys/miscfs/procfs/procfs_mem.c 1.67 +11 -9 src/sys/vm/vm_fault.c 1.73 +11 -3 src/sys/vm/vm_map.c 1.25 +7 -4 src/sys/vm/vm_map.h 1.8 +2 -1 src/sys/vm/vm_prot.h From owner-cvs-sys Sat Apr 5 18:31:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16699 for cvs-sys-outgoing; Sat, 5 Apr 1997 18:31:01 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16692; Sat, 5 Apr 1997 18:30:58 -0800 (PST) Date: Sat, 5 Apr 1997 18:30:58 -0800 (PST) From: John Dyson Message-Id: <199704060230.SAA16692@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_extern.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/05 18:30:57 Modified: sys/vm vm_extern.h Log: Correction to the prototype for vm_fault. Revision Changes Path 1.32 +2 -2 src/sys/vm/vm_extern.h From owner-cvs-sys Sat Apr 5 19:04:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA18420 for cvs-sys-outgoing; Sat, 5 Apr 1997 19:04:39 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA18411; Sat, 5 Apr 1997 19:04:34 -0800 (PST) Date: Sat, 5 Apr 1997 19:04:34 -0800 (PST) From: John Dyson Message-Id: <199704060304.TAA18411@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/05 19:04:33 Modified: sys/vm vm_map.c Log: Make vm_map_protect be more complete about map simplification. This is useful when a process changes it's page range protections very much. Submitted by: Alan Cox Revision Changes Path 1.74 +4 -2 src/sys/vm/vm_map.c From owner-cvs-sys Sat Apr 5 21:08:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA23961 for cvs-sys-outgoing; Sat, 5 Apr 1997 21:08:54 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA23952; Sat, 5 Apr 1997 21:08:50 -0800 (PST) Date: Sat, 5 Apr 1997 21:08:50 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704060508.VAA23952@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx Makefile aic7xxx.seq src/sys/i386/conf files.i386 src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/05 21:08:49 Branch: sys/dev/aic7xxx RELENG_2_1_0 Modified: sys/dev/aic7xxx Makefile aic7xxx.seq Log: By popular demand: Sync with current. Revision Changes Path 1.1.4.1 +3 -1 src/sys/dev/aic7xxx/Makefile 1.16.4.24 +20 -13 src/sys/dev/aic7xxx/aic7xxx.seq Branch: sys/i386/conf RELENG_2_1_0 Modified: sys/i386/conf files.i386 Log: By popular demand: Sync with current: Build assembler in an obj directory. Revision Changes Path 1.98.4.14 +2 -2 src/sys/i386/conf/files.i386 Branch: sys/i386/scsi RELENG_2_1_0 Modified: sys/i386/scsi aic7xxx.c Log: By popular demand: Sync with current Revision Changes Path 1.29.2.36 +16 -16 src/sys/i386/scsi/aic7xxx.c