Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Cy Schubert
In message

Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Warner Losh
> Then why even test for RC being NULL? So rc->rss_bucket_map doesn't dereference a null pointer and core dump maybe? Warner ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Pedro Giffuni
On 2/26/2017 9:37 PM, Cy Schubert wrote: In message <404d743b-735b-0605-5ab5-ccb95ce24...@freebsd.org>, Pedro Giffuni wr ites: This is a multi-part message in MIME format. --C3FC59CAC7D072A09BF70AAF Content-Type: text/plain; charset=windows-1252; format=flowed

Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Cy Schubert
In message <404d743b-735b-0605-5ab5-ccb95ce24...@freebsd.org>, Pedro Giffuni wr ites: > This is a multi-part message in MIME format. > --C3FC59CAC7D072A09BF70AAF > Content-Type: text/plain; charset=windows-1252; format=flowed > Content-Transfer-Encoding: 7bit > > Hello; > > On

Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Pedro Giffuni
Hello; On 2/26/2017 8:51 PM, Cy Schubert wrote: In message <201702270010.v1r0a1wm074...@repo.freebsd.org>, "Pedro F. Giffuni" w rites: Author: pfg Date: Mon Feb 27 00:10:00 2017 New Revision: 314322 URL: https://svnweb.freebsd.org/changeset/base/314322 Log: librss: simplify some NULL

Re: svn commit: r314322 - head/lib/librss

2017-02-26 Thread Cy Schubert
In message <201702270010.v1r0a1wm074...@repo.freebsd.org>, "Pedro F. Giffuni" w rites: > Author: pfg > Date: Mon Feb 27 00:10:00 2017 > New Revision: 314322 > URL: https://svnweb.freebsd.org/changeset/base/314322 > > Log: > librss: simplify some NULL checks. > > MFC after: 1 week > >

svn commit: r314322 - head/lib/librss

2017-02-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 27 00:10:00 2017 New Revision: 314322 URL: https://svnweb.freebsd.org/changeset/base/314322 Log: librss: simplify some NULL checks. MFC after:1 week Modified: head/lib/librss/librss.c Modified: head/lib/librss/librss.c

svn commit: r314321 - head/usr.bin/dc

2017-02-26 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 26 22:17:06 2017 New Revision: 314321 URL: https://svnweb.freebsd.org/changeset/base/314321 Log: dc(1): Merge minor changes from OpenBSD. Prefer setvbuf() to setlinebuf() for portability. Some style(9) and redundant tests for NULL. These are only meant to

svn commit: r314320 - head/lib/libc/x86/sys

2017-02-26 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Feb 26 22:15:39 2017 New Revision: 314320 URL: https://svnweb.freebsd.org/changeset/base/314320 Log: Remove unneeded variable initialization from r314319. Pointed out by: kib Modified: head/lib/libc/x86/sys/__vdso_gettc.c Modified:

svn commit: r314319 - head/lib/libc/x86/sys

2017-02-26 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Feb 26 22:07:26 2017 New Revision: 314319 URL: https://svnweb.freebsd.org/changeset/base/314319 Log: Don't try to open devices in the gettc() function which will always fail in the Capability mode. Instead silently fallback to the syscall method, which is done for

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

2017-02-26 Thread Jayachandran C.
Author: jchandra Date: Sun Feb 26 22:05:22 2017 New Revision: 314318 URL: https://svnweb.freebsd.org/changeset/base/314318 Log: Enable pl011 UART FIFOs The pl011 UART has a 16 entry Tx FIFO and a 16 entry Rx FIFO that have not been used so far. Update the driver to enable the FIFOs and

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-26 Thread Rick Macklem
Warner Losh wrote: > On Sun, Feb 26, 2017 at 5:44 AM, Konstantin Belousov > wrote: > > On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote: > > 2.9 BSD was a port to PDP-11, AFAIK, with 16bit ints. > > A bit off topic, but 2BSD was basically[**] a continuation of

svn commit: r314317 - in head/sys: mips/nlm mips/rmi powerpc/powermac sparc64/pci

2017-02-26 Thread Warner Losh
Author: imp Date: Sun Feb 26 21:33:18 2017 New Revision: 314317 URL: https://svnweb.freebsd.org/changeset/base/314317 Log: Include pcib_private.h for prototypes. Noticed by: rpokala@ Sponsored by: Netflix Modified: head/sys/mips/nlm/xlp_pci.c head/sys/mips/rmi/xlr_pci.c

svn commit: r314316 - head/usr.bin/dc

2017-02-26 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 26 21:24:35 2017 New Revision: 314316 URL: https://svnweb.freebsd.org/changeset/base/314316 Log: dc(1): Catch up with OpenBSD tag. OpenBSD rev 1.12 corresponds to our SVN r275162. Update the tag to make easier future updates. No functional change. MFC

Re: svn commit: r314293 - head/sys/compat/linux

