Commit Graph

102615 Commits

Author SHA1 Message Date
mycroft 72b0e512c3 Change the comment about l_offs. 2002-09-24 12:18:32 +00:00
shin 29815951b2 reorder lines so that ${MAKESUMS} is executed after all files are installed.
(previous revision calculates checksums only for *boot.exe)
2002-09-24 12:15:11 +00:00
mycroft 9d8c69b929 Remove vestiges of VARPSZ. 2002-09-24 12:12:07 +00:00
jdolecek 8ad8284735 add missing comma 2002-09-24 11:38:16 +00:00
shin 74f9891db4 'options USERCONF' is already in TX3912. 2002-09-24 11:16:37 +00:00
martti 3e11ad9d79 Print a warning message if IP forwarding is not activated (PR#10295). 2002-09-24 11:03:53 +00:00
agc 7c4cb11d99 sync list with reality - add /rescue/chgrp and /rescue/chown 2002-09-24 10:49:15 +00:00
jdolecek 77475e0bf4 'data' contains amount of space remaining in the write buffer also
for ttys
2002-09-24 10:29:29 +00:00
junyoung 578b2b0e36 Make use of _rtld_pagesz. 2002-09-24 09:58:03 +00:00
junyoung 175c20cbcf Nuke PAGESIZE. 2002-09-24 09:45:59 +00:00
junyoung 4b4a707c66 Use _rtld_pagesz instead of PAGESIZE. 2002-09-24 09:35:13 +00:00
jdolecek 7fe050c591 add options QUOTA; pointed out by Mattias Karlsson
also move options NFSSERVER after options SOFTDEP
2002-09-24 09:34:39 +00:00
junyoung d190613fbb space -> tab. 2002-09-24 09:26:43 +00:00
pooka 5993927201 regen 2002-09-24 09:25:47 +00:00
pooka 3cd6af88f6 Fix Asus ISDN card ID to be the actual device ID instead of the vendor ID 2002-09-24 09:24:40 +00:00
junyoung 93f2d9023a Don't need to use union any longer. 2002-09-24 09:22:51 +00:00
junyoung 272e959468 Remove '\n' at the end of dbg strings. 2002-09-24 08:56:30 +00:00
ad 5baa2bf49a Zero fill the newly allocated zs_chanstate. 2002-09-24 07:06:08 +00:00
junyoung 61e1361da6 END_SYM is no longer used. 2002-09-24 06:43:14 +00:00
lukem 2edd859626 Add chown and chgrp. Suggested by Geoff Wing in [bin/18393] 2002-09-24 06:37:55 +00:00
ad 176dcfaf3d On pmax, drop into DDB on break. 2002-09-24 06:19:09 +00:00
grant 7dd9244284 crank imagesize to 1440k (same as ramdisk-rescuetiny). 2002-09-24 06:04:24 +00:00
uebayasi 6a49247a32 Sprinkle .Xrs to packages(7). 2002-09-24 03:18:00 +00:00
itojun 6a3e3549fe backout recent changes, for PR 18392.
bpf_mtap() gets called with not-well-initialized mbuf, so we need to go through
it without touching m->m_pkthdr.len and such.  it's part of our bpf_mtap() API
(at least today).
2002-09-24 03:14:43 +00:00
bsh 63422177a6 make this compile again on ports that don't have bus space stream methods. 2002-09-24 02:30:15 +00:00
mycroft 97aed9957d -I${.CURDIR} is done at the top-level, so there's no need to do it here. 2002-09-24 01:59:44 +00:00
mycroft b59c269424 Nuke reference to RTLD_RELOCATE_SELF. 2002-09-24 01:58:44 +00:00
mycroft c3ece2a45f Use/require AT_PAGESZ on all platforms. (The kernel has exported it for ~3
years now.)  Use _rtld_pagesz instead of getpagesize() to determine the page
size in our local malloc().  Saves a system call.

Also, since we're now relocated early, we don't need to be careful to avoid
globals, so most of the VARPSZ hacks are eliminated.
2002-09-24 01:24:44 +00:00
oster 6d1870476a Nuke some ancient debugging code. 2002-09-24 00:53:58 +00:00
mycroft d1351c627c Um, a little bit of sanity here:
l_addr is always supposed to be obj->relocbase -- or so says the GDB code that
uses it.  So, set it to this on all platforms.  It already was on VAX
explicitly, and on everything else except MIPS implicitly (because
mapbase==relocbase for all existing shlibs).  For some silly/stupid reason, a
new field was created that the MIPS GDB currently uses.
Another MD #ifdef bites it.
2002-09-24 00:33:39 +00:00
oster 8a5a36de43 Cleanup the comment formatting a bit. 2002-09-24 00:12:55 +00:00
mycroft f1184d192e Very minor cleanup of the previous. 2002-09-24 00:02:46 +00:00
mycroft 86103e2f0e Several small changes that shave 7-8% off the simple-exec-loop test:
* Rename _rtld_find_library() to _rtld_load_library().  It now calls
  _rtld_load_object() if necessary to actually load the object, rather
  than having the caller do it.  To do this, it also takes the `mode'
  argument that gets passed to _rtld_load_object().

* On a related note, remove _rtld_check_library(), and instead call
  _rtld_load_object() to instead try actually loading the object.  We
  save two extra namei's and a bunch of redundant work (almost
  literally the same code) this way.

* In _rtld_map_object(), mmap(2) the first page read-only, rather than
  read(2)ing it.

* In _rtld_symlook_obj(), compare the *second* character of the symbol
  name before calling strcmp().  (This first character is too
  frequently `_', and turns out to not be helpful, in libc.)

* Also in _rtld_symlook_obj(), remove the bogus STT_FUNC special case
  -- this also allows removing the `in_plt' argument to
  _rtld_symlook_list() and _rtld_symlook_obj().

Also:

* In _rtld_obj_from_addr(), rather than trying to look up `_end' in
  the each object, instead use obj->mapsize as the upper bound.
2002-09-23 23:56:46 +00:00
oster f0efca630a Nuke a couple of unneeded #defines. 2002-09-23 23:53:54 +00:00
thorpej ac1b37ae05 Add support for multiple cfdata tables to the internals of the
autoconfiguration machinery, derived from PR #2112.

More work is left to do, including revamping how matches against
a candidate parent are done.
2002-09-23 23:16:06 +00:00
gmcgarry 627c1b14f8 Back-out previous. 2002-09-23 21:35:42 +00:00
thorpej 4f4dc45bbb Jumbo patch, from David Young <dyoung@ojctech.com>, with small tweaks
by me:
* Speed up reading/writing buffers from the hardware by avoiding
  slow forward seeks.  In preparation to use the optimization, do
  not read overlapping bytes.  This is currently disabled, but can
  be enabled with OPTIMIZE_RW_DATA.
* Hand 802.11 and Prism-specific frames to BPF.  User can watch these
  frames by specifying an alternate DLT to e.g. tcpdump(8).
* Add support for SIOC[SG]80211BSSID and SIOC[SG]80211CHANNEL.
* Issue join requests and track join/create state through link-status
  notifications.
* Split wi_rxeof into separate routines for receiving Ethernet II,
  802.11 data, and 802.11 management frames.
* Bug fix: Account for aligning m_data to a word boundary in the Rx
  buffer size check.
* Bug fix: Check for LLC/SNAP even if the firmware tells us the frame
  is Ethernet II, as the firmware sometimes gets this wrong.
* Process as many events as possible when we get an interrupt, using
  a simple heuristic to avoid reprocessing an event (which can have
  bad side-effects).  Clamp the time spent in the interrupt handler
  to 4ms.
* Redo the timeout loops to be consistent and less prone to error.
* Add delays to timeout loops which were missing them, so that a
  fast CPU won't win the race.
* Borrow some timeout loop values from the linux-wlan-ng driver,
  which seems to reflect a high level of clue (due to direct support
  from Intersil).
* Get rid of silly wi_read_data(..., len + 2) idiom; simply round up
  in wi_read_data() and wi_write_data().  Also, protect against a
  length of 0.
* Name some frequently-used constants.  Correct spelling.  Other style nits.
* Bug fix: On Prism, set Create IBSS register to 0 *always*.  The meaning
  of Create IBSS == 1 is join an IBSS or *ESS*, and we do not want to
  join an ESS, because that would put us in an inconsistent state.  0
  is the right value for Prism.
* Bug fix: Clean up state at the top of wi_init(), in the event that
  we don't reach the bottom.
* Simplify wi_start() by always providing an RFC1042-encoded 802.11
  frame to the firmware.
* Larval powersave support for HostAP mode, enabled by WI_HOSTAP_POWERSAVE.
* Bug fix: Call wi_stop() from wi_shutdown().
* Bug fix: sync media options with HostAP mode in wi_sync_media().
* In wi_media_status(), inquire firmware for current media state if
  media == auto.  From FreeBSD.
* Clean up the way buffer lengths are computed by using pointer
  arithmetic rather than magic constants.
* Swap the order of comparisons in addr_cmp() for speed.
* Bug fix: Send ReAssoc Response instead of Assoc Response to a
  ReAssoc Request.
* Bug fix: Copy SSID using the correct size.
* Give more meaningful names to offsets in a wi_frame.
* Bug fix: Assign the right values to the named constants for
  Rx frame encoding.
* Get rid of useless SNAP constants.
2002-09-23 14:31:27 +00:00
thorpej 8972c9d466 Make the PCI reset more robust. From David Young <dyoung@ojctech.com>. 2002-09-23 14:12:35 +00:00
mycroft 59e83d385e Make this work in the !INET6 case -- if we mismatch the AF, don't return a
bogus (uninitialized) structure.
Also, ignore v4 ifa's with no broadcast address (rather than core dumping).
2002-09-23 14:12:31 +00:00
itojun 01965cd2e0 fix signed/unsigned pointer mixup 2002-09-23 13:43:42 +00:00
itojun 38e6856368 revert mtudisc_timeout value to the old one if update falis 2002-09-23 13:43:27 +00:00
itojun ce1bd42a2c length field on PADN option, before jumbo payload option was wrong.
sync w/kame
2002-09-23 13:28:55 +00:00
itojun 0a734b348e better fix to PR 18163 ("deprecated" flag manipulation). sync w/kame 2002-09-23 13:16:52 +00:00
itojun 5d481d0136 reduce diff w/ kame 2002-09-23 12:52:30 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
lukem 703448bf87 replace references to specific release ("1.6") with "XXX.XXX" 2002-09-23 08:02:34 +00:00
lukem 19983cbfad Remove 1.6-specific issues; they're now covered by the LAST_MINUTE on
the netbsd-1-6 branch.
2002-09-23 07:52:18 +00:00
isaki 6300240677 It was a sample config file, so there is no need to maintain anymore.
Requested by minoura@netbsd.org
2002-09-23 07:09:54 +00:00
simonb 8292cf7b00 Don't return a value in a void function. 2002-09-23 05:59:01 +00:00
simonb aae67f532c Remove a meaningless type qualifier on a cast. 2002-09-23 05:57:44 +00:00