perseant
0a9ceae750
fix printf format on alpha
2001-07-18 06:24:38 +00:00
perseant
cfe2897c6e
Handle segment 0 properly, if its offset is different from other segments
...
because of the disklabel.
Fix a problem with inode block handling that sometimes caused the wrong
blocks to be read, causing either cleaning failures or panics with v2 file
systems.
2001-07-18 05:46:43 +00:00
matt
b499a7d558
Add -Wno-main since this is a standalone program.
2001-07-18 05:37:55 +00:00
thorpej
33d6023447
Unshare signal actions on exec.
...
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:58 +00:00
thorpej
35c5abaeff
Unshare the file descriptor table and `cwdinfo' when we exec.
...
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:37 +00:00
lukem
c0e6fdedfc
- add parsetype() (a la parsekey()) to parse the "type=xxx" arg. this improves
...
the error detection for invalid types, as well as shrinking binary size
- implement inotype() using ftype(), rather than duplicating the switch
- change "char *" arguments to "const char *"
2001-07-18 04:51:54 +00:00
simonb
19211890ff
Enable dot_init.h on mips, fixing .init & .fini processing.
2001-07-18 04:43:48 +00:00
simonb
19014d376c
Modernise data and stack size limits.
2001-07-18 04:15:55 +00:00
onoe
b7ff292c17
make it compilable:
...
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
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