Commit Graph

135994 Commits

Author SHA1 Message Date
christos 7e7ab613b8 trying to map a 4G file does not work nicely. Limit mmap to 64M. 2005-04-22 21:01:10 +00:00
wiz 7469db09c5 OpenBSD v1.20, committed by jmc, commit message:
document bktr ioctls;

from jacob meuser (pr #4182);
checked by mickey, tweaked by me;
2005-04-22 15:45:40 +00:00
yamt 2fbfb3ac99 fix static/extern mismatch. found by gcc4. 2005-04-22 14:49:49 +00:00
yamt 1ceedf04a2 don't use block scope static function decl. found by gcc4. 2005-04-22 14:47:39 +00:00
yamt 881f664bd1 fix static/extern mismatches. found by gcc4. 2005-04-22 14:46:01 +00:00
wiz d95a3672e0 Grammar, wording, and punctuation improvements. Sort SEE ALSO. Remove some superfluous .Pp. 2005-04-22 14:44:09 +00:00
wiz 35bf4cd6e6 Add Xr to veriexec.4. 2005-04-22 14:37:10 +00:00
wiz bb1cbe5e1c Mention command names in SYNOPSIS; add gen_rmd160 to SEE ALSO;
improve formatting; bump date.
2005-04-22 14:35:13 +00:00
yamt df9d0a0359 disable loopback checksum omission for udp6.
i forgot to commit this with:
http://mail-index.NetBSD.org/source-changes/2005/04/18/0023.html
2005-04-22 11:56:33 +00:00
martin 441f539b14 Pickup bootblock.h from $DESTDIR to make this work when crosscompiling. 2005-04-22 09:49:45 +00:00
simonb 546f9b44cd Branch to a local symbol instead of a global symbol. 2005-04-22 06:59:00 +00:00
simonb 0cbe508fbc Use the same function name in the LEAF() and END() directives. 2005-04-22 06:58:01 +00:00
atatat fab1a5fa39 Fix a trivial truncation case, and eliminate a corner case that might
print a nul character.
2005-04-22 03:36:48 +00:00
itojun f1fe53f0ac AES counter mode uses 8byte IV, not 16 bytes.
msa@burp.tkv.asdf.org, Juha.Leppilahti@iki.fi
2005-04-22 02:43:39 +00:00
wiz e0b126b90b Looks like gcc-4.0.0 is out. 2005-04-22 00:37:10 +00:00
reed b8643619e6 Use ${TOOL_M4} instead of "m4". (I only tested this fix
for sparc but not sparc64 or alpha yet.)

Noticed problem when building NetBSD/sparc from a Linux/i386 host
that didn't have "m4".
2005-04-22 00:22:55 +00:00
christos cf28de227f simplify the mac address retrieval code. 2005-04-21 18:31:51 +00:00
reed 3b5d4b35bd Reworded, because it previously made it sound like it only sent a
signal if path_to_pid_file field is present.

Also mention that /var/run/syslogd.pid is used as the default
path_to_pid_file.

This was brought up on netbsd-help and Richard Braun suggested
this should be documented.

Reviewed by grant and wiz.
2005-04-21 17:33:31 +00:00
bouyer 8a73c8feef Xen runs only on i686 or newer processors, so remove useless options
MATH_EMULATE. Pointed out by Juan RP on port-xen.
2005-04-21 16:33:29 +00:00
wiz 528dade127 Fix persistent typo; slightly improve MKPAM description;
bump date for MKPAM description.
2005-04-21 14:50:16 +00:00
yamt 7301e7ab7b sprinkle __used so that variables referenced from asm code don't get
optimized out.
2005-04-21 14:03:24 +00:00
yamt 5241cb4bbc don't assign to non-lvalue. found by gcc4. 2005-04-21 14:02:02 +00:00
wiz 089c314c1c heimdal-0.6.4 out. 2005-04-21 13:59:41 +00:00
tsutsui fa657c9ce8 Cosmetic changes to reduce diffs from arc. 2005-04-21 13:59:14 +00:00
tsutsui ab74ed35be Whitespace nits. 2005-04-21 13:52:27 +00:00
blymn de3e1bac97 Fix format type error in yyerror printf. 2005-04-21 13:37:44 +00:00
tsutsui be6229fd96 Check disklabel contents only if it's read from the disk. 2005-04-21 13:34:29 +00:00
christos 7391aafa62 Minor cleanups, KNF, error handling consistency. 2005-04-21 12:45:12 +00:00
christos ff33efda18 PR/30018: Peter Eisch: Sun QFE support in non-sparc hardware 2005-04-21 11:35:01 +00:00
he 271cfff6d5 Make this compile again after the latest overhaul.
Use -I${.CURDIR} instead of -I. to support placement of objects elsewhere.
Make sure arguments to ctype functions are unsigned char by changing the
type of one function argument.
Fix "local declaration shadows global" warnings by renaming variables.
Fix printing of size_t variable to use %zu format instead of %u.
2005-04-21 11:21:58 +00:00
xtraeme d5dac37f3b Install the new gen_rmd160 file too. 2005-04-21 09:57:03 +00:00
blymn 0b0178626c Add missing header file. 2005-04-21 00:27:35 +00:00
hubertf 6e0c73492f Document MKPAM, per PR 29947 by Rui Paulo. 2005-04-20 22:10:51 +00:00
bouyer 4fe12d1c70 Add polling support to the domain controller. Use this in xencons instead
of relying on the fact that the domain controller is still getting interrupts
when xenconscn_getc()/xenconscn_putc() is called.
Now that polling is fixed, move IPL_CTRL down between IPL_SOFTSERIAL and
IPL_TTY, fixing port-xen/29999 by YAMAMOTO Takashi.
Now that IPL_CTRL is low enouth, remove the softintr stuff from the
domain controller, and call wakeup() directly.

Thanks to YAMAMOTO Takashi and Christian Limpach for feedback and suggestions.
2005-04-20 22:01:24 +00:00
bouyer af8e900914 Regen for "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". 2005-04-20 21:34:36 +00:00
bouyer 01d284925d Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.
2005-04-20 21:33:39 +00:00
reed a74aa39245 Document that ipmon reopens its log file(s) and rereads its configuration
file when it receives a SIGHUP signal.

Okayed by martti.

This was suggested by Richard Braun on netbsd-help list.
2005-04-20 19:53:04 +00:00
reed 403f0facb1 Fix grammar: s/sent the/sent to the/ 2005-04-20 19:26:50 +00:00
jmc 9de49396cd Don't use 'm4' here. Use $TOOL_M4 instead. 2005-04-20 18:26:11 +00:00
rillig 57fc49ddbc Fixed an off-by-one error with ASCII <-> EBCDIC conversion combined with
lcase/ucase. Approved by mrg.
2005-04-20 17:38:59 +00:00
manu c5a5178582 Send NAT-T ports in SAD dump so that setkey -D can display them. 2005-04-20 15:44:12 +00:00
bouyer 6970747e8e Event handling optimisations:
- sort the ih_evt_handler list by IPL, higher first. Otherwise some handlers
  would have been delayed, event if they could run at the current IPL.
- As ih_evt_handler is sorted, remove IPLs that have been processed for
  an event when calling hypervisor_set_ipending()
- In hypervisor_set_ipending(), enter the event in ipl_evt_mask only
  for the lowest IPL. As deffered IPLs are processed high to low,
  this ensure that hypervisor_enable_event() will be called only when all
  callbacks have been called for an event. We don't need the evtch_maskcount[]
  counters any more.

Thanks to YAMAMOTO Takashi for ideas and feedback.
2005-04-20 14:48:29 +00:00
simonb eddbeffa06 Use a cast to (long long) and 0x%llx to print out a paddr_t instead
of casting to (void *).  Fixes compile problems with 64-bit paddr_t
on 32-bit platforms.
2005-04-20 14:10:03 +00:00
blymn 8387760ed1 Rototill of the verified exec functionality.
* We now use hash tables instead of a list to store the in kernel
    fingerprints.
  * Fingerprint methods handling has been made more flexible, it is now
    even simpler to add new methods.
  * the loader no longer passes in magic numbers representing the
    fingerprint method so veriexecctl is not longer kernel specific.
  * fingerprint methods can be tailored out using options in the kernel
    config file.
  * more fingerprint methods added - rmd160, sha256/384/512
  * veriexecctl can now report the fingerprint methods supported by the
    running kernel.
  * regularised the naming of some portions of veriexec.
2005-04-20 13:44:45 +00:00
tron 23fda7252c Move entry for 20050417 postinstall(8) move to list of changes in
previous release after it has been pulled up into the "netbsd-3" branch.
2005-04-20 11:47:01 +00:00
xtraeme 480fde49a6 Fix typo (vitual -> virtual) 2005-04-20 07:59:21 +00:00
matt f854ad4125 For GCC3 and later, use the __builtin_va* constructs. 2005-04-20 05:15:15 +00:00
christos 3f24c44c23 mention cvs 2005-04-20 02:03:22 +00:00
christos feae6811f5 another place where 17 -> 20 needs to be changed. 2005-04-20 02:00:45 +00:00
uwe 5c1237f42d Teach db_stack_trace_print() to step through trap frames so that
backtraces on kernel exceptions are actually useful.  Stop tracing at
traps from user mode for now.
2005-04-20 01:56:17 +00:00