Commit Graph

212784 Commits

Author SHA1 Message Date
manu
244cd4a742 Fix race condition between (create|mknod|mkdir|symlino) and reclaim, just
like we did it between lookup and reclaim.
2012-08-10 08:42:10 +00:00
christos
9bfa795a77 Homogenize all strn{cpy,cat} and snprintf() to a single append function to
prevent incorrect usage and buffer overflow.
2012-08-10 08:22:49 +00:00
matt
e63fd2b971 Add a dependency on etc.${MACHINE}/MAKEDEV.conf 2012-08-10 05:22:22 +00:00
matt
4b2b1348ca Add fdisk/gpt/fsck_msdos 2012-08-10 05:21:14 +00:00
joerg
65d085af96 crypt-sha1.c flags apply to all compilers in the tree, drop conditional. 2012-08-10 04:30:47 +00:00
matt
5bfda53e09 Add .ARM.exidx as a section to be removed for a.out on ARM 2012-08-10 02:53:09 +00:00
matt
fb4cdd5c88 Allow a config file to predefine KERNEL_{PHYS,VIRT}_BASE 2012-08-10 02:46:51 +00:00
matt
8eb1fafed1 Add OpenRD JTAGKey entry 2012-08-10 02:40:17 +00:00
matt
7a3c1edce0 Regen. 2012-08-10 02:39:55 +00:00
matt
c36ea1682a Add OpenRD JTAGKey (console/jtag) 2012-08-10 02:39:32 +00:00
matt
ed55a69d33 Make mvsoc_bootstrap (so it can initial an early console). 2012-08-10 02:33:11 +00:00
matt
39d1314bef Add config file(s) for OpenRD client. 2012-08-10 02:31:52 +00:00
matt
2a16a1d4fb Add MVSOC_CONSOLE_EARLY option to get a com console as soon as initarm
is entered.
2012-08-10 02:18:20 +00:00
uwe
24e3a75ccc Reset flip/flop using dedicated vga_reset_state() macro we already have.
Explicit vga_raw_read() used here before was incorrect since it reads
from *wrong* io handle!

Fixes weird problem under VirtualBox where first switch to a different
VT caused text mode color 0 (normally black) to become something else.
2012-08-09 23:56:35 +00:00
buhrow
60b3c1baa9 Implement DIOCGSTRATEGY and DIOCSSTRATEGY to allow raidframe to use
different buffer queue strategies.
Initialize raid sets to use the default buffer queue strategy for the given
architecture, rather than forcing raidframe to use  fcfs in all cases.
This should cause raidframe to use the same buffer queue strategy as the
underlying disks.
On I386, I see performance enhancements of between 14 and 16% with raid5
sets with no other change.
See http://mail-index.NetBSD.org/tech-kern/2012/08/08/msg013758.html
for a discussion of this issue.
2012-08-09 23:53:25 +00:00
uwe
d89fdeffb4 Use vga_raw_read/vga_raw_write instead of spelling bus space ops explicitly.
Same object code is produced.
2012-08-09 20:25:05 +00:00
joerg
ab7e24ab4b Disable warning about broken strncat usage from clang for now.
The code is technically not going to overflow, but completely messed up.
2012-08-09 14:40:52 +00:00
joerg
fb765877b6 Add (optional) libclangASTMatchers. 2012-08-09 14:39:01 +00:00
joerg
851204b7c2 Update LLVM/Clang snapshot to r161532 for the usual set of improvements
and bugfixes.
2012-08-09 14:37:06 +00:00
christos
ea32aac8b3 update for tzcode2012e 2012-08-09 12:39:56 +00:00
christos
b6be6961a7 merge 2012e 2012-08-09 12:38:25 +00:00
christos
6d8547fddc add missing include files 2012-08-09 11:05:59 +00:00
drochner
b3b1c7f657 mention switch to FAST_IPSEC in January 2012-08-09 09:15:21 +00:00
christos
d653d57c19 PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio
erroneously think that negative time_t's never fit in 32 bits. Rework
conversion code to always use uintmax_t, and detect negative values.
XXX[1]: Perhaps we should do the same (use a signed conversion) for all
fields not just for time_t
XXX[2]: pullup for 6
2012-08-09 08:09:21 +00:00
msaitoh
5b6946de67 Fix the check of the device type in last commit.
Reported by Thomas Klausner.
2012-08-09 07:48:39 +00:00
manu
fe25386a9a Backout previous bugfix attempt for unmounts. That changes did not
address the real problem.
2012-08-09 07:46:18 +00:00
dholland
2a71916f89 Use "e.g.", not "i.e.", to introduce an example. 2012-08-09 07:26:28 +00:00
msaitoh
8d69488cb1 Add workaround for QEMU and the variants that fail on EEPROM access.
This problem was discovered a few years ago, but some variants and
cloud services still have the bug. This problem is not NetBSD's bug
but qemus' bug. For NetBSD users, existence of buggy virtual machines
is sad thing, so we add a workaroud.
2012-08-09 04:16:37 +00:00
macallan
54ea21395e remove some stray pixels in the R glyph 2012-08-09 01:41:47 +00:00
macallan
b1dfce1816 split ffb_putchar() into a version for mono fonts and one for anti-aliased
ones. While there use the blitter to draw the cursor and remove some waits
that are unnecessary now that characters are drawn by hardware.
2012-08-09 00:48:06 +00:00
jym
ca1f3e6ec9 Document virtio(4) addition in CHANGES. Noticed by Emmanuel Kasper on
tech-kern@.

