Commit Graph

188227 Commits

Author SHA1 Message Date
christos
229a6fd0df make the default action abort for the empty log message; it used to be
continue. requested by joerg.
2010-02-19 23:50:55 +00:00
joerg
83a16fe245 Update tool version for mdocml 1.9.15. 2010-02-19 23:03:02 +00:00
joerg
156dc8e835 Update build system for mdocml 1.9.15. 2010-02-19 23:02:41 +00:00
joerg
09c95e748e Merge 2010-02-19 23:01:28 +00:00
joerg
d5e63c8d55 Import mdocml 1.9.15 modulo a patch for .Xr handling:
- XHTML output support, more human-readable HTML output
- end-of-line white space detected in all lines
- fix subtle bug for list displays in some modes
- fix column handling
- full support for \f etc
- imporoved column handling
- various other bug fixes
- compatiblity support for strlcat/strlcpy
- groff-compatible .Xr [backed out]
2010-02-19 22:54:40 +00:00
dyoung
754590e092 Avoid a potential crash: get more struct device initialization
out of the way before trying to get a unit number.  If we cannot
get a unit number, we call config_devfree(), which expects for
fields such as dv_flags, dv_cfattach, and dv_private to be initialized.
2010-02-19 22:28:47 +00:00
drochner
f138ed81f2 explain a non-portable behavior 2010-02-19 19:09:15 +00:00
joerg
7921be2c51 Link libroken against libcrypt for crypt(3). 2010-02-19 17:57:06 +00:00
joerg
e8e2c01488 libss uses strupr from libroken, so depend on that. 2010-02-19 17:48:59 +00:00
tnn
0846a7629f Merge the following revisions from OpenBSD to let sed(1) handle
arbitrarily long lines (closes our PR bin/42261).
openbsd/usr.bin/sed/extern.h 1.5
openbsd/usr.bin/sed/main.c 1.13-1.15
openbsd/usr.bin/sed/misc.c 1.8
openbsd/usr.bin/sed/compile.c 1.25-1.28
openbsd/usr.bin/sed/defs.h 1.4
2010-02-19 16:35:27 +00:00
he
f4a50bc26a Bump SYMTAB_SPACE so that it fits again. 2010-02-19 15:25:28 +00:00
pooka
182993fbc7 Huawei K3765 requires another kind of magic to get it out of CD mode.
It also changes product id after being configured.  Without this
change the device just lingers in u3ginit forever.  With this change:

u3ginit0 at uhub0 port 1: Switching to 3G mode
u3ginit0: detached
u3ginit0: at uhub0 port 1 (addr 2) disconnected
u3g0 at uhub0 port 1 configuration 1 interface 0
ucom0 at u3g0 portno 0: 3G Modem
u3g1 at uhub0 port 1 configuration 1 interface 1
ucom1 at u3g1 portno 1: 3G Modem
u3g2 at uhub0 port 1 configuration 1 interface 2
ucom2 at u3g2 portno 2: 3G Modem
u3g3 at uhub0 port 1 configuration 1 interface 3
ucom3 at u3g3 portno 3: 3G Modem

