Commit Graph

180456 Commits

Author SHA1 Message Date
tsutsui c77a6f3174 Allow UFS2 (ffsv2) for root parition. 2009-05-03 11:33:05 +00:00
tsutsui 4e610c8a4e Enable support for UFS2 boot. Tested on 735/125. 2009-05-03 11:32:04 +00:00
kefren 975948c441 Fix formatting for printing size_t 2009-05-03 07:24:55 +00:00
roy c4c174feea Import dhcpcd-5.0.1 2009-05-03 06:52:44 +00:00
roy dd5234bb77 Don't need this file 2009-05-03 06:50:12 +00:00
roy 8804666dc4 Import dhcpcd-5.0.1
Changes from dhcpcd-5.0.0
 * Silence compile warnings on Sparc64
 * Fix existing address detection
2009-05-03 06:48:58 +00:00
dyoung 85d5fd7b83 In pccbb_pci_callback(), set CBB_SPECMAPPED in sc_flags if we've
acquired bus space from bus_space_alloc(9) or from rbus_space_alloc(),
so that we use the appropriate routine to release the bus space in
pccbbdetach().  This stops panics during cbb(4) detachment (esp. at
shutdown) on some systems.

Thanks to Kurt Schreiner for testing the fix, Kurt, Patrick Welche,
Pouya D. Tafti, and Matt Green for reporting.
2009-05-03 00:31:12 +00:00
martin 1e54487f2a Correct previous: detaching uhubN makes the bus pointer NULL 2009-05-02 22:28:41 +00:00
martin 9b2932709e If we are unlucky, during detach of child devices, after a uhub has detached,
our uhci_poll_hub callout might strike. The detaching of the uhub has left
the device member in the pipe NULL, so make sure we do not dereference it.

We could halt the callout before detaching child devices, but it this
would likely interfere with proper servicing the child devices while
they are still around.
2009-05-02 22:09:39 +00:00
elad b1bd59c577 Fix locking around mountlist usage, as pointed out by ad@ in:
http://mail-index.netbsd.org/source-changes-d/2009/04/22/msg000322.html
  http://mail-index.netbsd.org/tech-kern/2009/04/22/msg004897.html

Use vfs_busy() and vfs_unbusy(), and properly iterate the mountlist.
2009-05-02 21:47:12 +00:00
oster 62f6e89480 Fix assignment of SUsPerPU and add SUsPerRU assignment. Reported by
and fix from Anthony Mallet in PR#41328.  Thanks!
2009-05-02 21:11:26 +00:00
manu 20f56b3015 - Silence warning when running with debug enabled
- Remind the administrator about the required DHCP option when some are
  missing, instead of silently failing, you stupid computer!
2009-05-02 21:06:51 +00:00
mlelstv 0a0ecc0e52 make flushpendq drop only entries for the current thread. 2009-05-02 21:01:01 +00:00
plunky e5826973cc add a noisy debug message for overlong packets
(I do get them from my phone)
2009-05-02 20:13:44 +00:00
pooka 2ee1e68838 missed the "debug" column ... again 2009-05-02 20:08:52 +00:00
plunky 02f520acc7 use assert() instead of _DIAGASSERT()
suggested by emax@freebsd
2009-05-02 20:07:51 +00:00
pooka 3bb03fc676 add recent tests 2009-05-02 19:36:27 +00:00
elad 996746c20d Replace wrong __UNCONST() use with a local variable.
Similar to issues pointed out by bouyer@ and forgotten by me when I did
the last commit.

Should fix issues reported on current-users@ in:

    http://mail-index.netbsd.org/current-users/2009/05/02/msg009273.html