2017-02-26 Thread Bruce Evans
On Sun, 26 Feb 2017, Dmitry Chagin wrote: Log: Return EOVERFLOW error in case then the size of tv_sec field of struct timespec in COMPAT_LINUX32 Linuxulator's not equal to the size of native tv_sec. This has several bugs, and it is silly to check the range of times (where overflow can't

svn commit: r314315 - in head/sys/dev: bwi bwn iwm iwn otus ral rtwn usb/wlan wpi

2017-02-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 26 20:49:35 2017 New Revision: 314315 URL: https://svnweb.freebsd.org/changeset/base/314315 Log: net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters directly from the node. - Use ni_txparms directly instead of calculating them manually every

svn commit: r314314 - head/sys/compat/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 20:01:58 2017 New Revision: 314314 URL: https://svnweb.freebsd.org/changeset/base/314314 Log: Return EINVAL in case when an invalid size of signal mask specified. MFC after:1 month Modified: head/sys/compat/linux/linux_event.c Modified:

svn commit: r314313 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 19:59:28 2017 New Revision: 314313 URL: https://svnweb.freebsd.org/changeset/base/314313 Log: Regen for r314312 (Linux epoll_pwait). MFC after:1 month Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_systrace_args.c

svn commit: r314312 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 19:57:18 2017 New Revision: 314312 URL: https://svnweb.freebsd.org/changeset/base/314312 Log: Change Linux epoll_pwait syscall definition to match Linux actual one. MFC after:1 month Modified: head/sys/amd64/linux/syscalls.master

svn commit: r314311 - head/sys/compat/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 19:54:17 2017 New Revision: 314311 URL: https://svnweb.freebsd.org/changeset/base/314311 Log: Restore signal mask in epoll_pwait. MFC after:1 month Modified: head/sys/compat/linux/linux_event.c Modified: head/sys/compat/linux/linux_event.c

svn commit: r314310 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2017-02-26 Thread Alan Cox
Author: alc Date: Sun Feb 26 19:54:02 2017 New Revision: 314310 URL: https://svnweb.freebsd.org/changeset/base/314310 Log: Refine the fix from r312954. Specifically, add a new PDE-only flag, PG_PROMOTED, that indicates whether lingering 4KB page mappings might need to be flushed on a PDE

svn commit: r314309 - head/sys/compat/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 19:51:44 2017 New Revision: 314309 URL: https://svnweb.freebsd.org/changeset/base/314309 Log: Return EINVAL when an invalid file descriptor is specified. MFC after:1 month Modified: head/sys/compat/linux/linux_event.c Modified:

svn commit: r314308 - head/sys/dev/aic7xxx

2017-02-26 Thread Alexander Motin
Author: mav Date: Sun Feb 26 19:25:33 2017 New Revision: 314308 URL: https://svnweb.freebsd.org/changeset/base/314308 Log: Fix LUN enabling on wildcard target, as done by CTL. MFC after:2 weeks Modified: head/sys/dev/aic7xxx/aic79xx.c head/sys/dev/aic7xxx/aic7xxx.c Modified:

svn commit: r314307 - head/sys/cam/ctl

2017-02-26 Thread Alexander Motin
Author: mav Date: Sun Feb 26 19:23:03 2017 New Revision: 314307 URL: https://svnweb.freebsd.org/changeset/base/314307 Log: Add support for SIMs without autosense. If we asked to send sense data by setting CAM_SEND_SENSE, but SIM didn't confirm transmission by setting CAM_SENT_SENSE,

svn commit: r314306 - head/crypto/openssh

2017-02-26 Thread Dag-Erling Smørgrav
Author: des Date: Sun Feb 26 19:00:55 2017 New Revision: 314306 URL: https://svnweb.freebsd.org/changeset/base/314306 Log: Avoid picking up MIT Kerberos from ports (if installed). Modified: head/crypto/openssh/freebsd-configure.sh Modified: head/crypto/openssh/freebsd-configure.sh

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-26 Thread Mike Karels
Tangential, but: On 26 Feb 2017, at 6:44, Konstantin Belousov wrote: On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote: 2.9 BSD was a port to PDP-11, AFAIK, with 16bit ints. All of the 2BSD systems ran on PDP-11 with 16-bit ints, as did Research versions 1 through 7th Edition.

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-26 Thread Warner Losh
On Sun, Feb 26, 2017 at 5:44 AM, Konstantin Belousov wrote: > On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote: > 2.9 BSD was a port to PDP-11, AFAIK, with 16bit ints. A bit off topic, but 2BSD was basically[**] a continuation of Research Unix which started out

svn commit: r314304 - head/crypto/openssh

2017-02-26 Thread Dag-Erling Smørgrav
Author: des Date: Sun Feb 26 16:34:58 2017 New Revision: 314304 URL: https://svnweb.freebsd.org/changeset/base/314304 Log: Fix amusingly harmless mis-merge. Modified: head/crypto/openssh/readconf.c Modified: head/crypto/openssh/readconf.c

