Commit Graph

102501 Commits

Author SHA1 Message Date
martti 3b553bac54 Added (commented out) IPFILTER_DEFAULT_BLOCK. 2002-09-20 10:39:48 +00:00
mycroft c2748cb222 select() -> poll() 2002-09-20 06:02:25 +00:00
lukem 1b2d905cd0 cast "%ld", xxx.tv_sec to a long 2002-09-20 04:12:42 +00:00
junyoung 48910dcfc1 Cosmetic changes (long lines). 2002-09-20 03:39:22 +00:00
uebayasi 90abde1a33 .Xr each other. 2002-09-20 03:35:33 +00:00
wrstuden 4f7aaad83c Re-add own alloc(). Recent issues with kernels randomly dying on boot
are related to using libsa's alloc(). Problems go away with this alloc().

The problem is that the libsa alloc() assumes we can grab memory off
the end of the program. That assumption doesn't work for us. It's
much better to use the alloc() we were using as it calls OF_claim()
to get memory.
2002-09-20 03:20:24 +00:00
jdarrow aec33ab640 Very belatedly add myself 2002-09-20 01:30:41 +00:00
oster 8a7eefa217 Another couple of functions that arn't used unless one is debugging RAIDframe. 2002-09-19 23:29:03 +00:00
oster 5faa29ac7d Introduce RF_DEBUG_MAP, and use it to ignore more rarely used code. 2002-09-19 23:23:19 +00:00
ad 600684fe1c Also initalize dz_sc for each line. 2002-09-19 23:22:56 +00:00
oster bc235cf75b Introduce and use RF_DEBUG_PSS, and save a few more bytes. 2002-09-19 22:52:52 +00:00
oster 0c1690c441 One signal will do, thanks. 2002-09-19 22:41:51 +00:00
oster c3bab92ad6 Nuke an obsolete comment. 2002-09-19 22:36:23 +00:00
lukem 94989d34ca switch from checking USE_NEW_TOOLCHAIN == yes to TOOLCHAIN_MISSING != yes,
and don't bother with tc.old any more
2002-09-19 22:04:34 +00:00
mycroft 176cc386e1 If we can't set FD_CLOEXEC on a listening socket, close it rather than allowing
it to be passed down to inetd's children.
Note: Setting FD_CLOEXEC can't actually fail, but we did check for the error
anyway...
2002-09-19 21:59:03 +00:00
rearnsha efc53cb5f7 Pull up the following patch from FSF GCC (fixes aborts when compiling
large functions for ARMv4):
Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
* config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
addresses the same way GO_IF_LEGITIMATE_INDEX does.
2002-09-19 21:52:29 +00:00
mycroft 227330d532 Slight redux. 2002-09-19 21:26:56 +00:00
mycroft 804a85524e select() -> poll() 2002-09-19 21:12:10 +00:00
mycroft 59edfd2c03 Simplify the accept() code a little -- sockaddr_storage is fine for both
AF_LOCAL and AF_INET{,6}.
2002-09-19 20:35:56 +00:00
mycroft 4082cae6ac If we exit because the pid file is locked, syslog that. 2002-09-19 20:22:32 +00:00
mycroft e1a3e519ec select() -> poll(), nanosleep() 2002-09-19 20:08:58 +00:00
joda ee1dfded94 change unconfigured error code back to ENXIO 2002-09-19 19:48:33 +00:00
joda 7417b5942f de-__P and comment out all parameter names 2002-09-19 19:22:53 +00:00
nathanw 4b6782ddb3 Slight wording cleanup in a comment. 2002-09-19 19:04:50 +00:00
oster f6127d1018 Introduce and use RF_DEBUG_STATES to save a bit more kernel space. 2002-09-19 18:54:50 +00:00
nathanw 4a30a46eca Regen. 2002-09-19 18:53:00 +00:00
nathanw d6e8dbd366 Add AMD 761 system controller and ppb. 2002-09-19 18:50:45 +00:00
oster f1113b29c2 Nuke old (and now incorrect) comment. 2002-09-19 17:55:22 +00:00
ragge 5e6a28c57c Adopt to boot block change; check for LUN on SCSI disks also. 2002-09-19 17:41:58 +00:00
ragge a5beda58fa Remove the (today) unneccessary boot unit number conversions for rom-booted
disks. This allows for booting from different LUNs on SCSI disks.
2002-09-19 17:41:21 +00:00
ragge 77d3833330 Need strtoul() also. 2002-09-19 17:37:32 +00:00
thorpej 771b8c8404 Change the TOOLCHAIN_MISSING from == "no" to != "yes", to be consistent
with the other tests of this variable.
2002-09-19 17:13:01 +00:00
manu e2da53c091 More definitions to get apmd building (but it is not functionnal yet) 2002-09-19 16:52:00 +00:00
mycroft 05abee23d9 select() -> poll(), nanosleep() 2002-09-19 16:45:57 +00:00
scw e5b9e76f43 Start the search for a function's prologue by using the current PC - 4.
This ensures we start from the actual call site, not the return address.
The latter may actually be in the next consecutive function if the current
function has the __noreturn__ attribute and the alignment is Just Right.
2002-09-19 15:47:33 +00:00
itojun 89b1e287f7 find_user() in process.c does an unbounded copy into a destination
buffer that is smaller in size than the source buffer.

