Commit Graph

185498 Commits

Author SHA1 Message Date
nakayama
cb838e534b Merge changes between revision 1.16 and 1.19 of OpenBSD with
shutdownhook_establish(9) to pmf(9) conversion:

- LOMlite seems to get wedged from time to time; add some code to unwedge it.

- Make sure we don't insert and entry into the list of pending commends twice.

- Establish a shutdown hook to disable the watchdog timer to prevent watchdog
  triggers after the kernel has been halted.

- Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the
  machine is up and running.
2009-11-16 13:11:51 +00:00
joerg
cbdff4a667 Add SYSVMSG support for linux32. 2009-11-16 08:49:32 +00:00
joerg
bf54b26c0c Make sure to never leak padding space before copyout or copyin
uninitialized fields by explicitly using memset in the conversion
routines.
2009-11-16 08:44:19 +00:00
dholland
b8da7e87e0 Note briefly that new amd64 kernels don't build with old binutils. 2009-11-16 07:45:50 +00:00
dholland
03f8ca1cdf fix typo in previous 2009-11-16 07:39:54 +00:00
christos
db576bf322 Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov
2009-11-15 22:21:03 +00:00
snj
643cb11825 Pull in fixes from upstream revision 1.146 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 22:17:03 +00:00
snj
85be2afacd Pull in fixes from upstream revision 1.406 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 21:57:49 +00:00
christos
0e17d27172 PR/42320: Alexander Nasonov: According to:
http://www.opengroup.org/onlinepubs/7990989775/xcu/awk.html
the LC_NUMERIC decimal point recognized is always period. Make it so.
2009-11-15 21:56:06 +00:00
snj
f30f819e9c Fix unbalanced parentheses to make this build again. 2009-11-15 21:19:35 +00:00
snj
59c2b39361 Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:56:40 +00:00
snj
a88bca7cce Argh. Missed another now-unnecessary mhitch@ acknowledgement. 2009-11-15 20:48:34 +00:00
snj
f31c85e46c Three ad clauses down: one for mhitch@ && is@, and two for mhitch@. 2009-11-15 20:45:36 +00:00
snj
ac9f09c8c7 Drop 3rd and 4th clauses (except in one case, where copyright is shared
with UCB and only the 3rd clause is dropped).  Approved by mhitch@ and is@
(copyright holders).
2009-11-15 20:38:35 +00:00
wiz
6278314a09 mDNSResponder-214 out. 2009-11-15 20:16:41 +00:00
snj
811af9adc7 Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:10:11 +00:00
snj
7eeffe7acc Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 19:51:49 +00:00
dsl
b87a655a0d Fix all formats for 64bit builds 2009-11-15 18:43:28 +00:00
dholland
470c8bf181 Declare trap name array as extern const char *const [] to match how
it's defined in trap.c. (Should really be in a header, of course.)
Compile-tested.
2009-11-15 18:41:31 +00:00
dsl
c0ed6b9587 Fix borkeage 2009-11-15 18:41:08 +00:00
dholland
e460740976 Remove PROTO(), which is like _P() only spelled differently.
The change causes gcc to harmlessly permute two instructions in the output
for some reason, but otherwise has no effect on the generated code.
2009-11-15 18:27:40 +00:00
dholland
268f060954 Since this is a host program, fix some 64-bit cleanliness issues. 2009-11-15 18:24:23 +00:00
dsl
08ad4f398f Need %zu for size_t 2009-11-15 18:23:08 +00:00
dholland
3b3360c119 Declare trap name array as extern const char *[] to match how it's defined
in trap.c. (Should really be in a header, of course.) Compile-tested.
2009-11-15 18:17:18 +00:00
tsutsui
9dc186d614 Reserve WSDISPLAY_TYPE for DisplayLink DL-1x0/DL-1x5 USB LCDs and
USB-VGA adaptors (which may require a new ioctl for DUMBFB ops). From
FUKAUMI Naoki.
2009-11-15 17:42:24 +00:00
tsutsui
6bccdb1af3 Regen from usbdevs rev 1.537:
> Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
> Info from FUKAUMI Naoki's udl(4) driver patch.
2009-11-15 17:34:32 +00:00
tsutsui
dd10c2525c Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Info from FUKAUMI Naoki's udl(4) driver patch.
2009-11-15 17:33:28 +00:00
skrll
9e705b0d3a Reformat comment. 2009-11-15 15:53:05 +00:00
pgoyette
135ea6d8da Add a period at the end of a sentence. 2009-11-15 14:59:47 +00:00
dsl
b6abfac44f Get patch part of version from comment. 2009-11-15 14:40:18 +00:00
dsl
3f7c0ec34d Use shell builtins instead of awk and sed.
Avoids problems with awk processing floating point numbers when LC_NUMERIC
give a decimal point of ','.
Fixes PR/42321
2009-11-15 13:39:00 +00:00
skrll
dcfde2a0ef Put PMAP_NOCACHE in the MD space. 2009-11-15 12:26:02 +00:00
skrll
0745739155 Pull across most of the changes from matt-nb5-mips64.
Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which
should probably be done via mips_elf_is_local_label_name.
2009-11-15 10:25:16 +00:00
lukem
7f19467717 Crank version to 20090915:
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup
2009-11-15 10:03:16 +00:00
tsutsui
468a515b3b Add a commented out "encoding us.swapctrlcaps" line as a popular example. 2009-11-15 07:43:13 +00:00
elad
903af42390 Include miscfs/specfs/specdev.h for spec_init(). 2009-11-15 02:37:13 +00:00
christos
55e651517c one more printf like function, and fix the lossage. 2009-11-14 23:40:11 +00:00
christos
1070653ee5 Add a gcc printf attribute to the printf functions and fix the lossage caught. 2009-11-14 23:31:37 +00:00
tnozaki
6114d6b7fd fix format string bug, filename may contain % character, don't use it as format string. 2009-11-14 20:01:20 +00:00
rmind
16347a5be7 kpsignal2: do not make the signal pending twice when tracing the process,
also update a comment and add an assert.  Fixes PR/42309 by Nicolas Joly.
2009-11-14 19:06:54 +00:00
elad
1570e68c40 - Move kauth_init() a little bit higher.
- Add spec_init() to authorize special device actions (and passthru too for
  the time being). Move policy out of secmodel_suser.
