svn commit: r273960 - head/sys/netgraph

2014-11-01 Thread Gleb Smirnoff
Author: glebius Date: Sun Nov 2 05:51:31 2014 New Revision: 273960 URL: https://svnweb.freebsd.org/changeset/base/273960 Log: NG_NODE_NAME(node) is always not NULL. Use correct macro. Submitted by: Dmitry Luhtionov Modified: head/sys/netgraph/ng_bridge.c Modified: head/sys/netgraph/ng

Re: svn commit: r273958 - head/sys/dev/random

2014-11-01 Thread Adrian Chadd
Woo, this fixed the embedded boot! Thanks! -adrian On 1 November 2014 19:01, Dag-Erling Smørgrav wrote: > Author: des > Date: Sun Nov 2 02:01:55 2014 > New Revision: 273958 > URL: https://svnweb.freebsd.org/changeset/base/273958 > > Log: > Restore the auto-reseed logic, but move it to a muc

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Jan Beich
Mark Murray writes: > Log: > This is the much-discussed major upgrade to the random(4) device, > known to you all as /dev/random. [...] > Modified: head/sys/dev/random/randomdev_soft.c > === > --- head/sys/dev/random/randomdev_soft

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sun, 2014-11-02 at 03:05 +0100, Dag-Erling Smørgrav wrote: > Adrian Chadd writes: > > Dag-Erling Smørgrav writes: > > > I'm working on a patch. > > Ok, thanks. I'm happy to test it out on this MIPS AP I have on my > > bench right now. > > r273957 cleans up the rc scripts, r273958 re-enables a

svn commit: r273959 - head/sys/kern

2014-11-01 Thread Mateusz Guzik
Author: mjg Date: Sun Nov 2 02:32:33 2014 New Revision: 273959 URL: https://svnweb.freebsd.org/changeset/base/273959 Log: filedesc: tidy up fdcheckstd No functional changes. Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ==

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Adrian Chadd writes: > Dag-Erling Smørgrav writes: > > I'm working on a patch. > Ok, thanks. I'm happy to test it out on this MIPS AP I have on my > bench right now. r273957 cleans up the rc scripts, r273958 re-enables auto-reseed. DES -- Dag-Erling Smørgrav - d...@des.no _

svn commit: r273958 - head/sys/dev/random

2014-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Sun Nov 2 02:01:55 2014 New Revision: 273958 URL: https://svnweb.freebsd.org/changeset/base/273958 Log: Restore the auto-reseed logic, but move it to a much later point, immediately before kick_init. Approved by: so (self) Modified: head/sys/dev/random/random_adapto

svn commit: r273957 - in head: . etc/rc.d

2014-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Sun Nov 2 01:47:27 2014 New Revision: 273957 URL: https://svnweb.freebsd.org/changeset/base/273957 Log: Get rid of the postrandom script. It was born in a time when the random script ran before filesystems were mounted, which is no longer the case. In random_start(),

svn commit: r273956 - head/sys/kern

2014-11-01 Thread Mateusz Guzik
Author: mjg Date: Sun Nov 2 01:13:11 2014 New Revision: 273956 URL: https://svnweb.freebsd.org/changeset/base/273956 Log: filedesc: lock filedesc lock in fdcloseexec only when needed Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ==

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
On 1 November 2014 17:26, Dag-Erling Smørgrav wrote: > Adrian Chadd writes: >> Ok, so i figured maybe it hadn't been seeded just yet: > > which is what I've been saying all along. > > And the reason it hasn't been reseeded is that Mark disabled the > automatic reseeding that used to happen late i

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Adrian Chadd writes: > Ok, so i figured maybe it hadn't been seeded just yet: which is what I've been saying all along. And the reason it hasn't been reseeded is that Mark disabled the automatic reseeding that used to happen late in the boot :( I'm working on a patch. DES -- Dag-Erling Smørgr

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Adrian Chadd writes: > So, is there some way to go back to whatever the previous revision > before this did? It at least comes up and doesn't hang things. svn up -r273871 DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing lis

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
Ok, so i figured maybe it hadn't been seeded just yet: # cat /boot/kernel/* | dd of=/dev/random bs=8k random: random_adaptor_write 8192 random: random_adaptor_write 8192 random: random_adaptor_write 8192 random: random_adaptor_write 8192 random: random_adaptor_write 8192 random: random_adaptor_wri

