Commit Graph

213140 Commits

Author SHA1 Message Date
dsl
e2ff5b6fd5 I'm fairly sure the libc rules require that arc4random_addrandom,
arc4random_buf, arc4random_stir and arc4random_uniform be weak.
2012-08-20 21:38:09 +00:00
wiz
0e9908f0b2 grep-2.14 out. 2012-08-20 21:20:19 +00:00
spz
f9b90c2013 add an example for a npf.conf
It probably could do with polishing of both rules and comments, but meh,
better than nothing
2012-08-20 21:09:49 +00:00
dsl
75ea4d15ba arc4 is a random number sequence, there is no point using its own
output values to determine a number of output values to skip.
Skipping values on any possibly random event might be worth while, as
  might using the keying algorithm to stir in a possibly random value.
2012-08-20 20:32:09 +00:00
dsl
62af4c5505 Since 'rs' is statically initialised (not bss) its s[] might as well be
compile-time initialised as well.
arc4_init) is the same as arc4_stir().
Initialise rs.i to 0xff (not 0) so that the first key byte is processed
  with rs.i == 0 without the splurios rs.i-- in arc4_addrandom().
Remove the assignment rs.j = rs.i at the end of arc4_addrandom(), it isn't
  necessary and I can see no justificationm for it.
Replace RSIZE with __arraycount(as->s), however it is manifestly 256 (more
  correctly the number of values in rs.i and rs.j).
2012-08-20 20:27:46 +00:00
pooka
88392d44db Add a vfstest zfs attachment. This is a compile-time option,
default off, due the large numbers of failing tests (some of them
look like quite trivial failures).
2012-08-20 16:37:35 +00:00
christos
98db046cb6 make this compile. 2012-08-20 16:01:37 +00:00
joerg
11b4a6201b Add tic dependency only for the USETOOLS case. 2012-08-20 15:44:02 +00:00
tron
387077e6e4 Build and install iso10646-1 encoded 10x20 font. This matches the behaviour
of the upstream software and modular X.org in pkgsrc.

Patch supplied by Piotr Meyer in PR xsrc/46755.
2012-08-20 15:38:58 +00:00
bouyer
53f2b26141 Support checksum offloading in carp(4) if the underlying device suports it,
as proposed on tech-net@ on 2 Aug 2012.
2012-08-20 14:14:32 +00:00
matt
73bbe6ccaa Add support for mapping SuperSection on armv6 and armv7. These always
a domain of 0 so move the kernel from domain 15 to domain 0.
2012-08-20 13:03:41 +00:00
bouyer
5a3c59bf01 Fix typo, pointed out by Markus W Kilbinger 2012-08-20 12:48:47 +00:00
matt
15229207ed Inital config file BEAGLEBONE 2012-08-20 12:45:36 +00:00
matt
b935d50fc4 Make gzip'ed uboot images. 2012-08-20 12:44:31 +00:00
matt
638497ceb6 Add initial support for BEAGLEBONE and PANDABOARD. 2012-08-20 12:40:40 +00:00
matt
df84654464 Add support for the TI AM335x (beaglebone) and the OMAP4430 (pandaboard) 2012-08-20 12:38:28 +00:00
bouyer
32adf0a379 Fix AHCI_QUIRK_BADPMPRESET: when reset fails for drive 15, stop, clear
errors and restart the channel before retrying with drive 0.
Should fix the problem of drives not detected any more reported by
Markus W Kilbinger on current-users.
2012-08-20 11:59:29 +00:00
drochner
025c63d6ef For devices which don't claim SPC-3, don't request 32 bytes of sense
data but just 18. Some devices signal an error if the transfer length
is not exactly what the device expects, and it is hard to deal with
these errors afterwards.
This makes a number of USB memory sticks and SD card readers work
which were not usable before.
2012-08-20 10:32:31 +00:00
skrll
d422abefd8 Better/different/consistent wscons colours. 2012-08-20 08:38:32 +00:00
martin
d0ba1a0677 Fix stupid thinko when checking for the availability of options MODULAR
and permission to load modules.
2012-08-20 08:07:52 +00:00
skrll
f95acf1e35 First pass at a VC mailbox driver. 2012-08-20 07:45:24 +00:00
christos
eadcae412c remove duplicated QoS definitions 2012-08-20 07:32:49 +00:00
christos
4b1f2b81a3 add more QoS bits 2012-08-20 07:30:10 +00:00
martin
f3b7cec914 Be more verbose if we get unexpected error codes from modctl. 2012-08-19 20:54:56 +00:00
wiz
33e6156258 Add more function argument names to the man page, trying to address
PR 46814 by Lloyd Parkes. Bump date.
2012-08-19 19:31:13 +00:00
mrg
f3795b4413 do not obsolete terminfo.db. that breaks binaries built for most of
the devel part of netbsd-6.

