svn commit: r273518 - vendor/tzdata/dist

2014-10-23 Thread Edwin Groothuis
Author: edwin Date: Thu Oct 23 06:11:16 2014 New Revision: 273518 URL: https://svnweb.freebsd.org/changeset/base/273518 Log: Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11.

svn commit: r273519 - vendor/tzdata/tzdata2014i

2014-10-23 Thread Edwin Groothuis
Author: edwin Date: Thu Oct 23 06:13:42 2014 New Revision: 273519 URL: https://svnweb.freebsd.org/changeset/base/273519 Log: Tag of tzdata2014i sources Added: vendor/tzdata/tzdata2014i/ - copied from r273518, vendor/tzdata/dist/ ___

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:18:28 2014 New Revision: 273520 URL: https://svnweb.freebsd.org/changeset/base/273520 Log: Port t_pipe2.c to FreeBSD - Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert fcntl(n, F_CLOSEM) to closefrom(n). -

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:21:10 2014 New Revision: 273521 URL: https://svnweb.freebsd.org/changeset/base/273521 Log: Convert fcntl(n, F_CLOSEM) to closefrom(n) Submitted by: pho Sponsored by: EMC / Isilon Storage Division Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:24:36 2014 New Revision: 273522 URL: https://svnweb.freebsd.org/changeset/base/273522 Log: - Mark unused parameters __unused in handler - Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only be valid on NetBSD In collaboration

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:25:52 2014 New Revision: 273523 URL: https://svnweb.freebsd.org/changeset/base/273523 Log: Add limits.h #include for LINE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_link.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:35:19 2014 New Revision: 273524 URL: https://svnweb.freebsd.org/changeset/base/273524 Log: Add sys/socket.h #include for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_listen.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:42:53 2014 New Revision: 273525 URL: https://svnweb.freebsd.org/changeset/base/273525 Log: Port t_mmap.c to FreeBSD - Add needed headers for the testcases - Omit mmap_block on non-NetBSD OSes - Use security.bsd.map_at_zero instead of vm.user_va0_disable

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:05:14 2014 New Revision: 273526 URL: https://svnweb.freebsd.org/changeset/base/273526 Log: Omit the pollts testcases on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_poll.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:07:35 2014 New Revision: 273527 URL: https://svnweb.freebsd.org/changeset/base/273527 Log: Omit all of the testcases as revoke(2) is only implemented on devfs(5) Submitted by: pho Sponsored by: EMC / Isilon Storage Division Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:11:58 2014 New Revision: 273528 URL: https://svnweb.freebsd.org/changeset/base/273528 Log: Mark signo __unused in handler(..) Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:20:35 2014 New Revision: 273529 URL: https://svnweb.freebsd.org/changeset/base/273529 Log: - Omit the poll testcases on FreeBSD (they require pollts) - Add necessary headers for the testcases Sponsored by: EMC / Isilon Storage Division Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:22:18 2014 New Revision: 273530 URL: https://svnweb.freebsd.org/changeset/base/273530 Log: Add limits.h #include for INT_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c Modified:

svn commit: r273531 - stable/10/sys/cam/ctl

2014-10-23 Thread Alexander Motin
Author: mav Date: Thu Oct 23 07:36:33 2014 New Revision: 273531 URL: https://svnweb.freebsd.org/changeset/base/273531 Log: MFC r273163: Implement more functional CTL debug logging. Setting bits in kern.cam.ctl.debug allows to log errors, commands and some commands data respectively.

svn commit: r273532 - stable/10/sys/cam/ctl

