Commit Graph

209226 Commits

Author SHA1 Message Date
njoly
481c9a313f Do not create obsolete ./usr/include/quota directory anymore. 2012-02-16 22:22:27 +00:00
christos
b8714878d6 add cpuconf.h to the sets 2012-02-16 21:15:05 +00:00
christos
a3f0f6f361 Added cpuconf.h needed by libkvm build. 2012-02-16 21:13:50 +00:00
joerg
bdc4335e48 Add support for compressed man pages in all the usual formats. 2012-02-16 20:58:55 +00:00
joerg
1fff0d9a0c Merge mandoc.h r1.99 and read.c 1.28 from upstream:
Add mparse_readmem, which allows application to run the parser directly
from memory, e.g. after de-compressing a document.
2012-02-16 20:58:23 +00:00
macallan
e320fd11fe remove debug spam 2012-02-16 20:45:21 +00:00
christos
3ffab2efa8 use -n too, so that we don't get a dup note. 2012-02-16 20:36:13 +00:00
njoly
988d7e3a8e window.debug is now obsolete. 2012-02-16 18:40:29 +00:00
macallan
707f8c3dec cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb
2012-02-16 17:33:28 +00:00
macallan
e297db4b59 generic support for caching glyphs in video memory
for speeding up anti-aliased fonts on slow CPUs
2012-02-16 17:29:21 +00:00
christos
647ed7be84 Don't eat _BETA. I am sure dsl will come up with something more elegant. 2012-02-16 17:25:35 +00:00
skrll
d6c003a8de Correct LDOUBLE_SIZE 2012-02-16 16:27:15 +00:00
wiz
5a797cff4f Fix tags in set lists for window removal. 2012-02-16 12:29:11 +00:00
yamt
dbf67aa479 fix a description of PMAP_PREFER argument. 2012-02-16 12:10:10 +00:00
matt
abc292211d Add KASSERTs to uvm_pagealloc_pgfl to verify the page is actually free and has
the contents that it should.
Redo the KASSERTs for the pageq in uvm_pagefree.
2012-02-16 11:46:14 +00:00
matt
ac0f0548f8 If we are building an INSTALL kernel and the ramdisk.fs exists in the object
tree, insert it into the kernel.  This needs to be done before the board
frag so it written into the kernel before the uboot images are created.
2012-02-16 08:08:25 +00:00
matt
83248d4f94 Allow use of large (>256MB) bats for iobats. If XBSEN isn't present, they
will be "downsized" into multiple 256MB bats.  Tested by riz.
2012-02-16 07:59:46 +00:00
buhrow
f4468b5b33 Add the ability to autoconfigure raid components on raw disks.
This change causes components on raw disks, as opposed to components inside
partitions or wedges, to be autoconfigured if the raid set is configured
for autoconfiguration.

Approved by oster@ and mrg@ for submission after the NetBSD-6 tag.  I've
been running these changes in production at my day job for over a year
without a problem.

See http://mail-index.NetBSD.org/tech-kern/2010/11/09/msg009167.html
for the original discussion of this patch and for a version of this patch
that works with NetBSD-5.x systems.
2012-02-16 06:52:03 +00:00
jmmv
7054f14003 Remove window(1).
window(1) was replaced by tmux(1) on March 2011.  The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached.  And the branching has just happened!
2012-02-16 04:52:47 +00:00
perseant
ed08fe6512 Pass t_renamerace and t_rmdirrace tests.
Adapt dholland@'s fix to ufs_rename to fix PR kern/43582.  Address several
other MP locking issues discovered during the course of investigating the
same problem.

Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes
are controlled by the segment lock.

