svn commit: r292460 - head/sys/powerpc/pseries

2015-12-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 19 02:16:38 2015 New Revision: 292460 URL: https://svnweb.freebsd.org/changeset/base/292460 Log: Provide link state reporting so that ifconfig_llan0="DHCP" works. The reported link state is fictional (always up) since the hypervisor does not provide this info

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Pedro Giffuni
> Il giorno 18/dic/2015, alle ore 18:46, Conrad Meyer ha > scritto: > > On Fri, Dec 18, 2015 at 2:44 PM, Pedro Giffuni wrote: >> Hi Warner; >> >>> Il giorno 18/dic/2015, alle ore 17:01, Warner Losh ha >>> scritto: >>> >>> Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guar

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-18 Thread Kubilay Kocak
On 18/12/2015 9:55 AM, Steven Hartland wrote: > On 17/12/2015 19:20, Gleb Smirnoff wrote: >>Steven, >> >> another feasible solution for the design described in the 156226 >> would be to run STP on the switches, and if_bridge(4) instead of >> if_lagg(4) on FreeBSD, also with STP enabled. Would w

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Garrett Cooper
> On Dec 18, 2015, at 15:46, Conrad Meyer wrote: > >> On Fri, Dec 18, 2015 at 2:44 PM, Pedro Giffuni wrote: >> Hi Warner; >> >>> Il giorno 18/dic/2015, alle ore 17:01, Warner Losh ha >>> scritto: >>> >>> Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guarantee >>> NUL term

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Conrad Meyer
On Fri, Dec 18, 2015 at 2:44 PM, Pedro Giffuni wrote: > Hi Warner; > >> Il giorno 18/dic/2015, alle ore 17:01, Warner Losh ha >> scritto: >> >> Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guarantee >> NUL termination. >> > > Maybe, but we were using strcpy() which doesn’t gu

svn commit: r292455 - head/bin/ed

2015-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 18 23:05:36 2015 New Revision: 292455 URL: https://svnweb.freebsd.org/changeset/base/292455 Log: ed(1): Prevent possible string overflows Use strlcpy instead of strncpy to guarantee NULL termination. Pointed out by: imp CID: 1007252 X-MFC wi

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Pedro Giffuni
Hi Warner; > Il giorno 18/dic/2015, alle ore 17:01, Warner Losh ha > scritto: > > Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guarantee NUL > termination. > Maybe, but we were using strcpy() which doesn’t guarantee NULL termination either and things have been working. I

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Warner Losh
Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guarantee NUL termination. Warner > On Dec 18, 2015, at 2:58 PM, Pedro F. Giffuni wrote: > > Author: pfg > Date: Fri Dec 18 21:58:42 2015 > New Revision: 292454 > URL: https://svnweb.freebsd.org/changeset/base/292454 > > Log: >

svn commit: r292454 - head/bin/ed

2015-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 18 21:58:42 2015 New Revision: 292454 URL: https://svnweb.freebsd.org/changeset/base/292454 Log: ed(1): Prevent possible string overflows CID: 1007252 MFC after:2 weeks Modified: head/bin/ed/main.c Modified: head/bin/ed/main.c ===

svn commit: r292453 - in head: share/colldef share/ctypedef share/monetdef share/msgdef share/numericdef share/timedef tools/tools/locale/tools

2015-12-18 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 18 21:34:28 2015 New Revision: 292453 URL: https://svnweb.freebsd.org/changeset/base/292453 Log: Simplify the locale generated Makefiles by using bmake multi variables for loops Modified: head/share/colldef/Makefile head/share/ctypedef/Makefile head/share/monet

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-18 Thread Kristof Provost
> On 16 Dec 2015, at 01:56, Randall Stewart wrote: > > Author: rrs > Date: Wed Dec 16 00:56:45 2015 > New Revision: 292309 > URL: https://svnweb.freebsd.org/changeset/base/292309 > > Log: > First cut of the modularization of our TCP stack. Still > to do is to clean up the timer handling using

Re: svn commit: r292443 - head/usr.sbin/boot0cfg

