manu
5f90ae55b5
Added clockctl
2002-01-12 14:52:40 +00:00
christos
83990b1879
Clear the P_INEXEC flag in other labels. Pointed out by he@netbsd.org
2002-01-12 14:20:30 +00:00
manu
d6bd9425bf
Added clockctl
2002-01-12 13:39:29 +00:00
chris
c3abf9a50c
Make GENERIC cats kernel boot again. By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
...
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs. I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.
2002-01-12 13:37:55 +00:00
manu
0079b3711b
Added clockctl
2002-01-12 13:33:42 +00:00
manu
eb2b0c03da
Added clockctl
2002-01-12 13:22:23 +00:00
manu
af62e00622
Added clockctl
2002-01-12 13:11:08 +00:00
manu
2efb671770
Added clockctl
2002-01-12 13:00:46 +00:00
manu
26fc3c46e0
dded clockctl
2002-01-12 12:59:11 +00:00
manu
6330e3eab1
Added clockctl
2002-01-12 12:56:39 +00:00
manu
d397792cbb
Added clockctl
2002-01-12 12:36:31 +00:00
manu
4e294be530
Oops, wrong number (84 -> 69)
2002-01-12 12:32:58 +00:00
manu
5061ccffdc
Added clockctl
2002-01-12 12:28:03 +00:00
manu
9a870a5b82
updated chrtoblktbl[]
2002-01-12 12:23:48 +00:00
manu
08daa954b4
Added clockctl
2002-01-12 12:21:09 +00:00
manu
833e540a34
Added clockctl
2002-01-12 12:09:51 +00:00
aymeric
6f9753bcdd
Revert last commit in order to do the right thing.
...
(i.e. use jmp xx:l instead of exporting xx)
No functional change.
2002-01-12 11:45:26 +00:00
aymeric
51411b7d2b
fix printf(3) warnings when defined(DEBUG)
2002-01-12 11:27:16 +00:00
aymeric
9e09072f0e
use %p instead of %x when displaying a pointer
2002-01-12 11:26:13 +00:00
aymeric
238cdd6720
add missing prototype when defined(DEBUG)
2002-01-12 11:24:48 +00:00
tsutsui
7d5571319d
Remove .mdebug and .ident sections from ECOFF kernels so that
...
the ARC BIOS can load ECOFF kernels built with new-toolchain properly.
2002-01-12 04:07:27 +00:00
yamt
59998d6154
check if timeout already expired before select.
...
from OpenBSD/FreeBSD.
2002-01-12 02:42:58 +00:00
wiz
81cc127219
Sync mentioned section headers with mdoc.template; update descriptions of
...
.Os and .Dt arguments to current practice; don't hardwire NetBSD version
name (was still at 1.4...).
2002-01-12 02:25:32 +00:00
wiz
d0a7520fe5
Mention LIBRARY section, and some minor changes.
2002-01-12 02:24:29 +00:00
aymeric
d5ee8dac41
Teach xstr(1) about gcc's __asm and __asm__ directives.
...
Now we can process our own header files with xstr(1) without it breaking
everything.
2002-01-12 02:13:12 +00:00
yamt
72f7deb4ee
fix a typo.
...
(syper -> super)
2002-01-12 02:11:03 +00:00
enami
68f9f4a5d4
Make ehci_pci.c compiles again.
2002-01-12 02:06:23 +00:00
enami
5c12da5b4a
Define new macro to access FSR register and use it.
2002-01-12 01:40:36 +00:00
enami
16fc46b962
Access FSR register correctly in struct fpreg.r_regs[].
...
This fixes sshd (actually, libcrypto) failure with new-toolchain.
2002-01-12 01:37:08 +00:00
eeh
4d28a1937c
Trap types should be printed in hex.
2002-01-12 01:07:00 +00:00
enami
0cd298f02e
Skip not yet emulated 8bit ulinear encoding correctly.
2002-01-12 00:13:42 +00:00
nathanw
0244dbad00
Reserve the SA malloc type on the trunk.
2002-01-12 00:00:39 +00:00
christos
67c310f08c
Apply the same P_INEXEC test to avoid the execve/trace problem using
...
the procfs ptrace calls.
2002-01-11 22:02:56 +00:00
christos
59e608be9f
document that ptrace() will return EAGAIN if the process that we are trying
...
to ptrace is currently in execve().
2002-01-11 21:17:30 +00:00
christos
d4e7e4c9c4
Fix a ptrace/execve race that could be used to modify the child process's
...
image during execve. This is a security issue because one can
do that to setuid programs... From FreeBSD.
2002-01-11 21:16:27 +00:00
christos
94faea123b
- fix whitespace nits.
...
- change error checking philosophy: instead of returning errors to the
upper layer only to fail silently and exit there, or die of unexpected
NULL pointers bail out and print an error immediately. Add emalloc/estrdup
to simplify. This change removed a bunch of code.
- fix size_t/int confusion
- cast argument to isspace(3) to unsigned char
- ? : statement is not an lvalue, so don't take its address.
- unlink the file before we open it, because we chmod it to readonly.
- misc KNF
2002-01-11 18:33:03 +00:00
jdolecek
1511af3e96
Resurrect the 'sc->sc_sbdsp.sc_dev.dv_cfdata = match' in pasprobe(),
...
it's needed for sbdsp.c:sbdsp_probe().
2002-01-11 17:45:10 +00:00
pk
9050f03f0a
Use KERNSRCDIR in path to `osrelease.sh'.
2002-01-11 17:42:57 +00:00
jdolecek
3c9a8d7d19
Fix fallout from previous - the 'sc->sc_dev.dv_cfdata = match' needs
...
to be retained, it's referenced in sbdsp.c:sbdsp_probe().
2002-01-11 17:33:01 +00:00
kleink
0f83741fa0
Determine the 'native' endianness using _BYTE_ORDER from
...
<machine/endian_machdep.h>.
The previous method of wrapping a definition of _POSIX_SOURCE around the
inclusion of other headers to reduce namespace pollution had the
side-effect of not all required identifiers being defined when included
thereafter by the application itself (due to multiple-inclusion protection),
and is not blessed by that standard.
2002-01-11 12:11:09 +00:00
itojun
dad921a24e
daemon(3) has to be called prior to file descriptor initialization.
2002-01-11 05:33:22 +00:00
itojun
da4f6b8247
daemon(3) should be used prior to file descriptor setups.
2002-01-11 05:18:11 +00:00
itojun
5f38ec918c
daemon(3) has to be called prior to file descriptor setups.
2002-01-11 04:35:52 +00:00
itojun
4a1ad619af
daemon(3) has to be called before opening file descriptors.
...
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
uwe
438dfde149
OBP 2.30 in JS1 is romvec version 3, so g/c PROM_OBP_V2 entry.
...
Add bare-bones "8042" (pckbc) node and rename bogus zs nodes out of
the way to prevent them from matching.
2002-01-11 01:44:32 +00:00
wiz
a4397af56d
Add /usr/include/fs/smbfs.
2002-01-11 01:36:28 +00:00
christos
03dae382df
- KNF... Add NetBSD copyright, pass lint, getopt, modernize, blah.
2002-01-10 21:43:10 +00:00
briggs
e44b2beeac
Add OPIOCFINDDEVICE to match dev/ofw/openfirmio.[ch].
2002-01-10 20:38:11 +00:00
martin
7b6f872d11
Add, #ifdef SPPP_IF_SUPPORT, special case treatment for sys/net/if_spppsubr.c
...
based interfaces. Note: all other interface types work the same as before,
and no names are hardcoded.
When a if_spppsubr.c based interface is marked IFF_UP, but has not yet
reached phase NETWORK (i.e. it didn't connect yet or authentication has not
yet completed) do not call the ip-up script for it on the initial pass
over all IFF_UP interfaces.
This fixes a race condition on startup when ip-up/ip-down are statefull
and need to be called pairwise (for example if ip-up adds and ip-down
removes a default route).
2002-01-10 20:21:50 +00:00
martin
0f93714245
Pass the remote address (or broadcast addres) to the up/down scripts as
...
well. This is very usefull for setting up the right routes ;-)
Thanks to Bjoern Labitzke for pointing out this missing feature.
2002-01-10 19:38:51 +00:00