Commit Graph

209081 Commits

Author SHA1 Message Date
martin
f8c7c04bbe Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.
2012-02-11 23:16:15 +00:00
jruoho
61f6cea600 Fix missing case for AMD 0x15. 2012-02-11 22:09:47 +00:00
jruoho
7738a236ec Add non-XPSS support for AMD family 15h a.k.a. "Bulldozer". Ok releng@. 2012-02-11 22:07:53 +00:00
chs
8c32ac1e0a zero out the unused parts of direct-map page-table pages.
these seem to cause problems even though they aren't actually referenced,
probably due to speculative execution.
fixes PR 45892.
2012-02-11 18:59:41 +00:00
tron
e658fe9f45 Re-apply NetBSD patches. 2012-02-11 18:22:58 +00:00
tron
d50d1d7f8b Initial import of "expat" 2.0.1 into base:
This is James Clark's expat XML parser library in C. It is a stream
oriented parser that requires setting handlers to deal with the
structure that the parser discovers in the document.

This is the first part of the fix for PR lib/40346.
2012-02-11 18:18:10 +00:00
kiyohara
50b77dae72 Fix panic() on KASSERT(len >= BAT_BL_8M) in oea_iobat_add(). Thanks phx@. 2012-02-11 13:53:59 +00:00
phx
31deee1300 Add support for ATAPI CD/DVD drives as well. 2012-02-11 12:31:47 +00:00
ast
bdf0a8da40 Use "NetBSD 6.0" and not "NetBSD 6" and sound less like a broken record.
Add note where the actual example is because that's where it's expected.
Part of earlier commit ok-ed by releng@
2012-02-11 07:27:25 +00:00
plunky
95c271b17f add Roland UM-ONE (essentially, same as Roland UM-1)
from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:28:30 +00:00
plunky
a91d6dd5f6 add Telldus Tellstick and Tellstick Duo
from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:27:55 +00:00
plunky
1632d6f534 USB_VENDOR_METAGEEK changed to USB_VENDOR_MISC as the Vendor-ID
is used by more than one manufacturer

from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:27:23 +00:00
plunky
cb52bd273d regen 2012-02-11 05:27:00 +00:00
plunky
249b939e05 the ID 0x1781 is used by more than one vendor, so change it
from MetaGeek to "Misc Vendors"

add Telldus Tellstick and Tellstick Duo (under Misc Vendors)
add Roland UM-ONE MIDI interface

from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:26:31 +00:00
riz
dd7b9d2970 Make English usage consistent with other manpages. From Snader_LB. 2012-02-10 23:47:49 +00:00
riz
e663b9b5f7 - mention GNU grep-2.10 as being the current upstream version;
- clarify / correct license information of GNU grep and GNU texinfo.

From Snader_LB
2012-02-10 23:46:25 +00:00
phx
78d2a3b33a Enable support for USB CD/DVD drives. OK releng@. 2012-02-10 21:09:19 +00:00
nakayama
6d92376f3a Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.

Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.

Approved by releng.
2012-02-10 20:54:11 +00:00
para
4c23b30cff proper sizing of kmem_arena on different ports
PR port-i386/45946: Kernel locks up in VMEM system
2012-02-10 17:35:47 +00:00
njoly
ca0e389587 Fix makemandb section. 2012-02-10 16:57:44 +00:00
wiz
9328365c03 Remove trailing whitespace. Put macro arguments on same line. 2012-02-10 16:25:47 +00:00
njoly
341370651e Add missing Fa macro argument. 2012-02-10 15:21:53 +00:00
phx
b1e3c118e1 oea_batinit() demands a minimum block size of 8M now. OK by releng@. 2012-02-10 12:02:33 +00:00
tsutsui
ddafd3b8c8 More SL-C7x0/860 support for Xorg server usage:
- pull touchpanel adjustment ioctls to w100lcd.c for SL-C7x0/860
  from zlcd.c for SL-C1000/3x00
- add sample xorg.conf for C7x0/860 (which have hardware screen rotation)
- rename old xorg.conf.sample for C1000/C3x00 to xorg.conf.C3x00
- adjust md set list

Ok releng@ nonaka@
2012-02-10 11:25:42 +00:00
nisimura
1978d7a31e - use a correct bit mask to pick SRCPND register indication.
- reading timer#4 possibly returns value '0'.  Having the
  '0' and a timer reload interrupt results in a too large
  number, meaning the next get_timecounter() call will
  return a smaller one than the previous, effectively kill
  things.  Handle this case.

ping(8) now shows better precisions.  Fixes from Paul Fleischer.