2015-12-18 Thread Bruce Evans
On Fri, 18 Dec 2015, John Baldwin wrote: Log: Fix the precious change to check the pointer returned by malloc(). Submitted by: luke Pointy hat to: jhb Of course, malloc can't fail, especially for small utilities like boot0cfg, especially in -current. Modified: head/usr.sbin/boot0cfg/bo

Re: svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-18 Thread John Baldwin
On Friday, December 18, 2015 02:17:16 PM Marcelo Araujo wrote: > 2015-12-18 13:53 GMT+08:00 Garrett Cooper : > > > > > > On Dec 17, 2015, at 21:36, luke wrote: > > > > > >> On Fri, Dec 18, 2015 at 4:42 AM, John Baldwin wrote: > > >> Author: jhb > > >> Date: Thu Dec 17 20:42:05 2015 > > >> New Re

Re: svn commit: r292443 - head/usr.sbin/boot0cfg

2015-12-18 Thread John Baldwin
On Friday, December 18, 2015 05:52:09 PM John Baldwin wrote: > Author: jhb > Date: Fri Dec 18 17:52:08 2015 > New Revision: 292443 > URL: https://svnweb.freebsd.org/changeset/base/292443 > > Log: > Fix the precious change to check the pointer returned by malloc(). s/precious/previous/. The pre

Re: svn commit: r292444 - head/lib/libc/net

2015-12-18 Thread John Baldwin
On Friday, December 18, 2015 05:53:19 PM Hajimu UMEMOTO wrote: > Author: ume > Date: Fri Dec 18 17:53:18 2015 > New Revision: 292444 > URL: https://svnweb.freebsd.org/changeset/base/292444 > > Log: > Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3). > > PR: 198092 > MFC after

svn commit: r292446 - head/include

2015-12-18 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 18 18:08:53 2015 New Revision: 292446 URL: https://svnweb.freebsd.org/changeset/base/292446 Log: Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3). We need to change netdb.h to make it actually enabled. PR: 198092 MFC after:1 week Modified:

svn commit: r292445 - head/lib/libc/net

2015-12-18 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 18 17:57:31 2015 New Revision: 292445 URL: https://svnweb.freebsd.org/changeset/base/292445 Log: Use _map_v4v6_address(). Suggested by: hrs MFC after:1 week Modified: head/lib/libc/net/getaddrinfo.c Modified: head/lib/libc/net/getaddrinfo.c ==

svn commit: r292444 - head/lib/libc/net

2015-12-18 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 18 17:53:18 2015 New Revision: 292444 URL: https://svnweb.freebsd.org/changeset/base/292444 Log: Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3). PR: 198092 MFC after:1 week Modified: head/lib/libc/net/getaddrinfo.3 head/lib/libc/net/geta

svn commit: r292443 - head/usr.sbin/boot0cfg

2015-12-18 Thread John Baldwin
Author: jhb Date: Fri Dec 18 17:52:08 2015 New Revision: 292443 URL: https://svnweb.freebsd.org/changeset/base/292443 Log: Fix the precious change to check the pointer returned by malloc(). Submitted by: luke Pointy hat to:jhb Modified: head/usr.sbin/boot0cfg/boot0cfg.c Modif

svn commit: r292442 - head/sys/boot/efi/loader

2015-12-18 Thread Ed Maste
Author: emaste Date: Fri Dec 18 17:39:54 2015 New Revision: 292442 URL: https://svnweb.freebsd.org/changeset/base/292442 Log: loader.efi: show EFI error number, not full status value EFI return values set the high bit to indicate an error. The log messages changed here are printed only in

svn commit: r292441 - head/usr.sbin/ypserv

2015-12-18 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 18 17:30:22 2015 New Revision: 292441 URL: https://svnweb.freebsd.org/changeset/base/292441 Log: Generate ipnodes.by{addr,name} from /etc/hosts for compatibility with FreeBSD local name resolution. If /var/yp/ipnodes exists, we generate them from it for backward c

svn commit: r292440 - in head/sys: kern sys

2015-12-18 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 18 16:33:15 2015 New Revision: 292440 URL: https://svnweb.freebsd.org/changeset/base/292440 Log: proc: fix a race which could result in dereference of bad p_pgrp pointer on fork During fork p_starcopy - p_endcopy area of a process is populated with bcopy with on

