CVS commit: src/distrib/notes/common

2016-11-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 9 08:18:56 UTC 2016 Modified Files: src/distrib/notes/common: main Log Message: Add myself To generate a diff of this commit: cvs rdiff -u -r1.532 -r1.533 src/distrib/notes/common/main Please note that diffs are not

CVS commit: src/sys/arch/mips

2016-11-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Wed Nov 9 11:50:09 UTC 2016 Modified Files: src/sys/arch/mips/include: asm.h src/sys/arch/mips/mips: locore.S mipsX_subr.S Log Message: Move MFC0_HAZARD definition to asm.h instead of defining it twice To generate a diff

CVS commit: src/sys/arch/mips

2016-11-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Wed Nov 9 11:50:09 UTC 2016 Modified Files: src/sys/arch/mips/include: asm.h src/sys/arch/mips/mips: locore.S mipsX_subr.S Log Message: Move MFC0_HAZARD definition to asm.h instead of defining it twice To generate a diff

CVS commit: src/tests/lib/libc/sys

2016-11-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 9 12:44:29 UTC 2016 Modified Files: src/tests/lib/libc/sys: t_wait_noproc.c Log Message: PR standards/51600 These tests are no longer expected to fail when called with WNOHANG (which is actually the t_wait_noproc_wnohang

CVS commit: src/tests/lib/libc/sys

2016-11-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Nov 9 12:44:29 UTC 2016 Modified Files: src/tests/lib/libc/sys: t_wait_noproc.c Log Message: PR standards/51600 These tests are no longer expected to fail when called with WNOHANG (which is actually the t_wait_noproc_wnohang

CVS commit: src/sys/dev/sun

2016-11-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Nov 9 19:54:25 UTC 2016 Modified Files: src/sys/dev/sun: cgthree.c Log Message: - use bus_space_mmap() - pass the right colour depth in ioctl() should fix PR49639 To generate a diff of this commit: cvs rdiff -u -r1.32

CVS commit: src/sys/dev/sun

2016-11-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Nov 9 19:54:25 UTC 2016 Modified Files: src/sys/dev/sun: cgthree.c Log Message: - use bus_space_mmap() - pass the right colour depth in ioctl() should fix PR49639 To generate a diff of this commit: cvs rdiff -u -r1.32

CVS commit: src/tests/lib/libc/sys

2016-11-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 9 17:50:19 UTC 2016 Modified Files: src/tests/lib/libc/sys: t_wait_noproc.c Log Message: Add new tests in t_wait_noproc and t_wait_noproc to test more options types Add new tests: - waitpid_options - waitid_options -

CVS commit: src/tests/lib/libc/sys

2016-11-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 9 17:50:19 UTC 2016 Modified Files: src/tests/lib/libc/sys: t_wait_noproc.c Log Message: Add new tests in t_wait_noproc and t_wait_noproc to test more options types Add new tests: - waitpid_options - waitid_options -

CVS commit: src/tests/dev/cgd

2016-11-09 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Wed Nov 9 22:01:15 UTC 2016 Modified Files: src/tests/dev/cgd: t_cgd_aes.c Log Message: Add aes-cbc tests. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/dev/cgd/t_cgd_aes.c Please note that diffs are

CVS commit: src/tests/dev/cgd

2016-11-09 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Wed Nov 9 22:01:15 UTC 2016 Modified Files: src/tests/dev/cgd: t_cgd_aes.c Log Message: Add aes-cbc tests. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/dev/cgd/t_cgd_aes.c Please note that diffs are

re: CVS commit: src/tests/kernel

2016-11-09 Thread matthew green
"Kamil Rytarowski" writes: > Module Name: src > Committed By: kamil > Date: Sun Nov 6 16:24:16 UTC 2016 > > Modified Files: > src/tests/kernel: t_ptrace.c > > Log Message: > Add new tests attach_pid0 and attach_pid1 to t_ptrace > > attach_pid0 asserts that it is not valid to

re: CVS commit: src/tests/kernel

2016-11-09 Thread Paul Goyette
On Thu, 10 Nov 2016, matthew green wrote: "Kamil Rytarowski" writes: Module Name:src Committed By: kamil Date: Sun Nov 6 16:24:16 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new tests attach_pid0 and attach_pid1 to t_ptrace attach_pid0

CVS commit: src/sys/arch/sparc64/dev

2016-11-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Nov 10 06:44:35 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: pyro.c sbus.c schizo.c Log Message: weed out BUS_SPACE_MAP_PREFETCHABLE in resp. _map() and _mmap() methods it works with UPA graphics cards and at least

CVS commit: src/sys/arch/sparc64/dev

2016-11-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Nov 10 06:44:35 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: pyro.c sbus.c schizo.c Log Message: weed out BUS_SPACE_MAP_PREFETCHABLE in resp. _map() and _mmap() methods it works with UPA graphics cards and at least

CVS commit: src/sys/dev/pci

2016-11-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 10 06:57:15 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Call wm_enable_phy_wakeup() on PCH2 and newer, too. Now these devices can do WOL. Tested with Thinkpad X220(PCH2). To generate a diff of this

CVS commit: src/sys/dev/pci

2016-11-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 10 06:57:15 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Call wm_enable_phy_wakeup() on PCH2 and newer, too. Now these devices can do WOL. Tested with Thinkpad X220(PCH2). To generate a diff of this

re: CVS commit: src/tests/kernel

2016-11-09 Thread matthew green
> >> Log Message: > >> Add new tests attach_pid0 and attach_pid1 to t_ptrace > >> > >> attach_pid0 asserts that it is not valid to attach PID 0 as it is a special > >> kernel process. > >> > >> assert_pid1 asserts that non-root user cannot attach to PID 1 as it is the > >> /dev/init process. This

re: CVS commit: src/tests/kernel

2016-11-09 Thread matthew green
it would actually be useful to have a testcase that ran iff root *and* securelevel >= 0 and tests it is unable to attach to pid 1. thanks. .mrg.

re: CVS commit: src/sys

2016-11-09 Thread matthew green
is the problem fixed in -current? if not please someone commit the fix ASAP. this should have been reverted the instant it was identified as being problematic. that was days ago! .mrg.

CVS commit: src/sys/arch/x86/x86

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Nov 10 03:32:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: vmt.c Log Message: Fix a breakout of loops As the comment "find first available ipv4 address" indicates, if an IP address is found, we need to leave the two

CVS commit: src/sys/arch/x86/x86

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Nov 10 03:32:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: vmt.c Log Message: Fix a breakout of loops As the comment "find first available ipv4 address" indicates, if an IP address is found, we need to leave the two

re: CVS commit: src/tests/kernel

2016-11-09 Thread Paul Goyette
On Thu, 10 Nov 2016, matthew green wrote: also, root can't attach to pid1 if securelevel is >= 0. To adjust securelevel this test would need to be modified to run under rump ... We wouldn't want the test to manipulate securelevel of the running system. s/wouldn't want/*can't* by design

Re: CVS commit: src/tests/kernel

2016-11-09 Thread Kamil Rytarowski
On 10.11.2016 03:28, Paul Goyette wrote: > On Thu, 10 Nov 2016, matthew green wrote: > also, root can't attach to pid1 if securelevel is >= 0. >>> >>> To adjust securelevel this test would need to be modified to run under >>> rump ... We wouldn't want the test to manipulate securelevel of

Re: CVS commit: src/tests/kernel

2016-11-09 Thread Kamil Rytarowski
On 10.11.2016 03:44, matthew green wrote: > it would actually be useful to have a testcase that ran iff > root *and* securelevel >= 0 and tests it is unable to attach > to pid 1. > > thanks. > > > .mrg. > OK, I will have a look at it. signature.asc Description: OpenPGP digital signature

CVS commit: src/sys/netinet6

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Nov 10 04:13:53 UTC 2016 Modified Files: src/sys/netinet6: in6_src.c ip6_output.c ip6_var.h Log Message: Tidy up in6_select* This change tidies up in6_select* functions, especially selectroute. selectroute is annoying

CVS commit: src/sys/netinet6

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Nov 10 04:13:53 UTC 2016 Modified Files: src/sys/netinet6: in6_src.c ip6_output.c ip6_var.h Log Message: Tidy up in6_select* This change tidies up in6_select* functions, especially selectroute. selectroute is annoying

CVS commit: src/distrib/notes/common

2016-11-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 9 08:18:56 UTC 2016 Modified Files: src/distrib/notes/common: main Log Message: Add myself To generate a diff of this commit: cvs rdiff -u -r1.532 -r1.533 src/distrib/notes/common/main Please note that diffs are not

CVS commit: src/sys/kern

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Wed Nov 9 09:00:46 UTC 2016 Modified Files: src/sys/kern: subr_psref.c Log Message: Add a new sanity check to psref It checks if a target being acquired is already acquired with the same psref. It is usable but not

CVS commit: src/sys/kern

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Wed Nov 9 09:00:46 UTC 2016 Modified Files: src/sys/kern: subr_psref.c Log Message: Add a new sanity check to psref It checks if a target being acquired is already acquired with the same psref. It is usable but not