(tested with rump)
2010-02-19 15:10:02 +00:00
njoly
347e02defd Regen initparse.c/initscan.c without #line directives, to avoid host
tool depency problems when NETBSDSRCDIR != /usr/src.
2010-02-19 14:22:43 +00:00
pooka
0c9a7e023d regen: huawei K3765 2010-02-19 13:56:39 +00:00
pooka
91e54342ca Add Huawei K3765 (two id's, it changes product id after being inited). 2010-02-19 13:55:51 +00:00
njoly
82d9c2fa0b Add nint_table.h and nint_vars.h to generated list files. 2010-02-19 13:55:46 +00:00
njoly
62fab5d4b7 Do clean generated terminfo.5 file. 2010-02-19 13:53:17 +00:00
pooka
3dbf8271ce Replace USB_GET_SC() instances with USB_GET_SC_OPEN(). The latter
is exactly like the former, except it returns with ENXIO if sc is
NULL instead of continuing on to use it.  Most of the time this is
handled by the fd layer and you get EBADF, but sometimes it's
possible to race into the device method for whatever reason and
you get a kernel panic.  I have no idea what the "whatever reason"
might be.
2010-02-19 12:40:47 +00:00
asau
bf551971e8 Don't mix BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE.
Suggested by <bouyer>, fixes PR kern/42662
2010-02-19 12:36:15 +00:00
tron
a1573270c3 Report the number of characters, not the number of bytes in the
longest line.

Problem pointed out by YAMAMOTO Takashi on "tech-userlevel" mailing list.
2010-02-19 11:15:23 +00:00
skrll
b475da34b5 Improve a comment. 2010-02-18 21:38:32 +00:00
skrll
e86ede10b6 Fix up some comments. 2010-02-18 21:30:00 +00:00
skrll
f3c7b2c4cd Fix comment(s).
OK'ed by rmind
2010-02-18 20:58:23 +00:00
pooka
0569cd0d25 Don't leak control endpoint descriptors. 2010-02-18 16:24:19 +00:00
pooka
64fbb2e2b8 In "probeonly", pause after bootstrap to make "monkey plug and
unplug device, monkey see fancy dmesg info" possible.
2010-02-18 16:14:55 +00:00
pooka
35e8f16689 Actually, detach is possible enough if the device isn't in use.
So just support it.
2010-02-18 16:13:30 +00:00
joerg
149eb58444 Only print the "Archive: xxx" header if not in extract-to-stdout mode. 2010-02-18 15:51:57 +00:00
pooka
a798dc1e14 Change match to be based on the existence of the ugen device node
and signal the root hub interrupt only once we are succesfully able
to open the device node.  This makes it possible to insert a device
after the rump kernel was booted and have it succesfully attach
(does not make detach possible yet, though, as there are some
ugen and host kernel uhci/ohci/ehci evil crashies with that).

XXX: optimally, match would fail if there is a permanent error in
opening.  However, it is difficult to figure out the difference
between the device backing ugen not being present, a transient
error in opening and a permanent error in opening.  For example,
which of the latter two would EPERM be?  And, ugen returns ENXIO
if the device is not present, but how would be know that's really
the case and not some other ENXIO from elsewhere in the stack?
2010-02-18 15:25:13 +00:00
drochner
dda500d0d8 Disable mapping of virtual address 0 by user programs per default.
This blocks an easy exploit of kernel bugs leading to dereference
of a NULL pointer on some architectures (eg i386).
The check can be disabled in various ways:
-by CPP definitions in machine/types.h (portmaster's choice)
-by a kernel config option USER_VA0_DISABLED_DEFAULT=0
-at runtime by sysctl vm.user_va0_disabled (cannot be cleared
 at securelevel>0)
2010-02-18 14:57:01 +00:00
pgoyette
fe9cd1c415 Print correct temperature value, and properly display negative temperatures.
Resolves PR kern/36615
2010-02-18 14:10:15 +00:00
wiz
8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
pgoyette
fedb8afd44 Enhance DPRINTF to use AcpiFormatException as suggested in PR kern/40130 2010-02-18 13:52:33 +00:00
wiz
40effc38c9 Pull over some of Jason McIntyre's fixes for newfs_ext2fs.
Suggested by tsutsui.
2010-02-18 13:51:45 +00:00
wiz
380455a930 Fix pasto noted by tsutsui. 2010-02-18 13:49:19 +00:00
wiz
eedc241ad5 New sentence, new line. Add EXIT STATUS section and use .Ex.
Fix macro argument abuse.
Use Aq instead of \*[Lt]\*[Gt].
2010-02-18 13:14:51 +00:00
pooka
7775600816 Also, don't try to figure out the size of devices if size matters not. 2010-02-18 12:32:30 +00:00
pgoyette
f2b6b76565 If we're going to valdate things, at least do it correctly. 2010-02-18 12:30:53 +00:00
martin
c9c80e594c Since we call /usr and /var with absolute paths, lets do that for /tmp
as well.
2010-02-18 12:21:52 +00:00
pooka
88b1bf8a5e Allow NULL as size and file type pointers. 2010-02-18 12:21:28 +00:00
tron
10109091b2 Add support for "-L" option (longest line) as present in the GNU and
FreeBSD version of "wc".

No objections on "tech-userlevel" mailing list.
2010-02-18 10:43:50 +00:00
kiyohara
23849e1fa6 Remove unnecessary line-feed. 2010-02-18 07:24:16 +00:00
wiz
e386b4ea79 Use Dq for double quotes; remove trailing whitespace. 2010-02-18 06:57:17 +00:00
macallan
490ba2f1c7 Abort setup when we find no audio codec to avoid crashing later on with
ISDN-only cards.
Should fix PR41055
2010-02-18 02:21:38 +00:00
eeh
836736c39d Fix root filesystem support. 2010-02-18 01:14:00 +00:00
christos
55499e9fb3 Exclude root, since that is done in fsck_root. 2010-02-17 23:32:07 +00:00
christos
639f597520 Add -x <mountpoint> ``exclude'' option. 2010-02-17 23:30:21 +00:00
cnst
a64a3071ec grammar in kprintf.9 (s/or/and/ and add some commas); ok wiz, pgoyette 2010-02-17 22:04:14 +00:00
wiz
841db612d9 Various fixes from Jason McIntyre <jmc@kerhand.co.uk>. 2010-02-17 21:39:14 +00:00
pooka
d97a943f37 Support SCSIVERBOSE. 2010-02-17 20:44:34 +00:00
pooka
01ce72cef8 * support cd devices (@scsibus & @atapibus, per libumass)
* support cd9660
* add "probe" keyword, which just prints the dmesg in verbose form
2010-02-17 20:43:35 +00:00