Re: svn commit: r292436 - head/sys/geom/sched

2015-12-18 Thread Ravi Pokala
-Original Message- From: on behalf of Shawn Webb Date: 2015-12-18, Friday at 06:47 To: Warner Losh Cc: , , Subject: Re: svn commit: r292436 - head/sys/geom/sched >Additionally, this fixed a potential NULL dereference bug. That's actually what I noticed and mentioned to Warner; he

Re: svn commit: r292436 - head/sys/geom/sched

2015-12-18 Thread Shawn Webb
On Fri, Dec 18, 2015 at 02:10:00PM +, Warner Losh wrote: > Author: imp > Date: Fri Dec 18 14:10:00 2015 > New Revision: 292436 > URL: https://svnweb.freebsd.org/changeset/base/292436 > > Log: > It turns out that it's OK to sleep in this context, so use M_WAITOK > for the softc for the dela

svn commit: r292437 - head/sys/powerpc/conf

2015-12-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 18 14:35:27 2015 New Revision: 292437 URL: https://svnweb.freebsd.org/changeset/base/292437 Log: Enable PRINTF_BUFR_SIZE on powerpc64, following r194204 on x86. The kernel message garbling was becoming very noticeable on the 64-CPU systems we now support and

svn commit: r292436 - head/sys/geom/sched

2015-12-18 Thread Warner Losh
Author: imp Date: Fri Dec 18 14:10:00 2015 New Revision: 292436 URL: https://svnweb.freebsd.org/changeset/base/292436 Log: It turns out that it's OK to sleep in this context, so use M_WAITOK for the softc for the delay module. Noticed by: rpokala@ Modified: head/sys/geom/sched/gs_delay

Re: svn commit: r292379 - in head/sys: netinet netinet6

2015-12-18 Thread Steven Hartland
On 17/12/2015 23:46, Gleb Smirnoff wrote: On Thu, Dec 17, 2015 at 11:26:52PM +, Steven Hartland wrote: S> You may have not read all the detail in the review so you might not have S> noticed that I S> identified that carp IPv6 NA was broken by r251584 which was committed 2 1/2 S> years ago. I'

svn commit: r292435 - head/usr.sbin/ypserv

2015-12-18 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 18 11:20:50 2015 New Revision: 292435 URL: https://svnweb.freebsd.org/changeset/base/292435 Log: - Keep hosts.by{name,addr} IPv4 only. - Add comment how we handle hosts and ipnodes. (from NetBSD) MFC after:1 week. Modified: head/usr.sbin/ypserv/Makefile.yp

svn commit: r292434 - head/lib/libbsm

2015-12-18 Thread Christian Brueffer
Author: brueffer Date: Fri Dec 18 09:50:24 2015 New Revision: 292434 URL: https://svnweb.freebsd.org/changeset/base/292434 Log: Add au_notify.2 and MLINKs (added in OpenBSM 1.2 alpha 4). MFC after:2 weeks Modified: head/lib/libbsm/Makefile Modified: head/lib/libbsm/Makefile

svn commit: r292433 - head/contrib/openbsm/config

2015-12-18 Thread Christian Brueffer
Author: brueffer Date: Fri Dec 18 09:49:11 2015 New Revision: 292433 URL: https://svnweb.freebsd.org/changeset/base/292433 Log: Regenerate config.h for OpenBSM 1.2 alpha 4. MFC after:2 weeks Modified: head/contrib/openbsm/config/config.h Modified: head/contrib/openbsm/config/config.

svn commit: r292432 - in head/contrib/openbsm: . bin bin/audit bin/auditd bin/auditdistd bin/auditfilterd bin/auditreduce bin/praudit bsm compat etc libauditd libbsm man modules modules/auditfilter...

2015-12-18 Thread Christian Brueffer
Author: brueffer Date: Fri Dec 18 09:48:01 2015 New Revision: 292432 URL: https://svnweb.freebsd.org/changeset/base/292432 Log: Merge OpenBSM 1.2 alpha 4. MFC after:2 weeks Relnotes: yes Added: head/contrib/openbsm/.travis.yml - copied unchanged from r292016, vendor/openbs