2009-05-02 18:58:03 +00:00
christos 24132af2b3 PR/41338: Michael van Elst: ktruss mixes filename arguments
Restore call to dumppendq.
2009-05-02 18:26:53 +00:00
bouyer 10a318e30f Patch from Brian Marcotte on port-xen@:
write a "feature-rx-notify" to the xenstore, which is used by recent
linux dom0 kernels. This reduce packet loss when using a NetBSD domU
on such linux dom0.
This entry is ignored by NetBSD and older linux domUs.
2009-05-02 18:18:44 +00:00
christos 11a630f123 easier done with a goto instead of closing in each error. 2009-05-02 16:19:36 +00:00
pooka 863335f97b don't hardcode /usr/lib path 2009-05-02 16:18:13 +00:00
christos 80a75df157 Add __alignof__ test 2009-05-02 16:12:12 +00:00
christos 1a90c89fed Add __alignof__. 2009-05-02 16:10:49 +00:00
pooka 80be26da9a add regression test for module init/fini in rump 2009-05-02 16:02:18 +00:00
pooka 6e63908b9f Since rump_module_load() doesn't actually load the module, change
the name to rump_module_init().  Also, adjust the signature to take
a direct pointer to modinfo and allow passing of props.  Finally,
provide rump_module_fini().
2009-05-02 15:20:08 +00:00
pooka fae90815de Do not include securelevel, it includes too many dependencies on
vfs in its current form.
2009-05-02 14:16:52 +00:00
pooka fb42667d02 Move dovfsusermount from vfs_syscalls.c to param.c: secmodel bsd44
depends on it and we can't isolate it in vfs.
(no, it doesn't really belong in param.c, but I couldn't figure out
a better place for it)
2009-05-02 14:13:28 +00:00
wiz 14a563a89f Punctuation. 2009-05-02 09:40:33 +00:00
wiz c6b94f4c8a Bump date for netpgp_sign_file signature change. 2009-05-02 09:40:01 +00:00
wiz 3ae928cec9 Improve formatting and punctuation for "NUL-terminate". 2009-05-02 09:37:32 +00:00
wiz 1de194650d Sort sections. 2009-05-02 09:31:08 +00:00
wiz f6d35c037f Remove duplicate entry. 2009-05-02 09:31:01 +00:00
reed 176583bef9 Fix typo that I saw on website. I don't know how this gets converted to HTML though. 2009-05-02 06:21:16 +00:00
elad 0b783346d2 PR/41332: Jason V. Miller: paxctl(8) leaks file descriptors
Always close(fd) before returning.

Thanks for the report!
2009-05-02 06:01:30 +00:00
agc ea53d15fcc Reorder the args to a static function to mirror some other function calls.
Attempt to use mmap(2) to read a file, and fall back to multiple read(2)
calls if that fails.
2009-05-02 04:19:43 +00:00
agc 7cf9b94e1a Document the way to get detached sig files from this library 2009-05-02 02:44:36 +00:00
agc 32262391d9 Give credit where credit is due. 2009-05-02 02:43:15 +00:00
agc de70477951 Make this code WARNS=4
Add an option to the netpgp command to produce a detached signature.
2009-05-02 02:38:54 +00:00
agc 71e559c1d8 Fix a build failure reported by Perry 2009-05-02 02:31:35 +00:00
perry 26f303d919 more libc.so.12.166->libc.so.12.167 -- hopefully the end 2009-05-02 02:20:20 +00:00
pooka 45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
agc b79fe05de0 Get rid of files which aren't used 2009-05-01 23:40:32 +00:00
agc 1991192fb5 Retire openpgpsdk - replaced by netpgp 2009-05-01 23:10:29 +00:00
perry 7663ec7383 note a new failure mode thanks to the new string functions
requested by mrg
2009-05-01 23:08:25 +00:00
agc 794ef7cba4 Don't descend into openpgpsdk directory - it's about to go away. 2009-05-01 23:00:37 +00:00
agc 2c67f700b7 Remove openpgp files from the build (replaced by netpgp) 2009-05-01 22:59:51 +00:00
christos 07ad48e732 add test for c99 for loops 2009-05-01 22:06:06 +00:00
christos 6892362adf add variable declarations in for loops for c99 2009-05-01 22:03:36 +00:00
perry 5658834bef fix a tyop 2009-05-01 21:49:59 +00:00