Commit Graph

83107 Commits

Author SHA1 Message Date
onoe
69b6def907 Do not copy first keys into four key entries; the bug was introduced in 1.17 2001-07-18 02:06:44 +00:00
thorpej
17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
matt
7fa8aeac6c When we auto size the vnode cache, make sure we do it *before* we
init vfs so it can the size into account when creating its hash lists.
This means that for a 2GB system, it'll have a default of 65536 buckets
instead of 2048 and when you have 200,000+ vnodes that makes a significant
difference.
2001-07-18 00:51:54 +00:00
thorpej
a018252ace A regression test for clone(2). 2001-07-17 23:58:30 +00:00
thorpej
da2e0bfb7c Simplify slightly. 2001-07-17 23:13:04 +00:00
thorpej
badb94abdb Document CLONE_VFORK and note that we also do not implement CLONE_PTRACE. 2001-07-17 21:16:52 +00:00
thorpej
909084d90f Protect userland from the inlines and kernel variable decls. 2001-07-17 20:54:58 +00:00
martin
86774df023 Fix a slight bug introduced with revision 1.9 (IPv6 integration) where
the bit mask of open NCPs got out of sync.
Defer the (potential) closing of LCP after a NCP went down until after
the state machines got updated.

This fixes PR kern/11161.
2001-07-17 19:12:02 +00:00
mrg
6bea810c23 enable dot_init.h on both sparc & sparc64, fixing .init & .fini processing
for both platforms.  they share dot_init.h with a single #ifdef #define
difference...
2001-07-17 18:25:11 +00:00
jdolecek
f9f0d49b94 comment police 2001-07-17 18:21:59 +00:00
jdolecek
db3510e6f8 fix bogus uio->uio_offset check introduced in rev. 1.5, which effectively
disabled loans for writes (a.k.a "direct write"), oops; use uio->uio_resid
for the check instead

don't bother updating uio->uio_offset in pipe_direct_write(), it's not used
by upper layers anyway
2001-07-17 18:18:52 +00:00
thorpej
f9c5bef128 De-lint, cleanup. 2001-07-17 17:46:42 +00:00
simonb
36faa88260 Drop the .abicalls and .cp* magic; fixes .init/.fini test case on mips. 2001-07-17 15:24:27 +00:00
simonb
1bc139fd41 Add but not enable correct .init/.fini handling. 2001-07-17 15:20:23 +00:00
mrg
5655cd2764 correct a date. 2001-07-17 14:02:41 +00:00
mrg
5a49b0db15 remove empty default: cases. 2001-07-17 13:55:51 +00:00
mrg
d23c8fc309 properly use ANSI string concatenation. 2001-07-17 13:55:12 +00:00
mrg
ef38b7e874 fix a statementless label that gcc-current picked up. 2001-07-17 13:53:15 +00:00
mrg
6d1680019c use a shift instead of a divide. 2001-07-17 13:52:24 +00:00
mrg
f4bd34ec5f add but not enable correct .init/.fini handling. 2001-07-17 13:32:35 +00:00
mrg
ff68bb147c minor KNF 2001-07-17 13:28:05 +00:00
tsubai
e0cf8bfa8f Eject PCMCIA card on ohare based models only. 2001-07-17 12:33:45 +00:00
tsubai
4a0b75d5d2 Add the new .init/.fini support. 2001-07-17 12:16:43 +00:00
tsubai
32efc3c7d9 PowerPC asm bits for .init/.fini regression test. 2001-07-17 12:09:47 +00:00
jdolecek
588b94c0a2 Expel MSG_COMPAT/COMPAT_OLDSOCK, make the COMPAT_43 wrappers
arrange things as needed.  Unfortunately, the check in sockargs()
have to stay, since 4.3BSD bind(2), connect(2) and sendto(2) were
not versioned at the time :(

This code was tested to pass regression tests.
2001-07-17 11:49:40 +00:00
jdolecek
838dd71739 Add regression test for COMPAT_43 uipc syscalls. Do not run this by
default, special setup is needed (inetd echo service + kernel with COMPAT_43)
2001-07-17 11:32:28 +00:00
mrg
bdfccf01b1 port the initfini asm regress code to sparc and sparc64. currently it
gets FAILED, but that's to be expected... fix shortly arriving.
2001-07-17 11:29:55 +00:00
haya
8a1cc19a9f New Feature: Add isochronous stream input routine. This feature has
been tested on i386.  It does not have any interface for useland to
get isochoronous stream.  The isochoronous acquisition interface
should be determined.
2001-07-17 11:01:03 +00:00
mrg
d699caad5a reset uid & gid around calling rmthost(). 2001-07-17 10:56:53 +00:00
fvdl
d68e2c3f12 Redefine evil tXXX register offset defines into the trapframe structure
to use offsetof. These should be completely nuked.

Fixes math_emulate lossage.
2001-07-17 08:13:06 +00:00
matt
119c72fb96 Add new init/fini to VAX ELF. 2001-07-17 06:45:46 +00:00
matt
07078fffef Add regression stub for VAX. 2001-07-17 06:42:38 +00:00
matt
e3fa8d5f32 Add ARM case for initfini regression test 2001-07-17 06:40:25 +00:00
matt
ae9f64ff3b Turn-on new init/fini processing. 2001-07-17 06:39:14 +00:00
jdolecek
37d12500d5 only allocate buffer kva for the end which needs it 2001-07-17 06:05:28 +00:00
fvdl
017c6632e8 __clone stub for i386 2001-07-17 06:03:43 +00:00
thorpej
284fb99460 MIPS initfini test asm glue. 2001-07-17 05:49:11 +00:00
thorpej
c71495350e Make this work on the MIPS. 2001-07-17 05:40:28 +00:00
thorpej
68620c547d i386 asm bits for .init/.fini regression test. 2001-07-17 04:03:53 +00:00
thorpej
4abcdae85e Enable the new (working) .init/.fini magic. 2001-07-17 03:56:48 +00:00
thorpej
86ec8403dd Descend into csu. 2001-07-17 03:42:23 +00:00
thorpej
f0ee444a4d Descend into initfini. 2001-07-17 03:42:07 +00:00
thorpej
d31cce0350 Regression test for .init/.fini. 2001-07-17 03:41:03 +00:00
thorpej
c6128d5e3d Add <sched.h>. 2001-07-17 03:07:17 +00:00
thorpej
4e8fc6ae38 Lint stubs for clone(2). 2001-07-17 03:05:43 +00:00
thorpej
f6459c8fab Manual page for clone(2). 2001-07-17 03:05:31 +00:00
thorpej
da143054a0 A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.
2001-07-17 03:04:16 +00:00
enami
5e40498018 Add missing counting up of ``socket buffer is full'' counter when
failed to sbappendaddr().
2001-07-17 02:44:00 +00:00
thorpej
480252327f Cosmetic change. 2001-07-17 02:05:32 +00:00
thorpej
d85c1e4043 Add a __clone(2) entry point. 2001-07-17 02:01:40 +00:00