2009-11-14 18:36:56 +00:00
uebayasi
3e92dd482c Sprinkle static. 2009-11-14 17:06:12 +00:00
skrll
8e8677821f Update a couple of comments. 2009-11-14 13:31:44 +00:00
dsl
e6a11930a4 Christos was worried about clrbits() being called with a length of zero.
This can't happen, but rework so it doesn't matter.
Remove 'optimisation' for length 1, that doesn't happen often enough.
2009-11-14 13:18:41 +00:00
njoly
f2999773ff Use __packed, not __attribute__((__packed__)). 2009-11-14 10:37:27 +00:00
cegger
1225bb1b7a use __arraycount 2009-11-14 09:54:10 +00:00
cegger
17429828e3 include <sys/device_if.h> for device_t. There is no use of struct device. 2009-11-14 09:42:50 +00:00
tsutsui
c03477f121 Fix a wrong index value for edid_products[] inside #ifdef EDIDVERBOSE in
edid_findproduct(). From Yasushi Oshima via FUKAUMI Naoki in udl(4) patch.
2009-11-14 09:19:41 +00:00
tsutsui
929c691c07 Preserve wscons(4) device numbers for forthcoming udl(4) USB display. 2009-11-14 09:14:22 +00:00
christos
e6f376b325 Fix pppd for ipv6 link-local addresses. Change the prefix length to 72 bits.
Thanks to Nagae Hidetake for providing patches and testing.
2009-11-14 04:47:03 +00:00