Commit Graph

136934 Commits

Author SHA1 Message Date
christos
e73f21e6cb Sprinkle const. 2005-05-29 21:37:02 +00:00
christos
2056c915d2 avoid variable shadowing. 2005-05-29 21:34:23 +00:00
christos
4aeb136dff Add a lot more const. 2005-05-29 21:34:07 +00:00
christos
6bbf0077fc Avoid shadowed variables. 2005-05-29 21:33:01 +00:00
christos
daaa1cae60 avoid shadowed variables. 2005-05-29 21:32:37 +00:00
christos
02e608f6b8 Add lots of const. 2005-05-29 21:31:05 +00:00
christos
8eaf136917 - sprinkle const
- change b*() -> mem*()
- rename shadowed variables.
2005-05-29 21:29:43 +00:00
christos
d276a994d2 - sprinkle const
- remove unnecessary casts
- change some b*() to mem*()
2005-05-29 21:27:45 +00:00
christos
c6c1539491 sprinkle const, remove casts. 2005-05-29 21:26:27 +00:00
christos
f6a2fa578d Fix reversed arguments. Found by -Wcast-qual and removing stupid casts. 2005-05-29 21:26:02 +00:00
christos
273df63602 - sprinkle const
- avoid shadow variables.
2005-05-29 21:25:24 +00:00
christos
8789058cbb Sprinkle const. 2005-05-29 21:23:17 +00:00
christos
333e176687 - sprinkle const
- remove unneeded casts
- use more mem*() instead of b*() funcs.
2005-05-29 21:22:52 +00:00
christos
96c6c0f7f6 Sprinkle const. 2005-05-29 21:19:41 +00:00
christos
b18a38d24a Another volatile wakeup. 2005-05-29 21:19:12 +00:00
christos
af7897eb00 XXX: I don't think this makes sense to be volatile... Remove it. 2005-05-29 21:18:53 +00:00
christos
c42477243e make ltsleep and wakeup* vars volatile. 2005-05-29 21:18:25 +00:00
christos
f711763983 caddr_t -> void * 2005-05-29 21:17:37 +00:00
christos
68c3df4bde rename shadowed variable. 2005-05-29 21:17:14 +00:00
christos
ba7dc4bf1f make the wait channel volatile. 2005-05-29 21:16:44 +00:00
christos
6639138da1 Now we can fix the volatile cast-aways.
Rename some shadowed variables while here.
2005-05-29 21:16:14 +00:00
christos
64f341e8e1 Add an internal _TAILQ macro that allows us to be explicit about volatile
qualifiers and use it in the lock case. This will help us clean the XXX
volatile cast-aways in kern_lock.c
2005-05-29 21:14:40 +00:00
christos
385ca9a533 Remove the bogus const. 2005-05-29 21:12:27 +00:00
christos
b636cdfe8a Regen 2005-05-29 21:11:30 +00:00
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