Commit Graph

136760 Commits

Author SHA1 Message Date
christos 44285e060d Argument for swapctl cannot be const, since it gets loaded with swap
statistics.
2005-05-29 21:07:49 +00:00
christos e715d2ee98 avoid shadow variables.
remove unneeded casts.
2005-05-29 21:06:33 +00:00
christos 81cb2a7668 - sprinkle const
- avoid shadowed variables.
2005-05-29 21:05:25 +00:00
christos a29d4b2515 - rename variables to avoid shadowing.
- add a few const.
2005-05-29 21:00:29 +00:00
christos e7c15fae96 - sprinkle const
- avoid shadowed variables
- mark bad const use with XXXUNCONST
2005-05-29 20:58:13 +00:00
christos 85d43e7f3d Sprinkle const freely and delete unnecessary casts. 2005-05-29 20:56:02 +00:00
minskim 773938ed0f If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz".  This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.

Bump version to 20050529.
2005-05-29 19:16:18 +00:00
elad 686a5b23f6 Make veriexec_fp_cmp() a bit more useful by allowing it to compare two
fingerprints based on a common algorithm without requiring an actual
entry in the tables.
2005-05-29 16:07:10 +00:00
chs c30be7db9d remove "#if 1" around some necessary code. 2005-05-29 15:58:33 +00:00
chs cf01d82b43 in pmap_enter(), preset the ref bit for execute-only mappings too. 2005-05-29 15:57:53 +00:00
chs 94622623d8 in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.
2005-05-29 15:56:59 +00:00
bouyer 44d1677f84 Remove support for build.sh -m xen, this has been merged in the i386
build. Pointed out by Chuck Silvers.
2005-05-29 10:54:40 +00:00
lukem e2240cac60 * fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiple
ftp auto-fetches on the same command line login automatically.
* auto_fetch(): use an initialized volatile int to appease IRIX cc.
2005-05-29 05:56:56 +00:00
lukem 48753fbc85 Update for recent parse__escape() prototype change 2005-05-29 04:58:15 +00:00
christos 917b5f36b1 PR/25694: Luke Mewburn: Don't abuse unconstify'ing a string and writing to
it, because you'll core dump. Also remove extra const that gives pain to
the irix compiler.
2005-05-29 03:55:37 +00:00
elad 65b04a0bf1 Use PAGE_SIZE chunks, not VERIEXEC_BUFSIZE - it's very important that the
size is not arbitrary and is exactly the size of a page.
2005-05-28 16:37:20 +00:00
kent 189ffc4458 regen 2005-05-28 16:04:35 +00:00
kent 24cb92f3fd Add the followings:
- 6300ESB AC'97 Audio
 - 6300ESB AC'97 Modem
 - ICH6 HD-Audio
 - ICH6 AC'97 Modem
 - All of ICH7 devices
2005-05-28 16:03:49 +00:00
elad dbc8605f39 - Add VERIEXEC_OPINIT() and veriexec_add_fp_ops(), simplifying the addition
of fingerprinting algorithms to the ops vector.

- Cleanup in veriexec_add_fp_name().

- Remove veriexec_default_ops and use the above API for adding the default
  methods in veriexec_init_fp_ops().