2014-10-23 Thread Alexander Motin
Author: mav Date: Thu Oct 23 07:37:48 2014 New Revision: 273532 URL: https://svnweb.freebsd.org/changeset/base/273532 Log: MFC r273259: Make VPD 80h (Serial Number) transfer length match serial number length. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:54:46 2014 New Revision: 273533 URL: https://svnweb.freebsd.org/changeset/base/273533 Log: Use atf_srcdir/truncate_test.root_owned instead of /usr/bin/fpr as fpr does not exist on FreeBSD truncate_test.root_owned will be generated at build time and owned

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:59:59 2014 New Revision: 273534 URL: https://svnweb.freebsd.org/changeset/base/273534 Log: - Mark sig/signo __unused - Do not provide a relative path via #include h_macros.h Sponsored by: EMC / Isilon Storage Division Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:05:03 2014 New Revision: 273535 URL: https://svnweb.freebsd.org/changeset/base/273535 Log: - Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al) - Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t on FreeBSD) In

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:05:47 2014 New Revision: 273536 URL: https://svnweb.freebsd.org/changeset/base/273536 Log: Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:06:34 2014 New Revision: 273537 URL: https://svnweb.freebsd.org/changeset/base/273537 Log: Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:12:31 2014 New Revision: 273538 URL: https://svnweb.freebsd.org/changeset/base/273538 Log: Fix a typo (__FreeBSD__ - __NetBSD__ when omitting setrlimit_nthr) Modified: head/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:13:07 2014 New Revision: 273539 URL: https://svnweb.freebsd.org/changeset/base/273539 Log: Mark signum __unused Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_select.c Modified:

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:29:09 2014 New Revision: 273540 URL: https://svnweb.freebsd.org/changeset/base/273540 Log: Omit the mprotect_exec testcase on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c Modified:

svn commit: r273541 - head/sbin/ifconfig

2014-10-23 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Oct 23 11:01:49 2014 New Revision: 273541 URL: https://svnweb.freebsd.org/changeset/base/273541 Log: Show SFP+/QSFP memory map dump on higher verbose levels. Sponsored by: Yandex LLC MFC after:1 week Modified: head/sbin/ifconfig/sfp.c Modified:

svn commit: r273543 - head/usr.sbin/ctld

2014-10-23 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 23 12:02:27 2014 New Revision: 273543 URL: https://svnweb.freebsd.org/changeset/base/273543 Log: Clean up (refactor) discovery a little; no functional changes. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r273544 - in head: sys/dev/vt sys/sys usr.sbin/vidcontrol

2014-10-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Oct 23 12:38:05 2014 New Revision: 273544 URL: https://svnweb.freebsd.org/changeset/base/273544 Log: vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font To restore the default font using vidcontrol(1), use the -f flag without an argument:

Re: svn commit: r273487 - head/sys/kern

2014-10-23 Thread Jean-Sébastien Pédron
Hi! The following change triggers a kernel trap 12 when env is NULL: @@ -260,8 +262,10 @@ void freeenv(char *env) { - if (dynamic_kenv) + if (dynamic_kenv) { + memset(env, 0, strlen(env)); free(env, M_KENV); + } } This happens very early in

svn commit: r273545 - stable/10/sys/dev/vt

2014-10-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Oct 23 13:32:01 2014 New Revision: 273545 URL: https://svnweb.freebsd.org/changeset/base/273545 Log: vt(4): Refuse to load a font if hw.vga.textmode is selected Before, the font was loaded and the window size recalculated, giving an unusable terminal, even if

svn commit: r273546 - head/sys/dev/usb/net

2014-10-23 Thread Luiz Otavio O Souza
Author: loos Date: Thu Oct 23 13:47:19 2014 New Revision: 273546 URL: https://svnweb.freebsd.org/changeset/base/273546 Log: Fix a bug where some DTS layouts could cause the premature ending of the search (i.e. without returning any result) and you would end up with a random MAC address.

svn commit: r273547 - head/sys/net

2014-10-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Oct 23 14:29:52 2014 New Revision: 273547 URL: https://svnweb.freebsd.org/changeset/base/273547 Log: Move if_get_counter initialization from if_attach into if_alloc. Also, initialize all counters before ifnet will become available in the system. This fixes possible

svn commit: r273548 - head/usr.bin/bluetooth/rfcomm_sppd

2014-10-23 Thread Maksim Yevmenkin
Author: emax Date: Thu Oct 23 15:16:40 2014 New Revision: 273548 URL: https://svnweb.freebsd.org/changeset/base/273548 Log: Change the code to use the openpty(3) API which uses the pts(4) driver instead of the pty(4) driver. PR: 184597 Submitted by: tobias.rehbein MFC

svn commit: r273549 - head/sys/kern

2014-10-23 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 23 15:35:47 2014 New Revision: 273549 URL: https://svnweb.freebsd.org/changeset/base/273549 Log: Avoid taking the lock in selfdfree when not needed. Modified: head/sys/kern/sys_generic.c Modified: head/sys/kern/sys_generic.c

svn commit: r273550 - head/share/man/man9

