Commit Graph

135966 Commits

Author SHA1 Message Date
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
christos 974e996222 new version 2005-04-20 01:55:47 +00:00
christos 8897ef5e14 resolve conflicts. 2005-04-20 01:52:11 +00:00
christos 7d77e6d05c Import 1.11.20 from ccvs.cvshome.org 2005-04-20 01:41:28 +00:00
uwe 5eaebcb703 Fix pasto in comment. 2005-04-19 22:26:21 +00:00
bouyer fe7cc0abe1 Avoid a race between do_hypervisor_event() and stipending() that could
cause an event to be both handled and marked as pending, or being
marked as pending twice (triggering the diagnostic check
evtch_maskcount[port] == 0 in hypervisor_set_ipending):
mask and clear event by word of 32bit in do_hypervisor_event() or stipending(),
instead of by indiviual bits in do_event() or xenevt_event().
In addition this is marginally more efficient.
2005-04-19 22:14:30 +00:00
perseant f4a7694fc9 Keep per-inode, per-fs, and subsystem-wide counts of blocks allocated through
lfs_balloc(), and use that to estimate the number of dirty pages belonging
to LFS (subsystem or filesystem).  This is almost certainly wrong for
the case of a large mmap()ed region, but the accounting is tighter than
what we had before, and performs much better in the typical case of pages
dirtied through write().
2005-04-19 20:59:05 +00:00
rillig 4f6457e756 Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
rillig 117d073a60 Fixed wrong use of datatypes. In wait_for(), a char was used together
with getchar(), in readchar(), a char was used to read input, which in
getuchar() is used as an argument to islower() and toupper(). Also removed
a condition which terminated the process if the user typed in character
255. Approved by christos.
2005-04-19 20:12:07 +00:00
manu 6845962b31 Fix simple DES support (security problems for racoon to racoon setups)
Fix broken generated policies flush
2005-04-19 19:42:08 +00:00
christos a5fb891bb9 PR/29696: Joel Carnat: NetBSD freezes when accessing smbfs mounted FS with
firefox/linux due to compat getdents() call assumption that all filesystems
support cookies.
2005-04-19 19:00:25 +00:00
nathanw 5f7a108732 Avoid passing along a timespec with a negative number of seconds if
the current time plus the caller-supplied time to sleep wraps the
time_t. Instead, sleep until INT_MAX.
2005-04-19 16:38:57 +00:00
nathanw d8ecca20ed Add sleep1 test. 2005-04-19 16:36:44 +00:00
nathanw 5f1f443991 Add a regression test for sleeping past the time when time_t wraps; the
program should start sleeping, not throw a libpthread assertion failure.
2005-04-19 16:36:34 +00:00
rillig 1990d26431 Converted all arguments for the <ctype.h> functions to (unsigned char).
Fixes PR 21165. Approved by christos.
2005-04-19 16:33:53 +00:00
blymn 77b4424bf0 Make resultant hash length a symbolic define so other code can reuse the
same define.
2005-04-19 14:05:53 +00:00
blymn caee153112 Make length of resultant hash a symbolic define instead of a magic number.
This allows other code to reuse the definition.
2005-04-19 14:04:38 +00:00
christos b4073cddaf Fix getgrnam -> getgrnam_r 2005-04-19 13:04:38 +00:00
christos e640241b82 fix getgrnam -> getgrnam_r and add a forgotten getpwnam -> gepwnam_r
From john nemeth
2005-04-19 13:04:19 +00:00
christos 97b2d3b1c8 check for pwd != NULL in getpwnam_r. From John Nemeth. 2005-04-19 12:55:31 +00:00
tron 23e128f2c7 Correct entry for "cvs":
- We only have version 1.11.17.
- Version 1.11.20 is out.
2005-04-19 12:42:35 +00:00
tsutsui 447f26406d standalone boot is done. 2005-04-19 12:12:28 +00:00
tsutsui c52eed89ec Note a new arc bootloader. 2005-04-19 12:05:58 +00:00
wiz 29d2ffbe11 Sort SEE ALSO. 2005-04-19 11:04:34 +00:00
wiz d82b36f1ee Add a comma for readability. 2005-04-19 10:00:50 +00:00
tron 92570d0dfc Remove copy of manual page created during build. 2005-04-19 08:42:54 +00:00
tron fce29e26d8 Honor contents of "CLEANFILES" in "cleandir" target. 2005-04-19 08:41:37 +00:00
hannken 07417a9241 Fix copyright date for previous. 2005-04-19 08:10:43 +00:00
hannken 1f51c28099 Snapshot support for dump(8):
- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
  The snapshot will be deleted on exit.

- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
  file system to be dumped.

Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>
2005-04-19 07:26:38 +00:00