ginsbach
ced39b2b50
Mention POSIX.1-2008 (_POSIX_C_SOURCE == 200809L) and
...
XPG 7 (_XOPEN_SOURCE == 700) in comments.
2009-05-04 16:44:14 +00:00
manu
c328d568d4
TFTPROOT loads the RAMdisk through TFTP at boot time. It needs the
...
network to be functionnal, and therefore must be called after
config_finalize(). Unfortunately, config_finalize() attaches md0
through mdattach(), and when tftproot_getfile() attempts to attach it
later by calling mdattach() again, it gets a failure.
This change checks for the RAMdisk size in mdattach(). If it is zero, then
the RAMdisk has not been loaded yet, and nothing is done. It will be
attached later when tftproot_getfile() will call mdattach()
2009-05-04 16:20:41 +00:00
yamt
183ff8793d
sysctl_doeproc: fix a bug in rev.1.135.
...
don't forget to mark our marker process PK_MARKER.
this fixes crashes in sched_pstats, etc.
2009-05-04 14:52:33 +00:00
pooka
b142e2e100
Nuke RUMPCN_HASNTBUF. The inspiration behind it must've been ... deep.
2009-05-04 14:31:25 +00:00
wiz
159e5816d2
Add missing word.
2009-05-04 13:37:57 +00:00
cegger
463905bb9c
struct cfdata * -> cfdata_t
2009-05-04 12:38:51 +00:00
cegger
1a57d635a0
struct device * -> device_t
...
No functional changes intended.
2009-05-04 12:19:29 +00:00
cegger
ad6eeaade5
struct device * -> device_t, use device_private()
...
No functional changes intended.
2009-05-04 12:15:51 +00:00
cegger
a4a2ef3bd3
struct device * -> device_t
...
No functional changes intended.
2009-05-04 12:14:31 +00:00
cegger
46919b98ad
struct device * -> device_t, use device_private
2009-05-04 12:13:19 +00:00
ad
557443fab0
PR kern/41342: BSDi binaries cause panic
...
XXX Manuel, please have a look as I am not sure what to do for XEN here!
2009-05-04 11:47:29 +00:00
ad
1e51983b0a
Add a CONCURRENCY section with some food for thought.
2009-05-04 11:44:28 +00:00
yamt
f0ea152bc0
disable automatic mountd reloading for now because it makes the service
...
temporary unavailable. PR/41331 from FUKAUMI Naoki.
2009-05-04 11:41:48 +00:00
ad
c4d79b73e9
Document callout_halt.
2009-05-04 11:28:20 +00:00
markd
a44286a718
Treat G4X like I915 and G33 for MSAC. Fixes aperture setting.
...
Has been working successfully for me and snj for the last few months.
2009-05-04 11:05:45 +00:00
yamt
6f0983460b
when freeing cn_pnbuf, make it NULL if DIAGNOSTIC.
2009-05-04 06:05:19 +00:00
yamt
706e6928e0
tweak some assertions on so_head to make them more meaningful.
2009-05-04 06:02:40 +00:00
yamt
fc99505dcc
nfs_lookup: handle the case where the vnode returned cache_lookup_raw is
...
being reclaimed by another thread. after recent changes in cache_lookup_raw,
there's a race between cache_lookup_raw/vtryget and getcleanvnode/vclean.
PR/41028.
2009-05-04 05:59:35 +00:00
yamt
5f6d027dab
nfs_lookup: add an assertion.
2009-05-04 05:50:17 +00:00
yamt
ffdcb971f2
nfs_lookup: comments. no functional changes.
2009-05-04 05:49:00 +00:00
pooka
f9733ae8d4
Use make syntax where LDADD applies only to a certain target
...
(not that there currently is more than one, but ...)
2009-05-04 01:26:49 +00:00
pooka
a6059f9100
g/c unused variables
2009-05-04 00:14:59 +00:00
pooka
0a3318e028
In addition to testing the fd passing doesn't crash the kernel,
...
also check that it actually works.
2009-05-03 23:19:59 +00:00
elad
414eb0a314
Move dovfsusermount to secmodel_bsd44, where it really belongs.
...
The secmodel code now creates the same knob in two places: both under the
secmodel itself, as well as the widely known location.
Mailing list references:
http://mail-index.netbsd.org/source-changes/2009/05/02/msg220641.html
http://mail-index.netbsd.org/tech-kern/2009/05/03/msg005015.html
2009-05-03 21:25:44 +00:00
pooka
55a30cc8cc
make it possible to disable puffs caches
2009-05-03 20:26:42 +00:00
wiz
d99af0e90f
Remove Pp before Ss.
2009-05-03 19:25:39 +00:00
pooka
d98497528c
set MNT_ROOTFS for the rootfs (the kernel, a logical piece of work)
2009-05-03 19:00:18 +00:00
tsutsui
9e1aa4a731
Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks.
2009-05-03 17:33:29 +00:00
elad
fda35a52f4
Add a bluetooth action to the device scope and use it in netbt as a
...
replacement for KAUTH_GENERIC_ISSUSER.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/25/msg004905.html
Bluetooth-specific authorization wrapper might come later.
2009-05-03 17:21:12 +00:00
christos
9ee9e0d7de
bypass the .y -> .c rule for getdate.y
2009-05-03 17:13:07 +00:00
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