svn commit: r273955 - in head: etc/rc.d share/man/man7

2014-11-01 Thread John-Mark Gurney
Author: jmg Date: Sun Nov 2 00:11:25 2014 New Revision: 273955 URL: https://svnweb.freebsd.org/changeset/base/273955 Log: add an rc.d script to automatically grow the specified FS... It has been tested on both MBR and GPT... It won't be enabled until you add growfs_enable="YES" and will o

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Ian Lepore writes: > Yeah. I vaguely remember discussion about this something like 12-18 > months ago. As I remember it, there was a desire to avoid using the > same startup saved entropy on a rapid series of reboots and the thinking > was to combat that by generating some fresh saved entropy on

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
Hi, Right - but I'm not even getting to anywhere near this point. It's hanging in hostapd when hostapd tries reading random data. again, if i try ctrl-C'ing whilst the random device is inside random_adaptor_read(), it's just .. broken. The read doesn't finish, the process doesn't accept any new

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sun, 2014-11-02 at 00:33 +0100, Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav writes: > > From the code. This is a portion of the rc script that only runs at > > shutdown. If random_stop() runs during boot, something is seriously > > wrong *somewhere else* and you are welcome to help find

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sun, 2014-11-02 at 00:33 +0100, Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav writes: > > From the code. This is a portion of the rc script that only runs at > > shutdown. If random_stop() runs during boot, something is seriously > > wrong *somewhere else* and you are welcome to help find

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Ian Lepore writes: > and so it tries to write an entropy file at startup and hangs, > presumably because /dev/random hasn't been sufficiently fed to > generate that much random output? That's problem #2, /dev/random *should* be unblocked by then. BTW, there is no such thing as being "sufficientl

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sun, 2014-11-02 at 00:24 +0100, Dag-Erling Smrgrav wrote: > Ian Lepore writes: > > Mark R V Murray writes: > > > The writing happens at shutdown; before you do the shutdown could > > > you please do a ‘sysctl kern.random’ and post the result? > > I'm not sure where you're getting "at shutdown"

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > From the code. This is a portion of the rc script that only runs at > shutdown. If random_stop() runs during boot, something is seriously > wrong *somewhere else* and you are welcome to help find out what. I found it - postrandom triggers it. For now, just remove

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Dag-Erling Smørgrav
Ian Lepore writes: > Mark R V Murray writes: > > The writing happens at shutdown; before you do the shutdown could > > you please do a ‘sysctl kern.random’ and post the result? > I'm not sure where you're getting "at shutdown" from. From the code. This is a portion of the rc script that only ru

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sat, 2014-11-01 at 22:39 +, Mark R V Murray wrote: > Hi > > I’m not sure what you are showing me here? > > How yo you draw the “not enough entropy” conclusion? > > The writing happens at shutdown; before you do the shutdown could you please > do a ‘sysctl kern.random’ and post the result

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
Here's what I have so far: # sysctl kern.random kern.random.adaptors: yarrow(90),dummy(1) kern.random.active_adaptor: yarrow kern.random.live_entropy_sources: kern.random.yarrow.gengateinterval: 10 kern.random.yarrow.bins: 10 kern.random.yarrow.fastthresh: 96 kern.random.yarrow.slowthresh: 128 ker

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Alexander Kabaev
On Sat, 1 Nov 2014 22:39:17 + Mark R V Murray wrote: > Hi > > I'm not sure what you are showing me here? > > How yo you draw the "not enough entropy" conclusion? > > The writing happens at shutdown; before you do the shutdown could you > please do a 'sysctl kern.random' and post the result

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Ian Lepore
On Sat, 2014-11-01 at 22:39 +, Mark R V Murray wrote: > Hi > > I’m not sure what you are showing me here? > > How yo you draw the “not enough entropy” conclusion? > > The writing happens at shutdown; before you do the shutdown could you please > do a ‘sysctl kern.random’ and post the result

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
On 1 November 2014 15:39, Mark R V Murray wrote: > Hi > > I’m not sure what you are showing me here? > > How yo you draw the “not enough entropy” conclusion? This is a kernel backtrace from the hostap process. It's stuck in that particular read, waiting somewhere in random_adaptor_read(). If I h

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Mark R V Murray
Hi I’m not sure what you are showing me here? How yo you draw the “not enough entropy” conclusion? The writing happens at shutdown; before you do the shutdown could you please do a ‘sysctl kern.random’ and post the result? Do you have anything random-related in your rc.conf? Could you please

