Commit Graph

182417 Commits

Author SHA1 Message Date
skrll
eaffbb9ed5 Remove trailing whitespace 2009-07-24 06:54:10 +00:00
skrll
aa9f2831e1 Wrap some long lines.
Whitespace.
2009-07-24 06:50:40 +00:00
mrg
2f79d21a3f we have xorg 1.6.2 now. 2009-07-24 04:46:53 +00:00
christos
47736ab62e check return code from soreserve() (Sean Boudreau) 2009-07-24 01:09:49 +00:00
dyoung
60e16c204c Move the RAID shutdown to the raid(4) detachment routine, and use
config_detach(9) to shutdown a RAID.

Detach raid(4) units at shutdown.

Ok by oster@.
2009-07-23 21:58:06 +00:00
dyoung
90dc63ec14 Extract ldlastclose() and use it in ldclose(). At the top of
ldbegindetach(), call disk_begindetach(..., ldlastclose, ...).

Compiles.  Not tested.
2009-07-23 21:38:33 +00:00
dyoung
487ea78a9c Use kpause(9), cv_timedwait(9), and cv_signal(9) instead of tsleep(9)
and wakeup(9).

Use mstohz(9).

XXX Protection against spurious wakeups is still needed, but this patch
XXX makes the code no worse than before in this regard.
2009-07-23 21:22:25 +00:00
plunky
076d7e3e4e Avoid a kernel assertion failure upstream by using FSTATE_NOTFOUND
rather than FSTATE_FOUND when setting the unit number directly.

config_attach_pseudo() will convert it to FSTATE_FOUND just after the
assertion.
2009-07-23 17:53:17 +00:00
jym
3974d05df6 Fix typos in comments and __PRINTKs. 2009-07-23 15:26:20 +00:00
wiz
fa52b0ad23 Bump date for previous. 2009-07-23 13:37:34 +00:00
skrll
0c186402f2 Provide bus_space_mmap. Still needs implementing. 2009-07-23 13:34:26 +00:00
yamt
5c0d4899bb update 2009-07-23 10:53:19 +00:00
macallan
680ff5c320 quick hack to allow brightness control via PMF 2009-07-23 07:21:45 +00:00
msaitoh
256f34e7cc Reduce the difference against FreeBSD and OpenBSD
Define BGE_IS_JUMBO_CAPABLE and use it. No functional change.

  Cleanup the code for BGE_PCI_DMA_RW_CTL regster setting. No functional
  change.

  Fix a printf message.
2009-07-23 05:05:13 +00:00
agc
cb2414dfd1 Fix from Bert Kiers, also noted by jak - be consistent in naming the
key for the target hostname variable - it's "target hostname", not
"target host".
2009-07-23 04:32:13 +00:00
dholland
3cfdfcef43 Clarify the description of the errno behavior, based on the recent
thread in tech-userlevel.
2009-07-23 02:54:27 +00:00
dholland
6687b6883d Mention, along with the behavior of succeeding system calls, the
normal behavior of succeeding library functions regarding errno.
(That is, they may leave arbitrary nonzero values in errno.)

Ok kleink@; related to PR lib/41567 as well as a recent thread on
tech-userlevel.
2009-07-23 02:31:56 +00:00
pooka
7982dc729e Restore error behaviour bulldozed in rev 1.246.
might fix PR kern/41769
2009-07-23 01:10:02 +00:00
pooka
c39552c570 return proper errno from mount 2009-07-23 01:01:31 +00:00
alc
3831d4ed46 Bump date. 2009-07-22 22:54:15 +00:00
alc
2f42139c8e Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
the new value).

This change sync sysctl(3) and sysctlbtname(3) prototypes.

No objection on <tech-userlevel>
2009-07-22 22:53:41 +00:00
joerg
46d5217b8f Don't set debug for the directory. 2009-07-22 21:35:38 +00:00
pooka
35e55460ba Since rumpfs can now be used from publically exported routines,
convert unsupported checking KASSERTs to return EOPNOTSUPP.
2009-07-22 21:06:56 +00:00
pooka
77d8bc0d04 delint 2009-07-22 21:05:30 +00:00
pooka
d51d08a74d * catch up with the ukfs changes
* leave mounted fs reference counting totally up to le coq grande
  and simply force an unmount if the kernel has decided the mountpoint
  is not busy