Ok by releng.
2012-02-10 09:17:49 +00:00
mhitch
0ab96436f4 Sigh, it's been too long since I've done some of this. Fix the RELOC(). 2012-02-10 06:28:39 +00:00
mhitch
0fc239ba27 Oops - have to RELOC(physmem) here. 2012-02-10 06:21:15 +00:00
matt
47dd0a4489 Switch VAX to use GCC 4.5 and GDB 7.
Change VAX to use DBG=-O2 like most other ports.
2012-02-10 05:57:42 +00:00
mhitch
2c61985659 The recent kmem changes allocate a large kernel address space before
pmap_init() is called, and the initial kernel PT pages aren't enough
for the allocations pmap_init().  This fails because pmap_kenter_pa()
tries to allocate a new kernel PT page and traps because the pmap has
not been initialized.  When computing the number if initial kernel PT
pages, include enough to allow kmem to map the physical memory.  This
should fix PR/45915.  OK by releng@.  One mac68k system has been verified
to boot.  Volunteers to test the others welcome.  Amigas with at least
up to 128MB of memory were OK, but larger memory will need some adjusting.
2012-02-10 04:49:44 +00:00
christos
b1c34b0c9a add __printflike where needed 2012-02-10 02:14:23 +00:00
christos
440da768fe fix printf formats. 2012-02-10 02:14:04 +00:00
matt
3ffd030673 Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2012-02-10 01:47:37 +00:00
christos
3ea0cfb9a1 Cosmetic:
- add %s: __func__, function names change [most of them were wrong]
- add a DIAGNOSTIC printf to help debug alignment fixups
2012-02-09 23:32:55 +00:00
spz
e74a3a0936 fix typo/braino 2012-02-09 21:49:31 +00:00
matt
3bef9739b3 Bump SYMTAB_SPACE 2012-02-09 19:07:37 +00:00
matt
8129ae36b4 Change this to include GENERIC and add options MULTIPROCESSOR.
(old GENERIC.MP was woefully out-of-date)
2012-02-09 19:04:04 +00:00
matt
74266b0dd8 Enable NOFPU option for N32/N64 MALTA kernels 2012-02-09 18:58:44 +00:00
matt
236da00b9e Bump SYMTAB_SPACE
Disable NOFPU on MALTA
2012-02-09 18:58:14 +00:00
ast
7964aa2984 Update the amd64 and i386 examples to use /usr/mdec/bootxx_ffsv2,
i.e. DEFAULT_UFS2 as src/distrib/utils/sysinst/bsddisklabel.c does
since post-NetBSD5.  This avoids rendering an i386 or amd64 system
unbootable if the given example is thoughtlessly cut-and-pasted on
a NetBSD6.x system (been there, done that ;-) Qualify the descriptions
of /usr/mdec/bootxx_ffsv{1,2} along those lines.

Fixed a small typo in comment of distrib/utils/sysinst/arch/amd64/md.h.

Ok by releng@
2012-02-09 18:35:44 +00:00
njoly
c4210b25ef Add a testcase which checks that directory permissions are honored for
file creation/deletion with unprivileged credentials.

releng ok.
2012-02-09 18:31:03 +00:00
riz
af51433848 Various English usage, spelling and markup fixes for envstat(4)-related
things, from Snader_LB.
2012-02-09 18:10:26 +00:00
christos
720edde670 fix printf format. 2012-02-09 17:53:56 +00:00
christos
d456592874 Re-indent, and factor out strlen() now that we have more space.
No functional change.
2012-02-09 17:07:07 +00:00
drochner
f9e6b678d8 add patch from Redhat bug#784141 which fixes a possible
buffer overflow if used with an HTTP proxy (CVE-2012-0804)
approved by releng
2012-02-09 16:28:53 +00:00
skrll
b7196e474c Disable the sim on mips for next person running gdb7 mknative. 2012-02-09 15:15:58 +00:00
skrll
03fa5d214f Make mips gdb7 compile.
XXX not sure I got this right.
2012-02-09 15:14:19 +00:00
skrll
c49a22327e Re-re-run gdb7 mknative for mips. mips not using gdb7 yet.
OK martin@
2012-02-09 15:13:30 +00:00
skrll
6b25048fe3 Re-re-run mknative for vax on gdb7.
vax isn't currently using gdb7 so this doesn't hurt anyone and I'm going
to ride my previous OK from releng :)
2012-02-09 15:05:00 +00:00
joerg
e795c61763 Don't overwrite run_makemandb. The default is already set in daily.conf. 2012-02-09 13:38:44 +00:00
wiz
eeae6ab447 Fix a typo. 2012-02-09 11:58:35 +00:00