Commit Graph

90929 Commits

Author SHA1 Message Date
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
tv 5457974230 Move host-mkdep to its own directory. Create and install it before
everything else.  Now it's possible for the target mkdep to build and
install like "normal" host-tools do; should remove the function decl
warnings reported by greywolf@starwolf.com on current-users.
2002-01-10 17:04:20 +00:00
mrg f6a5bde398 build sunlabel as a host tool (not enabled in tools/Makefile yet) 2002-01-10 16:35:05 +00:00
mrg 4ef0e6e1a3 - add a -h option
- kill warnings
- use getmaxpartitions()

XXX: consider renaming options to more standard names and use getopt(3).
2002-01-10 16:26:01 +00:00
mrg 3b989ef166 makefile for sunlabel. 2002-01-10 16:24:41 +00:00
mrg 2c57f36327 der Mouse's sunlabel.doc 2002-01-10 16:15:37 +00:00
briggs 03bd9a6a52 In OPIOCNEXTPROP: if we are at the last property, set the buffer length to
0 instead of setting it to an uninitialized value (len).
2002-01-10 16:04:43 +00:00
pooka b3714941a4 few entries more 2002-01-10 15:31:04 +00:00
agc cfa115fedf Explain a bit more fully the collating sequence which pkg_info(1) uses when
comparing package versions strings.
2002-01-10 10:46:28 +00:00
haya 1e4fff76f0 Bug fix: correct chattering suppressor. Card insertion will be
detected properly by this fix.
2002-01-10 10:30:08 +00:00
someya 02501f9aa4 remove a unnecessary message print 2002-01-10 10:17:55 +00:00
wdk c09d9a0d03 We now need ufs/ufs/dinode.h for ufs/ffs/fs.h
XXX:  All this work for BBSIZE and SBSIZE.  Sigh.

Add missing $NetBSD$ Header to file
2002-01-10 06:56:18 +00:00
briggs 8a2ab2e5f8 Use nextsibling() and firstchild() instead of (unset) promvec. 2002-01-10 06:21:53 +00:00
lukem 96119ca83f - act more like lib/libc/gen/setprogname.c, and store the basename of
the argument to setprogname()
- knf
2002-01-10 05:35:42 +00:00
lukem bf7e120361 setprogname(argv[0]) 2002-01-10 05:31:07 +00:00