virtio(4) is the VirtIO protocol used by KVM to drastically improve
the performance of virtualized peripherals.

virtio(4) originally written by minoura@; imported in src by hannken@
around 2011-10-30.
2012-08-08 23:24:40 +00:00
apb
48a6ca9fbc tzcode2012e and tzdata2012e have been released. We have updated
to tzdata2012e, but we still have tzcode2011i.  Also add a note
to beware of .gitignore files in future.
2012-08-08 20:26:56 +00:00
joerg
5e0b44099f SSP mostly works with Clang, even if optimisation is disabled.
Explicitly disable it for Lint though.
2012-08-08 20:23:32 +00:00
apb
b22cc7b468 Merge tzdata2012e from ftp://ftp.iana.org/tz/releases/tzdata2012e.tar.gz
Major changes from tzdata2012d to tzdata2012e:

  * australasia (Pacific/Fakaofo): Tokelau is UTC+13, not UTC+14.
    (Thanks to Steffen Thorsen.)

  * Use a single version number for both code and data.
2012-08-08 20:21:03 +00:00
apb
1e19723737 Import tzdata2012e from ftp://ftp.iana.org/tz/releases/tzdata2012e.tar.gz
Majo changes from tzdata2012d to tzdata2012e:

  * australasia (Pacific/Fakaofo): Tokelau is UTC+13, not UTC+14.
    (Thanks to Steffen Thorsen.)

  * Use a single version number for both code and data.
2012-08-08 20:19:01 +00:00
wiz
6c95282a11 Restore RCS Id lost in previous. 2012-08-08 20:16:50 +00:00
tnozaki
c264671cd8 fix PR lib/46772 wcwidth of combining characters.
patch probyted by yamt@, thanks.
2012-08-08 18:40:37 +00:00
drochner
762bde4e8a on x86, <machine/cpufunc.h> only pulls in <x86/cpufunc.h>. The latter
is not installed to userland and noone missed it, so the former ones
can not be useful either. Don't install them.
2012-08-08 18:37:51 +00:00
tnozaki
277ab1b54d fix PR lib/46781 statically compiled bash makes locale loading fail.
analyzed and  patch provided by enami@ nonaka@ obache@ soda@, thanks.
patch modified by me.
2012-08-08 18:37:26 +00:00
matt
e4c3811f58 Fix copyright. 2012-08-08 16:58:28 +00:00
matt
c79f17b998 Add a long double version of trunc. 2012-08-08 16:57:24 +00:00
matt
63aca31d6b Add sngu_* and dblu_* access macros.
XXX sng* and ext* should be renamed to flt* and ldbl*
2012-08-08 16:56:53 +00:00
drochner
991b8a1b80 build fix for gcc -fno-common, from Radoslaw Kujawa 2012-08-08 16:29:50 +00:00
christos
b0af1b5c0d fix pasto 2012-08-08 16:23:31 +00:00
skrll
b076419f5e Update comment. 2012-08-08 16:09:42 +00:00
christos
9bf244464d adjust for MKRUMP = no 2012-08-08 14:15:03 +00:00
christos
2be2cb6bfb exclude programs for MKRUMP = no 2012-08-08 14:13:46 +00:00
christos
54abeff8fd don't define RUMP_ACTION if MKRUMP = no 2012-08-08 14:10:38 +00:00
christos
aa24bb3ca4 let the standard rules deal with librumpclient 2012-08-08 14:09:14 +00:00
christos
933950e175 adjust for MKRUMP = no 2012-08-08 14:08:01 +00:00