Commit Graph

184251 Commits

Author SHA1 Message Date
rmind
c3a98b4c87 semu_alloc: simplify a little. 2009-10-05 23:46:02 +00:00
rmind
43533de20b Add callback(9) man page. Reviewed and improved by <wiz>, thanks! 2009-10-05 23:44:10 +00:00
rmind
ac8f63538a Convert cpu_number(), which can be sparse, to cpu_index(), which is MI. 2009-10-05 23:39:27 +00:00
rmind
63a834705c pthread_attr(3): sync with reality i.e. uncomment descriptions about
various functions we support.  Fix license style.
2009-10-05 23:37:01 +00:00
rmind
26ce5a50b4 pthread(3): mention that we use 1:1 threading model; remove descriptions
of no longer used environment variables.
2009-10-05 23:35:42 +00:00
rmind
81bc3e51a5 Add check to avoid multiple inclusions and redefinitions.
KNF while here.
2009-10-05 23:33:48 +00:00
haad
ecabea58c7 Do not use sysent solaris framework there is no such thing in a NetBSD. 2009-10-05 23:31:16 +00:00
haad
5f7d5874f0 Add cddl directory to external build framework. build things from osnet dir
only when MKZFS variable is set.
2009-10-05 22:44:26 +00:00
haad
cc9255a89b Add support for mounting zfs filesystems to mountall script. ZFS configuration
is stored in /etc/zpool.cache and it is automatically loaded to kernel from
filesystem. Filesystems are then configured accordingly to their properties
loaded from cache file.
2009-10-05 22:39:27 +00:00
haad
fbd1c01117 Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386
need still one fix othervise it should be ready for testing.
2009-10-05 22:32:58 +00:00
dyoung
7b7a580067 Replace u_quad_t with uint64_t. u_quad_t is just a typedef for
uint64_t, so no ABI/API breakage will result from this change.
2009-10-05 21:25:05 +00:00
dyoung
0fabd75b6e It's a big job to write detachment hooks for pciide(4) and all of
its derivatives, and I haven't the time myself.  In struct
pciide_product_desc, provide a tiny bit of commented-out code to
guide an enterprising developer who takes on the immense task.
2009-10-05 20:03:47 +00:00
dyoung
e30873664a Improve readability of trap() by extracting two subroutines,
trap_print() and check_dr0().
2009-10-05 19:04:14 +00:00
christos
14c3063365 add the error from ifpromisc to the panic. 2009-10-05 17:58:15 +00:00
haad
ded7269130 Disable *at functions for now. These functions should be implemented
because they are part of POSIX standard but it seems to be a long time process.

XXX. This commit should be reverted after adding support for openat and fstatat.
2009-10-05 16:25:27 +00:00
njoly
056741ede7 Add dns-sd.debug and mdnsd.debug 2009-10-05 14:52:36 +00:00
pooka
78869832a2 Add an example program which shows how to do "ifconfig rum0 up".
What makes this special is that the USB driver stack, the rum
driver, network subroutines and net80211 are running in userspace
in a rump kernel instead of in the host kernel.
2009-10-05 13:07:28 +00:00
pooka
27fd3f6531 Add an example program which shows how to mount and read files from
an msdos file system which is located on a usb stick.  What makes
this special is that the USB driver stack (and the file system
driver, of course) is run in rump instead of in the host kernel.
2009-10-05 13:05:31 +00:00
pooka
608e3170ea * support async transfers
* make it possible to abort transfers
(these are all cheap hacks, but make things work)
2009-10-05 13:00:37 +00:00
cegger
c4c0ae224e regen. 2009-10-05 12:53:37 +00:00
cegger
7ce1696dc4 add SB900 IDE/SATA ids 2009-10-05 12:52:03 +00:00
plunky
89a4552c35 use the bt_dev(3) API for increased portability 2009-10-05 12:34:26 +00:00
wiz
3dbfcffea8 Punctuation fix (separate punctuation from marked-up work to avoid it being
marked up as well).
2009-10-05 10:47:52 +00:00
apb
7222c07e1c Typo in macro name (.Is -> .Ic), noticed by joerg@ 2009-10-05 09:57:18 +00:00
pooka
281623cb29 Call the pager with page-aligned offsets, 'cause that's what the
pager expects.  Fixes KASSERT failure if someone manages to do
otherwise.
2009-10-05 09:11:29 +00:00
pooka
cd7abaf063 set l_cpu for lwp0 2009-10-05 09:09:29 +00:00
pooka
29b5e8e633 Attach sd to devsw and create /dev/sd0[a-h]. 2009-10-05 08:34:53 +00:00
elad
4c9fcb77c3 - Add usermount_common_policy() that implements some common (everything
but access control) user mounting policies: enforced MNT_NOSUID and
  MNT_NODEV, no MNT_EXPORT, MNT_EXEC propagation. This can be useful for
  secmodels that are interested in simply adding finer grained user mount
  support.