2005-05-28 15:49:36 +00:00
blymn c1a5be3d85 Fix naming of the verified exec character device placeholder. 2005-05-28 14:54:06 +00:00
bouyer baedc189d4 Add myself for Xen, as suggested by Hubert Feyrer. 2005-05-28 14:32:41 +00:00
lukem f162f2532e convert to ANSI prototypes. some KNF 2005-05-28 13:11:14 +00:00
lukem af98cf1789 missed a free(3) in previous 2005-05-28 13:06:14 +00:00
lukem b7289610e1 Use malloc(3) instead of the non-standard alloca(3) in MAKEEXTRALIST(),
check the return value of malloc(3) and return "" (or equiv) upon failure,
and free the result of the malloc(3).
2005-05-28 12:57:48 +00:00
hubertf 13bd832fe7 I don't have time for binary pkgs and i386 ISOs any more.
Volunteers to take over very welcome!
2005-05-28 12:30:39 +00:00
lukem beb8208a11 fix for WARNS=3 2005-05-28 12:03:22 +00:00
lukem 8e4107254f clean up build of "test" 2005-05-28 12:02:53 +00:00
lukem d0117e1043 MAKEVERBOSE support 2005-05-28 11:55:30 +00:00
skrll 35de2b7d10 Fix interrupt out transfers.
Reviewed by Lennart.
2005-05-28 07:44:37 +00:00
macallan 588c5238ba fixed a bug in ffbfb_mmap to make XFree's sunffb driver work, added another
special case region for afbinit
2005-05-27 22:50:43 +00:00
seanb 7ce7d7cb4c - Discrepency between malloc / free types with init vector (see free
in netipsec/key.c).
- Reviewed by christos.
2005-05-27 22:30:03 +00:00
seanb 40b52d3132 - Arithmetic error when calculating ticks to nd6_llinfo_settimer().
- Reviewed by christos.
2005-05-27 22:26:25 +00:00
bouyer 45d876eaeb Reset the microtime state in inittodr(), so that the next clock tick will
initialise the microtime state again. it was initialised at the first
clock tick before time of day was set. Should fix port-xen/29846.
Also, try harder to call microset() once a second; the clock interrupt handler
can be called more often than HZ in some case.
2005-05-27 22:02:25 +00:00
gavan 46233ce201 Workaround for issues seen on VIA C3-based systems. PR port-i386/26007
Tested on ML5000 board. This may not fix the problem on all variations of the
hardware, but it's likely that variations on the theme will. This workaround
is non-intrusive and should not affect any other CPUs.
2005-05-27 21:40:09 +00:00
elad 0f2f650859 Don't access a NULL pointer. 2005-05-27 15:46:23 +00:00
agc b67ff462a3 Now that rl_callback_handler_install's argument has been fixed to conform
to the readline interface, no need to cast it erroneously for libedit.
2005-05-27 15:34:16 +00:00
lukem 4011dcc7ab formatbuf(): fix %m and %M to use the hostname, not the username. 2005-05-27 14:35:50 +00:00
agc 305f170238 Use the correct type for the stored callback function 2005-05-27 14:01:46 +00:00
augustss 6ec31d4922 Regen. 2005-05-27 12:48:49 +00:00
augustss 9a7173c1e1 Add the TM8000 integrated northbridge. 2005-05-27 12:48:24 +00:00
agc 26abf58dee Sync the alternative readline interface with reality:
+ the rl_callback_handler_install takes a pointer to a void function
  which has one char * argument (it's called that way in the readline
  emulation source, otherwise there's no way to pass the line buffer
  to the function which processes the line when EOL is encountered)

+ provide a prototype for that function signature and use it

Makes the callback readline interface work now.
2005-05-27 11:35:07 +00:00
wiz 4cb475ede3 Remove a tree that should not be there. 2005-05-27 08:04:58 +00:00
lukem 6886da6b04 * Add "Home Page:" line for each entry (if I could find one - a couple
are marked BROKEN).
* Update current versions of: bind bsd-family-tree cvs db dtoa.c gcc
  gettext grep ipsec-tools pf
* Update maintainers of: hunt vinum
2005-05-27 02:08:05 +00:00
he c8a976c70d Reduce optimization level for sh5 for one file which causes our gcc
3.3.3 to get an internal compiler error of type "can't split insn".
2005-05-26 18:33:36 +00:00
salo 65f16e5e95 +bzip2 2005-05-26 14:38:28 +00:00
bouyer 7a5d07454c Always call the xpq_queue*() functions at splvm(), so that it's safe to call
them from interrupt context.
xpq_flush_queue() is called from IPL_NET in if_xennet.c, and
other xpq_queue* functions may be called from interrupt context via
pmap_kenter*(). Should fix port-xen/30153.
Thanks to Jason Thorpe and YAMAMOTO Takashi for enlightments on this issue.
2005-05-26 13:54:43 +00:00
lukem bed2c16589 Improve method used in fileindir() to determine if `file' is in or under `dir':
realpath(3) on non-NetBSD systems may fail if the target filename doesn't
exist, so instead use realpath(3) on the parent directory of `file'.
Per discussion with Todd Eigenschink.
2005-05-26 02:59:34 +00:00
kleink 4a6a03b162 Include <sys/cdefs.h> for __signed; related to lib/30072. 2005-05-25 20:58:00 +00:00
kleink 926eae7f66 Include <sys/ansi.h> after <sys/cdefs.h>; from Neil Booth in PR lib/30072. 2005-05-25 20:45:38 +00:00
kleink 691c56aa2e Belatedly move snprintf() and vnsnprintf() into the XPG4.2/C99 section. 2005-05-25 19:35:07 +00:00