Commit Graph

96196 Commits

Author SHA1 Message Date
itojun 9bdb5743dd avoid buffer overrun on PASV from malicious server.
http://online.securityfocus.com/archive/1/269356/2002-04-22/2002-04-28/0
2002-04-25 10:55:43 +00:00
itojun 2e7169447f use in_aliasreq for inet address manipulation, not ifaliasreq. they have
different alignment constraint.  [tests on 64bit arch wanted]
2002-04-25 09:39:17 +00:00
aymeric 90d26c8828 o replace definitions by declarations in header files
o put definitions where due
o cleanup some types  (u_int -> vaddr_t's for example)
o minor other cleanup
2002-04-25 09:20:25 +00:00
simonb fa61e6cd3b In the LOCKDEBUG case, call exit2() before sched_lock_idle() so
that the exitting process pointer in a0 doesn't get overwritten by
sched_lock_idle().
2002-04-25 06:55:53 +00:00
briggs 3d46ca0e98 XSCALE_CCLKCFG should not be set in std.iq80310. Set IQ80310 to use
XSCALE_CCLKCFG=9 (733MHz) and TEAMASA_NPWR to use XSCALE_CCLKCFG=7 (600MHz)
as that's what the part on the board is rated for.
2002-04-25 01:50:00 +00:00
thorpej 1ca5e360be Use LOADADDR() where appropriate. 2002-04-25 01:48:21 +00:00
briggs 24bc04a204 80321 doesn't have a CCLKCFG register. 2002-04-25 01:47:56 +00:00
thorpej 48774f52db Add iq80321.c 2002-04-25 01:47:54 +00:00
thorpej 509fd84067 Add iq80310.c 2002-04-25 01:47:41 +00:00
kleink d4fbf896be Note eso(4) attachment. 2002-04-25 00:59:25 +00:00
kleink 7d15aed65e Attach joy(4) at eso(4). 2002-04-25 00:57:47 +00:00
kleink 8f5a689d48 Attach joy* at eso?. 2002-04-25 00:54:54 +00:00
kleink 22e2d71a5f Add a joystick attachment to the ESS Solo-1 driver. 2002-04-25 00:52:21 +00:00
kleink af131f109a Add an `aux' audio device sub-type, to be used to attach parent
device-specific children to an audio device; per discussion with
Lennart Augustsson.
2002-04-25 00:50:39 +00:00
eeh dcb399fc7c Don't need to flush the d$ for MMU bypass accesses. 2002-04-24 23:54:24 +00:00
bjh21 2fb16bb43f Set PAX in buildfloppies.sh's environment. 2002-04-24 23:04:08 +00:00
bjh21 38bcf69e6b ... and in NetBSD-current, <netinet/in.h> needs <sys/types.h>. 2002-04-24 22:44:40 +00:00
bjh21 440dad2fb9 On NetBSD, <arpa/inet.h> needs <netinet/in.h>. POSIX-2001 says it shouldn't,
but cope anyway.
2002-04-24 22:34:07 +00:00
eeh d188ed6784 Backport from -current a fix for structure passing lossage. 2002-04-24 22:28:36 +00:00
nathanw 43634bc5ba Since kinfo_proc2 has many values that are 64-bit, ps needs to know
that they're 64-bit, and grab them out of memory appropriately. Otherwise,
big-endian systems get the wrong end of the 64-bit value and lose.

Keywords affected: inblk, majflt, minflt, msgrcv, msgsnd, nivcsw, nsigs,
nswap, nvcsw, and oublk.
2002-04-24 21:41:22 +00:00
thorpej 8eef8db58c Build a gzboot image for the TeamASA Npwr. 2002-04-24 21:24:16 +00:00
bjh21 d68e9d36ad Check for the location of sh on the path, and use that to construct the
value for _PATH_DEFSHELLDIR.  In theory, _PATH_DEFSHELLDIR will also be
used to find csh, but ".SHELL csh" shouldn't be used anywhere in our source
tree, and this make shouldn't be used for other things.

This should cause nbmake to use the right shell for most purposes when
cross-compiling from Solaris.
2002-04-24 21:20:08 +00:00
thorpej f897638a44 Allow the name of the gzboot image to be different from the name
of the kernel configuration.
2002-04-24 21:17:31 +00:00
bjh21 a29c20f490 Remove an "eval" from docmd, in order to stop it over-evaluating things
(and losing quotes from DEFS).
2002-04-24 21:17:24 +00:00
thorpej f13a1f0948 Allow which kernel for a specific kernel config to be specified (e.g.
netbsd-sd0, netbsd-wm0, etc.).
2002-04-24 21:09:57 +00:00
thorpej 2fb4fdf715 Fix kernel suffix processing:
* Don't put .WAIT in ${KERNELS}.
* Make sure to add suffixed kernel names to ${KERNELDEPS}.
2002-04-24 21:03:42 +00:00
bjh21 628b5efe85 Allow the makefile to override _PATH_DEFSHELLDIR as well. 2002-04-24 20:38:47 +00:00
thorpej 643663fa93 Go back to siop; esiop isn't fully baked yet. 2002-04-24 20:38:24 +00:00
thorpej 8a0e1d451e Add iq80321.c 2002-04-24 20:37:46 +00:00
thorpej f2074c92de Add iq80310.c 2002-04-24 20:36:59 +00:00
bjh21 a533ffac94 Add a configuration for an installation ramdisk kernel. 2002-04-24 19:50:25 +00:00
bjh21 a3112ce1b9 Rather than hardcoding two possible locations of the POSIX shell (for
Solaris and everything else), set _PATH_BSHELL to the first occurrence of
"sh" on the path.  This should be rather more portable.
2002-04-24 19:41:58 +00:00
bjh21 f47cb92e18 audio -> audiobus rename. 2002-04-24 17:52:48 +00:00
bjh21 df42dd4c9f Include <arpa/inet.h> to get htonl(). This is necessary on Solaris, and
POSIX says that's the right header for it.
2002-04-24 17:49:52 +00:00
thorpej fda6669861 Use esiop. 2002-04-24 17:45:55 +00:00
bjh21 767def4642 Re-introduce inclusion of config.h for libnbcompat, since the namespace.h trick
no longer works.
2002-04-24 17:45:14 +00:00
thorpej 2c0a144aa4 * pmap_clean_page(): Clean up a comment.
* pmap_protect(): write back the range when doing a r/w -> r/o
  transition.  (Still leave the block concerned with this in
  pmap_clean_page() disabled, for now.)
* pmap_pte_init_xscale(): Disable read/write-allocate for now, until
  we figure out why sometimes cache lines of NULs get deposited into
  file data.  Also, make sure ECC protection of page table access is
  disabled for now.
* xscale_setup_minidata(): Make sure the mini-data cache is configured
  write-back with read/write-allocate.
2002-04-24 17:35:10 +00:00
ross f98b9b43e8 Add strtoul.c 2002-04-24 16:56:36 +00:00
atatat 43fa832908 Clean out "dirty" to avoid spurious log entries. 2002-04-24 16:37:08 +00:00
bjh21 6d3e84cc85 src/tools/dbsym has been buildable on non-NetBSD systems for some time. 2002-04-24 16:28:55 +00:00
christos ce8e03cd9f Avoid file use underflow; thanks to YAMAMOTO Takashi for noticing. 2002-04-24 16:09:24 +00:00
bjh21 b53b7e5cd5 Include <stdint.h> or <sys/stdint.h> to get the C99 fixed-width types, since
<sys/types.h> doesn't necessarily provide them.
2002-04-24 15:29:45 +00:00
ad b9e7e28ff4 Match anything with PCI_VENDOR_VORTEX, then use a heuristic to determine the
board's interface, and list only exceptions in icp_pci_ident[].
2002-04-24 15:08:48 +00:00
aymeric e4f7fab661 OPTi changes:
o keep WDC_CAPABILITY_DATA32 regardless of the version of the chip.
o correct typo to disable DMA correctly
2002-04-24 13:49:34 +00:00
kleink f4346e4218 Protect inclusion of namespace.h with _LIBC. 2002-04-24 12:25:09 +00:00
itojun 3f18342704 handle ECONNABORTED at accept(2). correct error handling for connect(2)
sync w/ kame
2002-04-24 12:14:42 +00:00
kleink a5a0fd620b Add ex(4). 2002-04-24 09:46:15 +00:00
bouyer d59eabe0a9 Regen: get rid or ID in scheduler slot, to save RAM. 2002-04-24 09:44:12 +00:00
bouyer b46922a07a For a new command, use the id in the command table and get rid of the ID in the
scheduler slot. This costs a few more instructions but divide the size of the
scheduler ring by 2, saving 1k of onboard RAM (a bus with 15 devices would
overflow the on-board RAM by 128 bytes).
2002-04-24 09:43:14 +00:00
wiz 66a3e61375 "a, b, c, and d", not "a, b, c and d". 2002-04-24 08:58:33 +00:00