2014-10-23 Thread John-Mark Gurney
Author: jmg Date: Thu Oct 23 17:24:50 2014 New Revision: 273550 URL: https://svnweb.freebsd.org/changeset/base/273550 Log: minor updates to make it more explicit that when using fpu_kern_thread, you don't need to use fpu_kern_enter/_leave... Reviewed by: kib Modified:

svn commit: r273551 - head/sys/dev/puc

2014-10-23 Thread Rui Paulo
Author: rpaulo Date: Thu Oct 23 18:03:27 2014 New Revision: 273551 URL: https://svnweb.freebsd.org/changeset/base/273551 Log: puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P card. Submitted by: Alex Burlyga alex.burlyga.ietf at gmail.com MFC after:1 week Modified:

svn commit: r273552 - head/sys/kern

2014-10-23 Thread Xin LI
Author: delphij Date: Thu Oct 23 18:23:50 2014 New Revision: 273552 URL: https://svnweb.freebsd.org/changeset/base/273552 Log: Test if 'env' is NULL before doing memset() and strlen(), the caller may pass NULL to freeenv(). Modified: head/sys/kern/kern_environment.c Modified:

Re: svn commit: r273446 - head/sys/x86/isa

2014-10-23 Thread John Baldwin
On Tuesday, October 21, 2014 9:37:33 pm Marcel Moolenaar wrote: Author: marcel Date: Wed Oct 22 01:37:32 2014 New Revision: 273446 URL: https://svnweb.freebsd.org/changeset/base/273446 Log: Virtual machines can easily have more than 16 option ROMs and when that happens, we happily

Re: svn commit: r273549 - head/sys/kern

2014-10-23 Thread John Baldwin
On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote: Author: mjg Date: Thu Oct 23 15:35:47 2014 New Revision: 273549 URL: https://svnweb.freebsd.org/changeset/base/273549 Log: Avoid taking the lock in selfdfree when not needed. Modified: head/sys/kern/sys_generic.c

Re: svn commit: r273401 - head/sys/kern

2014-10-23 Thread John Baldwin
On Tuesday, October 21, 2014 3:05:45 pm Mateusz Guzik wrote: Author: mjg Date: Tue Oct 21 19:05:44 2014 New Revision: 273401 URL: https://svnweb.freebsd.org/changeset/base/273401 Log: Implement shared locking for sysctl. A bit more detail in this message was warranted. We had some

Re: svn commit: r273549 - head/sys/kern

2014-10-23 Thread Edward Tomasz Napierała
Dnia 23 paź 2014 o godz. 20:38 John Baldwin j...@freebsd.org napisał(a): On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote: Author: mjg Date: Thu Oct 23 15:35:47 2014 New Revision: 273549 URL: https://svnweb.freebsd.org/changeset/base/273549 Log: Avoid taking the lock in

svn commit: r273553 - stable/9/usr.sbin/newsyslog

2014-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 23 18:48:43 2014 New Revision: 273553 URL: https://svnweb.freebsd.org/changeset/base/273553 Log: MFC 272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Modified:

svn commit: r273554 - stable/10/usr.sbin/newsyslog

2014-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 23 18:50:44 2014 New Revision: 273554 URL: https://svnweb.freebsd.org/changeset/base/273554 Log: MFC r272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Modified:

svn commit: r273555 - head/sys/kern

2014-10-23 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 23 19:06:08 2014 New Revision: 273555 URL: https://svnweb.freebsd.org/changeset/base/273555 Log: In selfdfree re-evaulate sf_si after takin the lock. Otherwise we can race with doselwakeup. This is a fixup to r273549 Reviewed by: jhb Reported by:

Re: svn commit: r273549 - head/sys/kern

2014-10-23 Thread Adrian Chadd
Please back this out; it looks like the lock is protecting sf_si. -adrian On 23 October 2014 11:45, Edward Tomasz Napierała tr...@freebsd.org wrote: Dnia 23 paź 2014 o godz. 20:38 John Baldwin j...@freebsd.org napisał(a): On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote:

Re: svn commit: r273487 - head/sys/kern

