Commit Graph

102277 Commits

Author SHA1 Message Date
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
jmc c7258354f0 Force the initial probes to happen within the newly forked off kthread.
This eliminates problems where the underlying interrupt handler isn't the
specific layer calling scsipi_complete() for a given scsi transaction.
This avoids deadlocks where the kthread that called the autoconf routines
to configure a scsibus shouldn't be the one put to sleep waiting on a
scsipi_complete (only the scsibus's kthread should be doing that).

To avoid jitter this will force the scsibus's to probe in the order they
run through autoconf (so machines with multiple bus's don't move sd* devices
around on every reboot).
2002-09-19 08:31:05 +00:00
martti 3a5ea42f37 We don't need this file 2002-09-19 08:21:53 +00:00
martti 3b6750c781 Fix checksum error 2002-09-19 08:13:31 +00:00
martti 37d5771300 Resync with official IPF 2002-09-19 08:13:25 +00:00
martti 1d1ecc3f65 Fix test invokation 2002-09-19 08:13:20 +00:00
martti b69124b84c Resync with official IPF 2002-09-19 08:12:43 +00:00
martti 5b3c5dc17f Make this compile 2002-09-19 08:11:38 +00:00
martti 7bfcc4bc66 Resync with official IPF 2002-09-19 08:11:13 +00:00
grant 1bc4761baa remove USERCONF, as it is already in GENERIC32. 2002-09-19 08:10:44 +00:00
martti 1c7ea364cc Add __attribute__((__unused__)) to SCCS and RCS IDs 2002-09-19 08:10:38 +00:00
martti 87f18f024e Upgraded IPFilter to 3.4.29 2002-09-19 08:08:14 +00:00
martti 1b37ad3011 Import IPFilter 3.4.29 2002-09-19 07:56:23 +00:00
grant 8ec07beba4 remove USERCONF and PIPE_SOCKETPAIR, as these are already in GENERIC32. 2002-09-19 07:13:58 +00:00
mycroft 478dc25d0a select() -> poll() 2002-09-19 03:31:19 +00:00
lukem e3b1a0e70b use NETBSDSRCDIR as appropriate 2002-09-19 03:17:50 +00:00
mycroft 4d0e87d7bb select() -> poll(), nanosleep() 2002-09-19 03:15:43 +00:00
lukem 0be7b964d2 use NETBSDSRCDIR as appropriate 2002-09-19 03:15:39 +00:00
lukem 0ac69ffac4 - use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
2002-09-19 03:09:31 +00:00
atatat fe89a76e74 Add a missing semi-colon. 2002-09-19 03:04:32 +00:00
mycroft fbf6498012 select() -> poll() 2002-09-19 03:04:13 +00:00
mycroft 7fa9b49281 select() -> nanosleep() 2002-09-19 02:59:20 +00:00
mycroft 45e43d0ec5 select() -> poll()
Also clean up some very ugly code.
2002-09-19 02:49:41 +00:00
atatat 7266746efe Provide names for the map and submaps when doing recursive verbose
ddb-style output.
2002-09-19 02:43:51 +00:00
mycroft 3e966fa349 select() -> poll()
Also, remove a call to path_create() that causes the `prepend' path held by
pkg_perform() to be deleted, causing a core dump later when pkg_perform()
tries to remove it itself.
2002-09-19 02:13:57 +00:00