svn commit: r273953 - in head/sys: dev/hwpmc kern sys

2014-11-01 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 1 22:36:40 2014 New Revision: 273953 URL: https://svnweb.freebsd.org/changeset/base/273953 Log: Fix up module unload for syscall_module_handler consumers. After r273707 it was registering syscalls as static. This fixes hwpmc module unload. Reported by: m

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
Yeah I can't do that for a wireless AP. Oh, and if I hit Ctrl-C, the whole system hangs! :( -adrian On 1 November 2014 15:15, Alexander Kabaev wrote: > On Sat, 1 Nov 2014 14:57:02 -0700 > Adrian Chadd wrote: > >> Hi, >> >> I'm having a problem with this on MIPS router boards now: >> >> db> b

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Alexander Kabaev
On Sat, 1 Nov 2014 14:57:02 -0700 Adrian Chadd wrote: > Hi, > > I'm having a problem with this on MIPS router boards now: > > db> bt 277 > Tracing pid 277 tid 100034 td 0x80d7b9c0 > cpu_switch+90 (?,?,?,?) ra ca90db68 sp 0 sz 0 > sched_switch+224 (?,?,?,?) ra ca90db680028 sp 0 sz 0

svn commit: r273952 - head/contrib/netbsd-tests/lib/libc/hash

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 22:00:46 2014 New Revision: 273952 URL: https://svnweb.freebsd.org/changeset/base/273952 Log: Port h_hash and t_sha2 to FreeBSD t_sha2 contains dirty copy-paste hacks that need to be fixed with the openssh OpenBSD compat layer Submitted by: pho Modified

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Adrian Chadd
Hi, I'm having a problem with this on MIPS router boards now: db> bt 277 Tracing pid 277 tid 100034 td 0x80d7b9c0 cpu_switch+90 (?,?,?,?) ra ca90db68 sp 0 sz 0 sched_switch+224 (?,?,?,?) ra ca90db680028 sp 0 sz 0 mi_switch+27c (?,?,?,?) ra ca90db900020 sp 0 sz 0 80176358+1a0 (?,?,

svn commit: r273951 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:30:18 2014 New Revision: 273951 URL: https://svnweb.freebsd.org/changeset/base/273951 Log: Expect :sscanf_whitespace to fail on !NetBSD OSes Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c Modified: head/contrib/netbsd-test

svn commit: r273950 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:25:22 2014 New Revision: 273950 URL: https://svnweb.freebsd.org/changeset/base/273950 Log: Skip :fopen_regular on !NetBSD because it's a NetBSD specific test Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Modified: head/co

svn commit: r273949 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:23:27 2014 New Revision: 273949 URL: https://svnweb.freebsd.org/changeset/base/273949 Log: Add new atf_tc_expect_fail to fflush_err; this is a new (within the past couple months) bug Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fflush.c Modified: hea