- Add a mount subsystem listener for KAUTH_REQ_SYSTEM_MOUNT_GET.
2009-10-05 04:20:13 +00:00
tsarna
94ebcd4993 Add nss_mdns, a nsswitch plugin for host lookups vis mDNS ("Bonjour"),
eg "hostname.local".  This is a work in progress, but basically
functional. (note: this requires mdnsd to be running.)
2009-10-05 03:54:17 +00:00
elad
52bc2f0e12 Attach the listener in the correct "attach" function.
Should fix issues reported by Anon Ymous.
2009-10-05 03:44:01 +00:00
christos
1799d3c97a oops forgot to commit that one--- Add f{dim,min,max}{,l,f} 2009-10-04 22:59:25 +00:00
elad
fa3aa43ab2 Slightly restructure vfs level documentation. 2009-10-04 22:57:46 +00:00
christos
28b2719313 Don't call usl_sync_check_sig from an interrupt context. Call it only if waitok.
Stack trace:	mutex_vector_enter <- usl_sync_check_sig <- usl_detachproc <-
		wsdisplay_switch <- wskbd_translate <- wskbd_input <-
		pckbd_input <- pckbcintr <- intr_biglock_wrapper <-
		Xintr_ioapic_edge1
Reported by Anon Ymous
2009-10-04 22:24:15 +00:00
christos
2641b26df3 mention f{dim,min,max}{,f,l} 2009-10-04 22:11:39 +00:00
wiz
00f6672d21 Mention NetBSD in HISTORY as well. 2009-10-04 22:11:22 +00:00
christos
bcebfd5088 document f{dim,min,max}{,l,f} 2009-10-04 22:10:42 +00:00
christos
2c4ca624c6 bump libm. 2009-10-04 22:06:34 +00:00
christos
26573d8819 add f{min,max,dim}{,l,f} from FreeBSD 2009-10-04 22:04:30 +00:00
agc
3574ef6dec Get rid of some lint-style issues - pointed out by Poul-Henning Kamp
and FlexeLint (many thanks!)
2009-10-04 21:58:25 +00:00
agc
e8be961ca7 Get rid of multiple prototypes - pointed out by Poul-Henning Kamp and
FlexeLint (many thanks!)
2009-10-04 21:57:09 +00:00
agc
f462900c00 const poisoning - pointed out by Poul-Henning Kamp and FlexeLint (many
thanks!)
2009-10-04 21:55:55 +00:00
tnozaki
6c81c0d804 fix lib/42124: setlocale(3) never returns NULL with none existing locale.
reported by kambe-san, thanks!
2009-10-04 21:05:18 +00:00
joerg
4ab84a7335 Fix markup. Handle the DECnet documentation like a journal. 2009-10-04 20:53:23 +00:00
joerg
3c1f1e4f21 .Xr takes two arguments only. 2009-10-04 18:07:26 +00:00
pooka
bc9ecc7b8b * pass a few write requests through to the device.
* drop async transfer requests on the floor (no, this does not make
  anything work, but it's the easiest way to prevent a receive pipe
  transfer request from hanging everything.  one tiny bugstep at a time ...)
2009-10-04 17:46:58 +00:00
pooka
8e5c2019ed Fix hopefully the last deadlock in the wretched piece of code:
since ltsleep abuses "while (!mutex_tryenter()) continue;" for NOT
releasing the kernel biglock before sleeping, we cannot do a normal
mutex_enter() in the wakeup path, or otherwise we might be a
situation where the sleeper holds the kernel lock and wants the
sleepermutex (and will not back down) and the wakeupper holds the
sleepermutex and wants the kernel lock.  So introduce kernel lock
backdown to the wakeup path.
2009-10-04 17:40:34 +00:00
mhitch
7e4eb61e65 IPI interrupts occur above IPL_VM, so using IPL_VM in for the tlb shootdown
queue mutex doesn't work very well.  I get various deadlocks and corrupted
queue entries.  Change to IPL_SCHED [IPL_CLOCK] to block IPI interrupts
while the cpu is mucking with the shootdown queue.
2009-10-04 17:00:31 +00:00
pooka
9dbaa03ccb Implement RUMP_ETFS_REG. Usable e.g. by firmload(9).
(well, it should probably be RUMP_ETFS_PATH, but simple things first)
2009-10-04 16:31:08 +00:00
christos
a3e43a9010 add packed tests. 2009-10-04 15:12:41 +00:00
pooka
8ec501e110 Include firmload. Although it may be used by devices, it's pure
vfs in nature, and therefore it belongs here (can't load a firmware
from a file system without file system support, right?).  Rename
rump_cwdi to cwdi0, since firmload depends on that name (naughty
firmload).
2009-10-04 13:29:36 +00:00