also, there is no guarantee that any of the string components of
the request packet are null terminated.

in some cases, not all elements of the response buffer are
explicitly set. specifically pad and addr. a talk client can spy to
see which host is talking to which host by sending out regular
packets, to which talkd responds without clearing the addr element.

from xs@kittenz.org
2002-09-19 14:39:51 +00:00
junyoung 18139870a5 Cosmetic changes. 2002-09-19 14:05:37 +00:00
christos 6d0f752a65 don't core dump setting progname if argv[0] == NULL. From xs@kittenz.org 2002-09-19 13:59:46 +00:00
scw c87975f571 - Tweak the output format slightly to show the frame address first.
- When dealing with an exception frame, we might as well print some
   useful details while we're passing through.
2002-09-19 13:04:02 +00:00
lukem 805b400ba7 use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
wiz ef50e53177 Fix typo in comment. 2002-09-19 12:00:11 +00:00
lukem 2c16ea6f7e use NETBSDSRCDIR as appropriate 2002-09-19 11:31:21 +00:00
lukem 3bcb486fa2 - revert change to accessing ../man/ includes as <man/xxx.h>; it's
ugly to add -I.../usr.bin to do this.  instead, add appropriate
  comments in the source to where the files are actually coming from.
- use NETBSDSRCDIR as appropriate
- some minor makefile delint
2002-09-19 11:29:54 +00:00
scw 87048d2661 Don't check the callers expected stack base against the saved frame
pointer, in case the caller grew its stack dynamically.

Also beef up the checks to catch cases where the call stack passes
through the exception handling code in locore. In this case, the
frame pointer and program counter are in the trapframe/intrframe.
2002-09-19 11:25:13 +00:00
ragge 05cab9534e Remove clist.h. Clist blocks has never existed in NetBSD. 2002-09-19 10:49:43 +00:00
ragge 8ed209e110 EOL clist.h. 2002-09-19 10:47:47 +00:00
ragge b3abfee038 Do not include <sys/clist.h>, it's not used in NetBSD at all. 2002-09-19 10:37:59 +00:00
scw 910c7664b3 Finally add full stack trace support by grovelling function prologues to
determine the call stack. (I was sick of doing this manually)
2002-09-19 10:05:25 +00:00
scw 47e178df57 Move opcode_t typedef into db_machdep.h. 2002-09-19 10:03:11 +00:00
martti 38041d0ad0 Print newline after pid (reapply revision 1.10). 2002-09-19 09:03:09 +00:00