svn commit: r273948 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:21:06 2014 New Revision: 273948 URL: https://svnweb.freebsd.org/changeset/base/273948 Log: Disable testcases 12 and 15-22 on FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c Modified: head/contrib/netbsd-tests/lib

svn commit: r273947 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:00:40 2014 New Revision: 273947 URL: https://svnweb.freebsd.org/changeset/base/273947 Log: Expect :snprintf_posarg_error to blow up with a SIGSEGV on !NetBSD OSes Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c Modified: head/contrib/netbsd-test

svn commit: r273946 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:50:39 2014 New Revision: 273946 URL: https://svnweb.freebsd.org/changeset/base/273946 Log: Port h_atexit to FreeBSD __cxa_atexit varies between FreeBSD and NetBSD, and thus we must use pointers instead of static fields in the BSS. More extensive discussion

svn commit: r273945 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:45:45 2014 New Revision: 273945 URL: https://svnweb.freebsd.org/changeset/base/273945 Log: Port t_mincore to FreeBSD Mark :mincore_resid as atf_tc_expect_fail on FreeBSD because of new bug discovered in running the tests (it succeeded from earlier on in th

svn commit: r273943 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:41:40 2014 New Revision: 273943 URL: https://svnweb.freebsd.org/changeset/base/273943 Log: Port t_kevent to FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c Modified: head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c

svn commit: r273942 - head/contrib/netbsd-tests/lib/libc/gen

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:33:42 2014 New Revision: 273942 URL: https://svnweb.freebsd.org/changeset/base/273942 Log: Skip :sethostname_basic because it messes up the test host's hostname Convert code from #if defined(__FreeBSD__) to #ifdef __FreeBSD__ Modified: head/contrib/netbsd

svn commit: r273941 - head/release/doc/en_US.ISO8859-1/hardware

2014-11-01 Thread Gavin Atkinson
Author: gavin Date: Sat Nov 1 20:07:32 2014 New Revision: 273941 URL: https://svnweb.freebsd.org/changeset/base/273941 Log: Updates to the list of CPUs supported by the amd64 platform MFC after:3 days Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml Modified: head/re

svn commit: r273940 - head/sys/boot/common

2014-11-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 1 18:51:48 2014 New Revision: 273940 URL: https://svnweb.freebsd.org/changeset/base/273940 Log: Change the order of the arguments to file_loadraw(). They were swapped as of r262345 when file_loadraw() was made public and this little detail got overlooked during

svn commit: r273939 - head/sys/modules

2014-11-01 Thread Mark Murray
Author: markm Date: Sat Nov 1 17:52:04 2014 New Revision: 273939 URL: https://svnweb.freebsd.org/changeset/base/273939 Log: Remove duplicate macro settings (probably due to an SVN merge /faux pas/ on my part. Spotted by: DES Approved by: DES(implicit) Modified: head/sys/modules/Make

svn commit: r273938 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:22:53 2014 New Revision: 273938 URL: https://svnweb.freebsd.org/changeset/base/273938 Log: getitimer on FreeBSD returns the last set time instead of the remaining time; test for that instead Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc

svn commit: r273937 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:19:43 2014 New Revision: 273937 URL: https://svnweb.freebsd.org/changeset/base/273937 Log: Port lib/libc/sys/t_dup to FreeBSD/Linux - The requirements differ between FreeBSD/Linux when dealing with oldd/newd being equal (both fail with EINVAL, not EBADF)

svn commit: r273936 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:14:29 2014 New Revision: 273936 URL: https://svnweb.freebsd.org/changeset/base/273936 Log: Port lib/libc/net/h_dns_server to FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/net/h_dns_server.c Modified: head/contrib/netbsd-tests/lib

svn commit: r273935 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:13:13 2014 New Revision: 273935 URL: https://svnweb.freebsd.org/changeset/base/273935 Log: Port tests to FreeBSD/Linux Some of the testcases don't work outside of NetBSD, and the behavior of ether_aton_r differs between FreeBSD, Linux, and NetBSD, and the