2009-07-22 20:49:28 +00:00
pooka
ee47269736 Since rump rootfs now supports creating directories, mount ukfs
mounts at the requested mountpoint instead of as the rump kernel
rootfs.  While doing so, generally convert everything to use system
calls instead of handcrafter rump interfaces (e.g. rump_sys_mount()
instead of rump_mnt_mount()).  This avoids a lot of unnecessary
fuss.

Change UKFS_DEFAULTMP from / to /ukfs and bump ukfs version.
2009-07-22 20:46:34 +00:00
kleink
9be4603670 Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust
documentation accordingly.

Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22 19:48:27 +00:00
wiz
65db08e438 Sort supported hardware by name. 2009-07-22 19:42:15 +00:00
wiz
32550f5f41 Remove unnecessary .Pp. 2009-07-22 19:40:41 +00:00
christos
bafe66c2cc Only need path if we have issetugid... From Anon Ymous 2009-07-22 18:25:26 +00:00
alc
71b968b692 Bump date 2009-07-22 17:53:20 +00:00
alc
76d965daaa Update supported chips list. 2009-07-22 17:48:26 +00:00
alc
19be44bd80 HAL redistribution is no longer constrained by specific redistribution rules. 2009-07-22 17:45:54 +00:00
alc
2934de2045 The HAL is no longer a kernel blob, reflect this. 2009-07-22 17:34:56 +00:00
njoly
9e069687a9 Make compat netbsd32 sendmsg follow the native version by allowing
empty messages. This let unfdpass regression test work as expected.
2009-07-22 17:19:44 +00:00
roy
43d5eb454b Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.
2009-07-22 16:57:14 +00:00
christos
e304eddfd2 Don't depend on side effects inside an assert
From Michael Cook mcook at bbn dot com
2009-07-22 15:58:09 +00:00
christos
cfa16c6369 Fix memory leaks in error paths.
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:40 +00:00
christos
83965485c1 Always initialize nread since it is an out param.
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:00 +00:00
christos
17a17e3aeb Move filename to the scope it is being used.
From Michael Cook mcook at bbn dot com
2009-07-22 15:56:29 +00:00
njoly
3d5d2c8f61 Make compat linux/linux32 getdents(2) fail with ENOTDIR instead of
EINVAL when file descriptor does not refer to a directory.
2009-07-22 15:49:29 +00:00
drochner
d493d48c2e add a "public domain" note (there is nothing creative justifying a
long license)
2009-07-22 15:09:57 +00:00
njoly
b5ed1c3306 Add usr/libdata/debug/usr/tests/lib/libc/string for MKDEBUG build. 2009-07-22 14:24:01 +00:00
wiz
f21bef181d Add comma in enumeration. 2009-07-22 07:07:27 +00:00
dholland
b58d0cd33a typo in comment 2009-07-22 04:49:19 +00:00
pooka
22d6f86dee regen: fh syscalls 2009-07-21 23:59:19 +00:00
pooka
39de73aae0 +fhopen, +fhstatvfs1 RUMP 2009-07-21 23:59:00 +00:00
drochner
55f6a48c74 flag a 64-bit integer constant as "ULL" -- this is not clean but the
code around it assumes it anyway
fixes build on 32-bit
2009-07-21 21:45:33 +00:00
drochner
8e73e87c59 remove stray semicolons, makes lint happy and lets the libc build proceed 2009-07-21 19:56:55 +00:00
dyoung
5a4d67314b Extract a lot of code from dkwedge_del(), and move it to dkwedge_detach()
to create a comprehensive detachment hook.  Let that hook run at
shutdown.  Now, 'drvctl -d dk0' actually deletes a wedge if it is
not in-use (otherwise fails w/ EBUSY), and wedges are gracefully
detached from their "parent" at shutdown.
2009-07-21 19:41:00 +00:00