pooka
1e9fe794b0
rump_cred_destroy -> rump_cred_put
2009-05-03 17:10:20 +00:00
pooka
e3b3da7a9e
Rename rump_cred_destroy() to rump_cred_put() -- they've been
...
refcounted since forever now.
2009-05-03 17:09:49 +00:00
pooka
3b98424735
define DEBUGPRINT
2009-05-03 16:53:54 +00:00
pooka
ec3ee0abf9
Include some debug print routines if DEBUGPRINT is defined. This
...
way they can be included without having to include DDB.
(arguably all print routines should be behind #ifdef DEBUGPRINT
and options DDB should define that macro, but I'll tackle that later)
2009-05-03 16:52:54 +00:00
pooka
f24be5ee8c
Add rump_vfs_getmp(), which returns struct mount for a given path.
...
(yes, it does not take a reference to the mountpoint)
2009-05-03 16:01:44 +00:00
tsutsui
08978db2b9
Fix race on parallel build by using the same way with i386.
...
XXX: we can't use <bsd.klinks.mk> if Makefile needs own .BEGIN: target.
2009-05-03 15:12:12 +00:00
agc
3aa953b84d
Fix an openpgpsdk entry that I missed - pointed out by Kurt Schreiner and
...
Christos Zoulas.
2009-05-03 14:58:52 +00:00
tsutsui
cf78f721dd
Make COM_RING_SIZE configurable by kernel config(5).
2009-05-03 13:52:36 +00:00
tsutsui
8fa3bb31fc
Remove unused sc_rev settings (all quirks are handled by sc_quirk)
...
and merge HWREV cases which have the same quirks.
2009-05-03 13:49:07 +00:00
jdc
b3e5d04f5f
Add mlterm entry. Requested by wiz@.
2009-05-03 12:24:30 +00:00
pooka
d5ac376c40
Mount test fs onto /mp instead of /. This way it can be unmounted
...
and we can detect vnode reference leaks.
2009-05-03 12:10:00 +00:00
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