svn commit: r273934 - in head/sys/boot: arm/uboot fdt powerpc/uboot uboot uboot/fdt

2014-11-01 Thread Andrew Turner
Author: andrew Date: Sat Nov 1 17:12:44 2014 New Revision: 273934 URL: https://svnweb.freebsd.org/changeset/base/273934 Log: Start to allow platforms other than U-Boot to use the FDT code in loader by moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This needs to be a new

svn commit: r273933 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:09:39 2014 New Revision: 273933 URL: https://svnweb.freebsd.org/changeset/base/273933 Log: Don't prune duplicate services in the expected output from /etc/services on FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/net/t_servent.s

svn commit: r273932 - in head/sys: dev/vt kern sys

2014-11-01 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Nov 1 17:05:15 2014 New Revision: 273932 URL: https://svnweb.freebsd.org/changeset/base/273932 Log: vt(4): Adjust the cursor position after changing the window size A new terminal_set_cursor() is added: it wraps the existing teken_set_cursor() function. In

Re: svn commit: r273762 - head/sys/modules/dtrace/dtraceall

2014-11-01 Thread Jan Beich
Julian Elischer writes: > Log: > Allow loading of dtraceall without nfscl if what you really wnat is > nfsclient ... or if what you really want is neither, no NFS by default. > > Obtained from: Panzura tree > MFC after: 1 week > > Modified: > head/sys/modules/dtrace/dtraceall/

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-11-01 Thread Mark R V Murray
Hi Garrett, > On 31 Oct 2014, at 21:04, Garrett Cooper wrote: > Could you please add an UPDATING entry for this? Some users (like me) who do > make installworld from old kernels are experiencing issues (some dealing with > filesystem corruption). Please see this thread on -current@ for more det

svn commit: r273931 - in stable: 10/lib/libutil 7/lib/libutil 8/lib/libutil 9/lib/libutil

2014-11-01 Thread Dimitry Andric
Author: dim Date: Sat Nov 1 13:45:01 2014 New Revision: 273931 URL: https://svnweb.freebsd.org/changeset/base/273931 Log: MFC r273837: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority val

svn commit: r273931 - in stable: 10/lib/libutil 7/lib/libutil 8/lib/libutil 9/lib/libutil

2014-11-01 Thread Dimitry Andric
Author: dim Date: Sat Nov 1 13:45:01 2014 New Revision: 273931 URL: https://svnweb.freebsd.org/changeset/base/273931 Log: MFC r273837: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority val

svn commit: r273931 - in stable: 10/lib/libutil 7/lib/libutil 8/lib/libutil 9/lib/libutil

2014-11-01 Thread Dimitry Andric
Author: dim Date: Sat Nov 1 13:45:01 2014 New Revision: 273931 URL: https://svnweb.freebsd.org/changeset/base/273931 Log: MFC r273837: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority val

svn commit: r273931 - in stable: 10/lib/libutil 7/lib/libutil 8/lib/libutil 9/lib/libutil

2014-11-01 Thread Dimitry Andric
Author: dim Date: Sat Nov 1 13:45:01 2014 New Revision: 273931 URL: https://svnweb.freebsd.org/changeset/base/273931 Log: MFC r273837: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority val

svn commit: r273930 - in vendor/atf: atf-0.20/atf-config atf-0.20/atf-report atf-0.20/atf-run atf-0.20/atf-version atf-0.20/tools atf-0.21/atf-config atf-0.21/atf-report atf-0.21/atf-run atf-0.21/a...

2014-11-01 Thread Julio Merino
Author: jmmv Date: Sat Nov 1 11:19:50 2014 New Revision: 273930 URL: https://svnweb.freebsd.org/changeset/base/273930 Log: Remove empty directories for the deprecated (now gone) tools. The tools-related directories should have been removed with the import of atf-0.20 months ago, but I mi

svn commit: r273929 - in head: . contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-sh contrib/atf/doc contrib/atf/test-programs l...