Fix PR kern/45982 by deemphasizing the estimate of how much metadata
will fill the empty space on disk when the disk is nearly empty
(t_renamerace crates a lot of inode blocks on a tiny empty disk).
2012-02-16 02:47:54 +00:00
christos
dd63132492 - make this work for arm32
- factor out duplicated ifdefs
2012-02-16 02:37:43 +00:00
christos
2d3665a7b6 don't need arm/cpu.h, we just need the cpureg.h... 2012-02-16 02:35:52 +00:00
christos
59478c2770 cast printf so it can be used from userland, and include the proper include
files for userland if not kernel.
2012-02-16 02:34:56 +00:00
christos
d194967f06 move stuff between the two files, so db_interface contains the functions it
needs for userland programs to link.
2012-02-16 02:33:37 +00:00
christos
622113714d Arrange so that we can be used from userland, by not accessing pointers
directly and using db_read_bytes().
XXX: arm26 not handled.
2012-02-16 02:32:40 +00:00
christos
8a79b24011 expose cpu structures to kmemuser and prevent opt_*.h from being included
if kmemuser
2012-02-16 02:30:32 +00:00
christos
529515a41f expose functions needed to compute stack traces to kmemuser 2012-02-16 02:29:25 +00:00
christos
6a44dbc57c expose stuff that crash needs to kmemuser 2012-02-16 02:27:11 +00:00
christos
d65b2bc821 include <sys/types.h>; things included from here need it. 2012-02-16 02:26:35 +00:00
joerg
56cd811802 Add support for apropos -s like in the old apropos. Fix capitalisation.
Add note about optional quotation. From Abhinav Upadhyay.
2012-02-15 23:53:13 +00:00
joerg
c701d37453 Also handle hyphen replacement if it was used as plain input and no
backslash sequence was used at all in the line.
2012-02-15 23:36:10 +00:00
joerg
79cdc1651d Be a bit more friendly to man pages using the roff .so command by
changing the current directory to the parent of the man -p entry, e.g.
/usr/share/man for /usr/share/man1.
2012-02-15 23:35:00 +00:00
joerg
a7408e7eff Extend entry to makemandb permission issue. 2012-02-15 23:32:27 +00:00
joerg
0ca3cd9bc0 Run makemandb with the normal 022 umask, not the restrictive 077. 2012-02-15 23:30:11 +00:00
riz
80d0f48794 Add NetBSD 7.0, and make the default 6.0. 2012-02-15 23:06:20 +00:00
riz
60317b1d86 Note the new netbsd-6 branch, and move CHANGES to CHANGES.prev. 2012-02-15 23:05:33 +00:00
riz
7b6d9a1e91 Welcome to 6.99.1. 2012-02-15 23:05:02 +00:00
riz
f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
tsutsui
0c43fd1866 Add VIA VX900 host bridge to a buggy PCI mode 1 quirk table. PR/46018
Ok releng@
2012-02-15 16:30:29 +00:00
tsutsui
f08dfa45a0 Regen from pcidevs rev 1.1102:
> Add VIA VX900 Host Bridge, to handle its quirk. PR/46018
> Ok releng@
2012-02-15 16:27:23 +00:00
tsutsui
532c63b4fa Add VIA VX900 Host Bridge, to handle its quirk. PR/46018
Ok releng@
2012-02-15 16:26:00 +00:00
drochner
2e20b1116a fix for IPSEC tunnel + NAT-T + esp_frag:
Output packets larger than "esp_frag" are fragmented first
and then reinjected into ip_output for encapsulation
and transfer. The problem was that each packet got a new
ip_id value assigned, so that fragments couldn't be matched
by the receiver. Offset information was overwritten too.
approved by releng
2012-02-15 16:11:23 +00:00
joerg
3358b3a30d Make sure that membar_producer gets the proper namespace mangling for libc. 2012-02-15 15:49:46 +00:00
reinoud
54e9432c0a Prevent recursive IO signals. This prevents crashes when pieces of text are
pasted in say an Xterm. Each char might create a SIGIO running out of
stackspace very quickly!
2012-02-15 15:20:53 +00:00
joerg
d99b3bd499 Clean up cat pages that are older than the corresponding man pages.
Remove cat page directories that are empty.
2012-02-15 13:01:00 +00:00
phx
c15df986d8 Port amiga calls config_console() from machdep.c now, so we have to do
the same. Otherwise no console is configured anymore.
While being at it adapt files.amigappc to the latest changes in files.amiga.
Ok by releng@.
2012-02-15 12:11:42 +00:00
martin
d178e64fee Fix fallout from the new tests exercising all error paths: do not deactivate
the pmap of a vmspace-less child of a posix spawn operation that never
made it to userland.
2012-02-15 11:59:30 +00:00
macallan
a6d582eda0 make BATs >256MB work, now macppc works again on 745x CPUs as well
ok riz
2012-02-15 04:33:19 +00:00
macallan
f3b125350f fix crash during early startup - we can't call OpenFirmware between zapping
the BATs and complete setting them up again
ok releng
2012-02-15 01:56:57 +00:00
matt
69545c610e When making BATU, use (BAT_XBL|BAT_BL) for the extended bat lengths. 2012-02-15 01:46:42 +00:00