Commit Graph

13770 Commits

Author SHA1 Message Date
thorpej
e55c8a9c7e Before concatenating frags, sanity check the length of the packet. If it's
larger than IP_MAXPACKET, discard it.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:30:32 +00:00
thorpej
65c188b3c7 Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
Add a counter to IP stats, to count packets which are discarded on the
grounds that they are too large.
1996-10-25 06:24:16 +00:00
thorpej
ee34a9ab6d Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov> 1996-10-25 06:22:24 +00:00
cgd
702e7ec138 make script_kvars an array of unsigned longs, and cast when assigning the
elements, to avoid warnings (with -Wcast-qual) about 'volatile'
qualifiers being discarded.
1996-10-25 00:33:00 +00:00
cgd
bba547e063 second and third args to scanc() (string and table) are not and should not
be modified.  Make them 'const'.
1996-10-24 23:50:31 +00:00
cgd
311fcee75f when casting const pointers, preserve const qualifiers. (-Wcast-qual) 1996-10-24 23:45:32 +00:00
is
6e74f35ac9 First small hack at 68060 support: processor configuration register.
(We don't use the new instructions lpstop and plpa in our kernel, so no hurry.)
1996-10-24 18:30:17 +00:00
is
b88543e379 Remove addressing bug in hand-optimized assembly code. 1996-10-24 15:52:08 +00:00
fvdl
753949629e Make this compile again if PCI_CONF_MODE is defined (unused label). 1996-10-24 12:32:29 +00:00
fvdl
016d7b35dc Make this compile without COMPAT_10 (unused variable). 1996-10-24 12:22:43 +00:00
cgd
574f71ab26 replace a construction in sys_setitimer() that was too tricky for its
(and my!) own good with a more straightforward one that is equally (and
more apparently) correct.
1996-10-24 04:35:33 +00:00
cgd
8595fc3073 make coredump() use more sensible error returns (even though they're
not used by anything, for now), and implement MNT_NOCOREDUMP by checking
whether or not MNT_NOCOREDUMP is set on the file system where the dump
would land (i.e. the file system of the process's current working
directory), and disallowing the core dump if it's set.
1996-10-23 23:13:19 +00:00
cgd
6d3337bdf6 permit MNT_NOCOREDUMP as a generic mount flag. 1996-10-23 23:07:08 +00:00
cgd
92f76697f5 add the MNT_NOCOREDUMP file system flag, which prevents the system
from writing core dumps on file systems for which it is set.  Also, add
a comment noting that the mount flags aren't in numerical order.
1996-10-23 22:53:09 +00:00
mhitch
dd4aa9cef1 Fix typo: #endeif 1996-10-23 20:04:40 +00:00
gwr
601935b8ae Use struct trapframe instead of struct frame, and include a
slight hack to make this cross-build correctly on a SPARC.
1996-10-23 16:39:27 +00:00
gwr
4e462c2f6e Dont bother grouping labels in computeSignal().
This form is easier to compare with trap.h
1996-10-23 16:30:48 +00:00
gwr
6fa72d79b5 Add options EXEC_AOUT and EXEC_SCRIPT 1996-10-23 16:14:23 +00:00
briggs
4675aac3cf Set SCSIBase properly on Quadras. Separate out CLASSAV. From Dave Huang
<khym@bga.com>.
Also fix COMPAT_NOMID to compile again.
1996-10-23 14:12:37 +00:00
briggs
0363bd9a12 Include ether.h since we're now using NETHER, also use NETHER > 0 not NETHER. 1996-10-23 13:35:41 +00:00
matthias
8738c57e61 * Phil Budne's is now integrated.
* Remote kerneldebugging with gdb works too.
1996-10-23 07:55:10 +00:00
matthias
2336fbd2c6 * Phil Budne's much improved scn driver. 1996-10-23 07:52:35 +00:00
matthias
e7e91939da * Remove references to deleted files (oldncr.c, dp.c). 1996-10-23 07:50:03 +00:00
matthias
54eec4c697 * Add EXEC_SCRIPT and EXEC_AOUT. 1996-10-23 07:49:58 +00:00
matthias
0cdf2807ab * KLONDIKE has only four serial lines.
* KLONDIKE has a ns381 installed.
* Add EXEC_SCRIPT and EXEC_AOUT.
* Enable ddb.
* Enable FDESC.
* Monitor speed is 9600 baud.
* Monitor speaks 8N1.
* Pin down devices on the SCSI-Bus.
* Configure vnd, bpfilter, ppp and tun.
1996-10-23 07:49:55 +00:00
matthias
45fe815542 * Add EXEC_SCRIPT and EXEC_AOUT.
* Remove lines commented out.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:54 +00:00
matthias
225801ae14 * New file; configuration for my second pc532. 1996-10-23 07:49:52 +00:00
matthias
414cbce393 * Add EXEC_SCRIPT and EXEC_AOUT.
* Use new options for to set the console baudrate and the default
tty mode.
* Include PPP_BSDCOMP and PPP_DEFLATE.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:49 +00:00
matthias
63d15a966d * Sync with i386 version.
* Scratch ram for debugger stacks ends at VM_MIN_KERNEL_ADDRESS + 0x1000
and not at VM_MIN_KERNEL_ADDRESS + 0x2000.
1996-10-23 07:46:08 +00:00
matthias
e9a160096b * Sync with i386 version. 1996-10-23 07:46:07 +00:00
matthias
4b2a039488 * configure() has to be declared void. 1996-10-23 07:46:04 +00:00
matthias
865930408c * Do not include limits.h, use machine/limits.h. 1996-10-23 07:43:44 +00:00
matthias
897acfdcbb * Do not include stddef.h.
* Add definition of offsetof.
1996-10-23 07:43:42 +00:00
matthias
1a81564477 * Declare reserve_dumppages and pmap_activate. 1996-10-23 07:30:57 +00:00
matthias
1731660b98 * Declare kvtop. 1996-10-23 07:30:54 +00:00
matthias
c53ad1988a * At least the Teac FC-1 Shugart-SCSI bridgeboard does motor on/off
management by itself. But when it gets a start unit request, it keeps
the floppy motor running all the time. This adds code for dealing with
yet another quirk (SDEV_NOSTARTUNIT) that prevents sd.c from sending
start unit requests. A entry for the Teac FC-1 is added to the quirk
table.
1996-10-23 07:25:39 +00:00
matthias
3ff0c0553e * The kernel-stack no longer needs to be wired-down on the pc532. 1996-10-23 07:20:09 +00:00
matthias
a587cc60a0 * In dosetrlimit ensure that rlim_cur and rlim_max are >0. Otherwise
the kernel might crash due to invalid values passed to setrlimit.
1996-10-23 07:19:38 +00:00
cgd
2e7c250f84 update drivers to use the new NetBSD/alpha DMA mapping hack, since
the old one is not workable with the new bus.h.
1996-10-23 04:37:31 +00:00
cgd
1b03f1bca7 update for new bus.h macros. bus_io_* and bus_mem_* integrated into
single bus_space_* framework.  Unfortunately, bus_space_{read,write}_*
operations still imply barriers.  That will change soon.
1996-10-23 04:12:13 +00:00
mhitch
0023076caa Need to initialize fi_glasstty before using it. 1996-10-23 02:34:23 +00:00
gwr
e1467b90b1 Add prototypes, and a few more fields now used in z8530tty.c 1996-10-23 00:38:05 +00:00
gwr
a329be829e Add masks for some combinations of bits that are set as a group. 1996-10-23 00:32:31 +00:00
mhitch
32fccda062 The active target needs to be initialized in siiattach() instead of
old_siiattach().
1996-10-22 23:15:10 +00:00
explorer
8e8c326f5d Spelling error 1996-10-22 22:28:20 +00:00
cgd
2f614ee518 update for new bus.h 1996-10-22 21:34:19 +00:00
cgd
8f5cf31b8a clean up the recent reimplementation, and kill several bogons in the new
definitions.
1996-10-22 21:23:49 +00:00
cgd
6d917387e4 there is no TC I/O space, so in the new bus.h world order there
is no tc_bus_io.c.
1996-10-22 21:15:45 +00:00
mhitch
39079306ce Add the missing ".set noreorder". 1996-10-22 20:46:09 +00:00
explorer
239580d5d0 Clean up changes to make sys/lkm build again 1996-10-22 19:43:13 +00:00