2014-11-01 Thread Julio Merino
Author: jmmv Date: Sat Nov 1 11:17:54 2014 New Revision: 273929 URL: https://svnweb.freebsd.org/changeset/base/273929 Log: MFV: Import atf-0.21. Added: head/contrib/atf/atf-c++/atf-c++.3 - copied unchanged from r273873, vendor/atf/dist/atf-c++/atf-c++.3 head/contrib/atf/atf-c/atf-c.3

svn commit: r273928 - head/contrib/netbsd-tests/usr.sbin/mtree

2014-11-01 Thread Julio Merino
Author: jmmv Date: Sat Nov 1 11:07:59 2014 New Revision: 273928 URL: https://svnweb.freebsd.org/changeset/base/273928 Log: Put mtree test files into a subdirectory. Kyua 0.11 points TMPDIR to the test's work directory, and atf_check creates auxiliary files in TMPDIR. This confuses a cou

svn commit: r273927 - in head/sys/boot: fdt uboot/common uboot/lib

2014-11-01 Thread Andrew Turner
Author: andrew Date: Sat Nov 1 10:50:18 2014 New Revision: 273927 URL: https://svnweb.freebsd.org/changeset/base/273927 Log: Move the definitions of the fdt functions from a uboot header to a new fdt header. There is nothing in the fdt spec that ties it to U-Boot. While here sort and fix

Re: svn commit: r273917 - head/sys/dev/gpio

2014-11-01 Thread Luiz Otavio O Souza
On Sat, Nov 1, 2014 at 7:56 AM, Bjoern A. Zeeb wrote: > > On 31 Oct 2014, at 19:15 , Luiz Otavio O Souza wrote: > >> Author: loos >> Date: Fri Oct 31 19:15:14 2014 >> New Revision: 273917 >> URL: https://svnweb.freebsd.org/changeset/base/273917 >> >> Log: >> Fix the gpiobus locking by using a more

svn commit: r273926 - head/sys/dev/gpio

2014-11-01 Thread Luiz Otavio O Souza
Author: loos Date: Sat Nov 1 10:40:29 2014 New Revision: 273926 URL: https://svnweb.freebsd.org/changeset/base/273926 Log: Fix the build of non-FDT systems by moving the gpiobusvar.h header outside the FDT #ifdef. While here remove a few unused headers. Modified: head/sys/dev/gpio/gpi

svn commit: r273925 - head/sys/netinet

2014-11-01 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 1 10:35:45 2014 New Revision: 273925 URL: https://svnweb.freebsd.org/changeset/base/273925 Log: Don't zero the stats before they are read out. MFC after: 3 days Modified: head/sys/netinet/sctp_sysctl.c Modified: head/sys/netinet/sctp_sysctl.c ==

Re: svn commit: r273917 - head/sys/dev/gpio

2014-11-01 Thread Bjoern A. Zeeb
On 31 Oct 2014, at 19:15 , Luiz Otavio O Souza wrote: > Author: loos > Date: Fri Oct 31 19:15:14 2014 > New Revision: 273917 > URL: https://svnweb.freebsd.org/changeset/base/273917 > > Log: > Fix the gpiobus locking by using a more sane model where it isn't necessary > hold the gpiobus lock b

Re: svn commit: r273919 - head/etc/rc.d

2014-11-01 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > rcorder errors are indeed cryptic/confusing. I can quickly add a > testcase for this if you like (basically check for all the scenarios > that need to be covered via /etc/rc). Does that sound good? Yes, that sounds great. I'll look into adding a loop detection and report

svn commit: r273924 - head/lib/libc/sys

2014-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Sat Nov 1 09:10:21 2014 New Revision: 273924 URL: https://svnweb.freebsd.org/changeset/base/273924 Log: is a superset of and must always come first. Coincidentally, today is the 11th anniversary of this man page's (and this bug's) first appearance in FreeBSD. MFC a