XXX: needs pullup
2012-08-19 08:22:59 +00:00
christos
e728756ae9 add missing rcsid and multiple include protection. 2012-08-19 07:55:54 +00:00
jakllsch
af6a957f5e Fix two copypasteos that resulted in interrupt strings being wrong for
(among other interrutps) the plcom(4) and the sdhc(4).
2012-08-18 22:28:23 +00:00
dsl
6f85c32318 cache rs.i and rs.j in arc4random_buf() since the compiler can't be
told that buf[] dosn't alias them.
Reduces the number of instructions inside the loop.
All the other functions are ok.
2012-08-18 15:55:07 +00:00
martin
53ae4e4337 Do not use a userland pointer, but the copied-in kernel version instead.
While there, reorder loop end condition for efficency.
Fixes net/fdpass tests on all archs with separate kernel/userland VA.
2012-08-18 15:25:15 +00:00
dsl
ad728d4784 Change the logic used for thread locking to make the code more readable.
The effect on the object code is to replace a function call with a
  branch that will predict correctly in the non-threaded case.
Minor optimise of some other paths.
2012-08-18 15:04:53 +00:00
dsl
d390b20f1e Use an inline function to check for initialisation, and an non-inlined
one to do the actual initialise.
Fixes lib/46751 by removing all the replicated tests in each function.
2012-08-18 14:42:46 +00:00
chs
215c8cfa7e avoid leaking a uvm_object reference when merging a new map entry
with the entries on both sides.  fixes PR 46807.
2012-08-18 14:28:04 +00:00
wiz
c0de8acd59 gdb-7.5 out. 2012-08-18 10:27:58 +00:00
mrg
ff92b94bd8 add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.
2012-08-18 09:33:25 +00:00
christos
8547430828 PR/46811: Tetsua Isaki: Don't handle cpu limits when runtime is negative. 2012-08-18 08:54:06 +00:00
abs
6b4ba5789b Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
2012-08-18 00:50:37 +00:00
kardel
6d4483818f re-enable broadcast client config after interface re-scanning
make broadcast transmission work again
2012-08-17 22:37:26 +00:00
abs
3267a6b9fe Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
  and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
2012-08-17 20:11:37 +00:00
riz
07035b8620 Add a description of the 'modules' set for all arches which have
MODULAR somewhere in the configs.
2012-08-17 20:10:53 +00:00
riz
412ac9c56b More MI release notes updates, particularly around installing.
This could use more love!
2012-08-17 19:55:14 +00:00
abs
715998cc28 Ensure all WSDISPLAY_COMPAT_USL entries have same comment 2012-08-17 19:43:24 +00:00
riz
ece38d66a1 Bring MI release notes somewhat more up-to-date. 2012-08-17 18:20:19 +00:00
riz
a727e4697d Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
2012-08-17 16:59:26 +00:00
riz
81f27d3683 Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
2012-08-17 16:57:59 +00:00
riz
b053ad40a5 Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
2012-08-17 16:56:34 +00:00
joerg
933525b99b Implement build_install in src/lib/Makefile, which traverses the
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.

Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00
christos
0cd88accfc Better (not racy fix) from Paul Goyette. 2012-08-17 16:21:19 +00:00
christos
33b27c368d Use the queue of the tty not garbage from the stack (Paul Goyette) 2012-08-17 16:14:31 +00:00
skrll
22e68bd7da Fix thinko in previous. 2012-08-17 09:44:30 +00:00