svn commit: r314303 - in head/sys/arm/allwinner: . clkng h3

2017-02-26 Thread Emmanuel Vadot
Author: manu Date: Sun Feb 26 16:00:20 2017 New Revision: 314303 URL: https://svnweb.freebsd.org/changeset/base/314303 Log: Add clkng driver for Allwinner SoC Since Linux 4.9-4.10 DTS doesn't have clocks under /clocks but only a ccu node. Currently only H3 is supported with almost the

svn commit: r314302 - head/sys/dev/isp

2017-02-26 Thread Alexander Motin
Author: mav Date: Sun Feb 26 14:29:09 2017 New Revision: 314302 URL: https://svnweb.freebsd.org/changeset/base/314302 Log: Return better error code in case of too long CDB. Its more important for SPI HBAs, as they don't support CDBs above 12 bytes. The new error code makes CAM to fall

svn commit: r314301 - head/sys/x86/x86

2017-02-26 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Feb 26 13:25:56 2017 New Revision: 314301 URL: https://svnweb.freebsd.org/changeset/base/314301 Log: Fix the acpi idle support on i386 which was broken by r312910. The ifdefs were '#if !defined(__i386__) || !defined(PC98)' previously, so cpu_idle_acpi was enabled

svn commit: r314300 - head/sys/cam/ctl

2017-02-26 Thread Alexander Motin
Author: mav Date: Sun Feb 26 12:54:27 2017 New Revision: 314300 URL: https://svnweb.freebsd.org/changeset/base/314300 Log: Use resid field of CTIO to detect under/overruns. MFC after:2 weeks Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r314299 - head/sys/dev/isp

2017-02-26 Thread Alexander Motin
Author: mav Date: Sun Feb 26 12:52:44 2017 New Revision: 314299 URL: https://svnweb.freebsd.org/changeset/base/314299 Log: Fix residual length reporting in target mode. This allows to properly handle cases when target wants to receive or send more data then initiator wants to send or

Re: svn commit: r312679 - head/sys/arm/freescale/imx

2017-02-26 Thread Yoshiro MIHIRA
I tried Ian-san's patch, unfortunately it was not solved... If you have any idea, please let me know... 2017年2月16日(木) 8:32 Ian Lepore : > > > Author: ian > > > Date: Tue Jan 24 02:09:30 2017 > > > New Revision: 312679 > > > URL: https://svnweb.freebsd.org/changeset/base/312679

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-26 Thread Konstantin Belousov
On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote: > On Sat, 25 Feb 2017, Konstantin Belousov wrote: > > > On Sat, Feb 25, 2017 at 02:17:23PM +1100, Bruce Evans wrote: > >> On Fri, 24 Feb 2017, Konstantin Belousov wrote: > >> > >>> On Thu, Feb 23, 2017 at 06:33:43AM +1100, Bruce Evans

svn commit: r314295 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux sys

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 09:48:18 2017 New Revision: 314295 URL: https://svnweb.freebsd.org/changeset/base/314295 Log: Implement timerfd family syscalls. MFC after:1 month Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64/linux32/linux32_dummy.c

svn commit: r314294 - head/sys/compat/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 09:42:34 2017 New Revision: 314294 URL: https://svnweb.freebsd.org/changeset/base/314294 Log: Nostly style(9) changes, replace unused eventfd_truncate() by default invfo_truncate() method. MFC after:1 month Modified:

svn commit: r314293 - head/sys/compat/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 09:40:42 2017 New Revision: 314293 URL: https://svnweb.freebsd.org/changeset/base/314293 Log: Return EOVERFLOW error in case then the size of tv_sec field of struct timespec in COMPAT_LINUX32 Linuxulator's not equal to the size of native tv_sec. MFC

svn commit: r314292 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 09:37:25 2017 New Revision: 314292 URL: https://svnweb.freebsd.org/changeset/base/314292 Log: Regen after r314291 (timerfd definition). MFC after:1 month Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_sysent.c

svn commit: r314291 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-02-26 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 26 09:35:44 2017 New Revision: 314291 URL: https://svnweb.freebsd.org/changeset/base/314291 Log: Change Linuxulator timerfd syscalls definition to match actual Linux one. MFC after:1 month Modified: head/sys/amd64/linux/syscalls.master

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

2017-02-26 Thread Emmanuel Vadot
Hello, This break uart in ARM. Based on the comment of the macros since we're using our own device the ealier code was correct. Cheers, On Fri, 24 Feb 2017 16:37:35 + (UTC) Ruslan Bukin wrote: > Author: br > Date: Fri Feb 24 16:37:35 2017 > New Revision: 314212 >

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-26 Thread Joel Dahl
On Wed, Feb 22, 2017 at 06:10:04PM -0500, Allan Jude wrote: > Core is soon to announce a more formalized way to discuss and reach > consensus on these types of changes. robak@ can I ask that you back this > out for now, and we use that process to determine what the right set of > knobs to turn