2014-10-23 Thread Colin Percival
On 10/23/14 05:49, Jean-Sébastien Pédron wrote: The following change triggers a kernel trap 12 when env is NULL: @@ -260,8 +262,10 @@ void freeenv(char *env) { -if (dynamic_kenv) +if (dynamic_kenv) { +memset(env, 0, strlen(env)); free(env, M_KENV);

svn commit: r273557 - head/sys/netipsec

2014-10-23 Thread John Baldwin
Author: jhb Date: Thu Oct 23 20:43:16 2014 New Revision: 273557 URL: https://svnweb.freebsd.org/changeset/base/273557 Log: Use a static callout to drive key_timehandler() instead of timeout(). While here, make key_timehandler() private to key.c. Submitted by: bz (2) Tested by:bz

Re: svn commit: r273549 - head/sys/kern

2014-10-23 Thread John Baldwin
On Thursday, October 23, 2014 3:39:39 pm Adrian Chadd wrote: Please back this out; it looks like the lock is protecting sf_si. The followup fix should be fine. The lock does indeed protect sf_si, but the value can only transition from non-NULL to NULL at this point, so if it is == NULL

svn commit: r273558 - head/sys/i386/i386

2014-10-23 Thread Alan Cox
Author: alc Date: Thu Oct 23 21:02:40 2014 New Revision: 273558 URL: https://svnweb.freebsd.org/changeset/base/273558 Log: Under PAE ULONG is insufficient for representing the physical memory size. Use QUAD for hw.physmem so that a physical memory size greater than 4 GB can be specified

svn commit: r273561 - head/sys/arm/freescale/imx

2014-10-23 Thread Ian Lepore
Author: ian Date: Thu Oct 23 22:21:22 2014 New Revision: 273561 URL: https://svnweb.freebsd.org/changeset/base/273561 Log: Install a temporary workaround to avoid problems in fdt data with linux's workaround for an imx6 chip erratum. Linux works around the bug with changes in fdt data that

svn commit: r273562 - in head/contrib/libxo: . bin build doc libxo m4 packaging tests tests/core tests/core/saved tests/xo tests/xo/saved xo xohtml xohtml/external xolint

2014-10-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 23 22:30:14 2014 New Revision: 273562 URL: https://svnweb.freebsd.org/changeset/base/273562 Log: Import libxo 0.1.4 Obtained from:https://github.com/Juniper/libxo Sponsored by: Juniper Networks, Inc. Added: head/contrib/libxo/

svn commit: r273563 - head/contrib/libxo/libxo

2014-10-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 23 22:33:27 2014 New Revision: 273563 URL: https://svnweb.freebsd.org/changeset/base/273563 Log: Add generated headers xoversion.h and xoconfig.h. These are the result of configuring the source tree: % automake --add-missing % autoconf %

svn commit: r273564 - head/sys/kern

2014-10-23 Thread Dag-Erling Smørgrav
Author: des Date: Thu Oct 23 22:42:56 2014 New Revision: 273564 URL: https://svnweb.freebsd.org/changeset/base/273564 Log: In all cases except CTLTYPE_STRING, penv is NULL here, so passing it indiscriminately to printf() and freeenv() is incorrect. Add a NULL check before freeenv(); as for

Re: svn commit: r273552 - head/sys/kern

2014-10-23 Thread Dag-Erling Smørgrav
Xin LI delp...@freebsd.org writes: Log: Test if 'env' is NULL before doing memset() and strlen(), the caller may pass NULL to freeenv(). If this is in response to a panic in early boot, the real bug is elsewhere (see r273564). Adding a NULL check here only hides it. DES -- Dag-Erling

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

2014-10-23 Thread Luiz Otavio O Souza
Author: loos Date: Thu Oct 23 23:12:30 2014 New Revision: 273566 URL: https://svnweb.freebsd.org/changeset/base/273566 Log: Provide a working GPIOBUS_IVAR() macro for FDT systems. Modified: head/sys/dev/gpio/gpiobusvar.h Modified: head/sys/dev/gpio/gpiobusvar.h

svn commit: r273567 - in head: etc/mtree lib lib/libxo

2014-10-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 23 23:14:23 2014 New Revision: 273567 URL: https://svnweb.freebsd.org/changeset/base/273567 Log: Hook libxo to the build. Sponsored by: Juniper Networks, Inc. Added: head/lib/libxo/ head/lib/libxo/Makefile (contents, props changed) Modified:

svn commit: r273568 - in head/usr.bin: . xo

2014-10-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 23 23:16:21 2014 New Revision: 273568 URL: https://svnweb.freebsd.org/changeset/base/273568 Log: Hook xo(1) to the build -- it's like echo, but uses libxo to support emitting machine-readable output. Sponsored by: Juniper Networks, Inc. Added:

Re: svn commit: r273552 - head/sys/kern

2014-10-23 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/23/14 15:47, Dag-Erling Smørgrav wrote: Xin LI delp...@freebsd.org writes: Log: Test if 'env' is NULL before doing memset() and strlen(), the caller may pass NULL to freeenv(). If this is in response to a panic in early boot, the real

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

2014-10-23 Thread Luiz Otavio O Souza
Author: loos Date: Thu Oct 23 23:20:04 2014 New Revision: 273569 URL: https://svnweb.freebsd.org/changeset/base/273569 Log: Move the duplicated code to a single function. No functional changes. Modified: head/sys/dev/gpio/gpiobus.c head/sys/dev/gpio/gpiobusvar.h

Re: svn commit: r273552 - head/sys/kern

2014-10-23 Thread Mateusz Guzik
On Thu, Oct 23, 2014 at 04:19:05PM -0700, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/23/14 15:47, Dag-Erling Smørgrav wrote: Xin LI delp...@freebsd.org writes: Log: Test if 'env' is NULL before doing memset() and strlen(), the caller may pass NULL to freeenv().

Re: svn commit: r273552 - head/sys/kern

2014-10-23 Thread Bryan Drewery
On 10/23/2014 6:21 PM, Mateusz Guzik wrote: On Thu, Oct 23, 2014 at 04:19:05PM -0700, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10/23/14 15:47, Dag-Erling Smørgrav wrote: Xin LI delp...@freebsd.org writes: Log: Test if 'env' is NULL before doing memset() and strlen(),

svn commit: r273570 - head/sys/cddl/dev/fbt/powerpc

2014-10-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 24 03:33:01 2014 New Revision: 273570 URL: https://svnweb.freebsd.org/changeset/base/273570 Log: Three updates to PowerPC FBT: * Use a constant to define the number of stack frames in a probe exception. * Only allow function symbols in powerpc64 ('.'

svn commit: r273571 - head/sys/cddl/dev/fbt/powerpc

2014-10-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 24 03:34:21 2014 New Revision: 273571 URL: https://svnweb.freebsd.org/changeset/base/273571 Log: Whitespace X-MFC-with: r273570 MFC after:1 week Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 03:42:37 2014 New Revision: 273572 URL: https://svnweb.freebsd.org/changeset/base/273572 Log: - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is always executed on a non-devfs filesystem - Expect mknod(path, S_IFREG, 0) to fail on FreeBSD

svn commit: r273573 - stable/10/sys/amd64/amd64

2014-10-23 Thread Neel Natu
Author: neel Date: Fri Oct 24 03:48:54 2014 New Revision: 273573 URL: https://svnweb.freebsd.org/changeset/base/273573 Log: MFC r273356: Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT misconfiguration VM-exit. Modified: stable/10/sys/amd64/amd64/pmap.c Directory

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

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 03:53:49 2014 New Revision: 273574 URL: https://svnweb.freebsd.org/changeset/base/273574 Log: - Test for EINVAL requirement when passing an invalid flag in to msync(2) - Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region on FreeBSD

svn commit: r273575 - head/usr.bin/vmstat

2014-10-23 Thread Kirk McKusick
Author: mckusick Date: Fri Oct 24 04:01:14 2014 New Revision: 273575 URL: https://svnweb.freebsd.org/changeset/base/273575 Log: Fix formatting of vmstat (1) so that it looks cleaner on standard 80 column displays. In particular it wraps far less often. Submitted by: Andy Kosela

svn commit: r273576 - head/sys/dev/uart

2014-10-23 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Fri Oct 24 05:39:32 2014 New Revision: 273576 URL: https://svnweb.freebsd.org/changeset/base/273576 Log: Fix a leaked Storage Variable. Phabric: D981 Submitted by: myself Reported by: Coverity CID: 1248848 Reworked by: kevlo

Re: svn commit: r273576 - head/sys/dev/uart

2014-10-23 Thread Mateusz Guzik
On Fri, Oct 24, 2014 at 05:39:32AM +, Marcelo Araujo wrote: Author: araujo (ports committer) Date: Fri Oct 24 05:39:32 2014 New Revision: 273576 URL: https://svnweb.freebsd.org/changeset/base/273576 Log: Fix a leaked Storage Variable. int uart_getenv(int devtype, struct