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

2015-07-24 Thread Don Lewis
On 23 Jul, Sergey Kandaurov wrote: Author: pluknet Date: Thu Jul 23 23:18:03 2015 New Revision: 285829 URL: https://svnweb.freebsd.org/changeset/base/285829 Log: Call ksem_get() with initialized 'rights'. ksem_get() consumes fget(), and it's mandatory there. Reported by:

svn commit: r285834 - head/sys/compat/cloudabi

2015-07-24 Thread Ed Schouten
Author: ed Date: Fri Jul 24 07:46:02 2015 New Revision: 285834 URL: https://svnweb.freebsd.org/changeset/base/285834 Log: Implement the basic system calls that operate on pathnames. Summary: Unlike FreeBSD, CloudABI does not use null terminated strings for its pathnames. Introduce a

Re: svn: head/sys: conf dev/vt dev/vt/logo

2015-07-24 Thread Maxim Sobolev
Oh my! But in the past we've used to have splash so why not? I am just curious if someone if working on libvgl support in the vt? I think the graphics should go into loadable module, though. So it's easy to change or amend. -Max On Tue, Jul 21, 2015 at 1:33 PM, Conrad E. Meyer c...@freebsd.org

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread Mark R V Murray
On 24 Jul 2015, at 02:25, John-Mark Gurney j...@funkthat.com wrote: I would like to point out that the goal of collecting large amounts is starting to fall out of favor, and I happen to agree with the likes of djb[1] that we don't need an infinite amount of entropy collected by the system.

svn commit: r285836 - head/usr.bin/man

2015-07-24 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 24 09:20:02 2015 New Revision: 285836 URL: https://svnweb.freebsd.org/changeset/base/285836 Log: inode should be different to actually mean mandocdb is in used Sponsored by: gandi.net Modified: head/usr.bin/man/man.sh Modified: head/usr.bin/man/man.sh

svn commit: r285835 - head/usr.bin/man

2015-07-24 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 24 09:10:03 2015 New Revision: 285835 URL: https://svnweb.freebsd.org/changeset/base/285835 Log: Fix man -k with mandocdb If apropos(1) and whatis(1) are not hardlinks to man(1) that means the system is using mandocdb, then man -k should spawn apropos(1)

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread Ian Lepore
On Fri, 2015-07-24 at 07:59 +0100, Mark R V Murray wrote: On 24 Jul 2015, at 02:25, John-Mark Gurney j...@funkthat.com wrote: I would like to point out that the goal of collecting large amounts is starting to fall out of favor, and I happen to agree with the likes of djb[1] that we

svn commit: r285840 - head/sys/dev/mpt

2015-07-24 Thread Marius Strobl
Author: marius Date: Fri Jul 24 16:00:35 2015 New Revision: 285840 URL: https://svnweb.freebsd.org/changeset/base/285840 Log: - In mpt_send_handshake_cmd(), use bus_space_write_stream_4(9) for writing raw data to the doorbell offset in order to clarify the intent and for avoiding

svn commit: r285839 - in head/sys: kern sparc64/include sparc64/sparc64

2015-07-24 Thread Marius Strobl
Author: marius Date: Fri Jul 24 15:13:21 2015 New Revision: 285839 URL: https://svnweb.freebsd.org/changeset/base/285839 Log: o Revert the other functional half of r239864, i. e. the merge of r134227 from x86 to use smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for

svn commit: r285857 - head/bin/ls

2015-07-24 Thread Allan Jude
Author: allanjude (doc committer) Date: Fri Jul 24 20:20:59 2015 New Revision: 285857 URL: https://svnweb.freebsd.org/changeset/base/285857 Log: Cast uid and gid to the correct type for display to solve segfault in ls(1) on 32bit arches Correctly escape literal % for display This

Re: svn commit: r285854 - head/sys/amd64/include

2015-07-24 Thread John-Mark Gurney
Alan Cox wrote this message on Fri, Jul 24, 2015 at 19:43 +: Author: alc Date: Fri Jul 24 19:43:18 2015 New Revision: 285854 URL: https://svnweb.freebsd.org/changeset/base/285854 Log: Add a comment discussing the appropriate use of the atomic_*() functions with acquire and release

svn commit: r285841 - in head: contrib/elftoolchain/common contrib/elftoolchain/readelf sys/sys usr.bin/elfdump

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 16:52:21 2015 New Revision: 285841 URL: https://svnweb.freebsd.org/changeset/base/285841 Log: Add RISC-V ELF machine type definition EM_RISCV is now officially registered as e_machine 243. MFC after:1 month Sponsored by: The FreeBSD Foundation

svn commit: r285845 - head/contrib/elftoolchain/readelf

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 18:00:53 2015 New Revision: 285845 URL: https://svnweb.freebsd.org/changeset/base/285845 Log: readelf: avoid division by zero on section entry size ELF Tool Chain tickets #439, #444, #445, #467 Reported by: Alexander Cherepanov chere...@mccme.ru (#467)

svn commit: r285847 - head/sbin/init

2015-07-24 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 24 18:14:57 2015 New Revision: 285847 URL: https://svnweb.freebsd.org/changeset/base/285847 Log: Add missing SIGUSR1 description. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sbin/init/init.8 Modified: head/sbin/init/init.8

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread Mark R V Murray
On 24 Jul 2015, at 16:25, Ian Lepore i...@freebsd.org wrote: But keep in mind that loader(8) is optional and not used at all on some non-x86 systems. Duly noted. It’s on my TODO list to talk to you embedded folks about this. M -- Mark R V Murray

svn commit: r285842 - head/usr.bin/truss

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 16:57:13 2015 New Revision: 285842 URL: https://svnweb.freebsd.org/changeset/base/285842 Log: truss: follow pdfork()ed descendents with -f PR: 201276 Reported by: David Drysdale Reviewed by: oshogbo MFC after:1 week Sponsored by: The

svn commit: r285844 - head/usr.bin/ar

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 17:46:43 2015 New Revision: 285844 URL: https://svnweb.freebsd.org/changeset/base/285844 Log: ar: add -U (unique) option to disable -D (deterministic) mode This is required in order for us to support deterministic mode by default. If multiple -D or -U

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

2015-07-24 Thread Marius Strobl
Author: marius Date: Fri Jul 24 17:01:16 2015 New Revision: 285843 URL: https://svnweb.freebsd.org/changeset/base/285843 Log: - Since r253161, uart_intr() abuses FILTER_SCHEDULE_THREAD for signaling uart_bus_attach() during its test that 20 iterations weren't sufficient for clearing all

svn commit: r285858 - head/share/man/man4

2015-07-24 Thread Christian Brueffer
Author: brueffer Date: Fri Jul 24 21:48:53 2015 New Revision: 285858 URL: https://svnweb.freebsd.org/changeset/base/285858 Log: Add a basic manpage for the pms driver. MFC after:1 week Committed from: Essen FreeBSD Hackathon Added: head/share/man/man4/pms.4 (contents,

svn commit: r285861 - in releng/10.2/usr.sbin/ntp: . ntpd

2015-07-24 Thread Xin LI
Author: delphij Date: Fri Jul 24 22:08:57 2015 New Revision: 285861 URL: https://svnweb.freebsd.org/changeset/base/285861 Log: MFS r285856: MFC r285701: Use fixed date/time (the time choosen was the time the import was done on -HEAD) in libntp so we can make reproducible build.

svn commit: r285862 - head/sys/kern

2015-07-24 Thread Xin LI
Author: delphij Date: Fri Jul 24 22:13:39 2015 New Revision: 285862 URL: https://svnweb.freebsd.org/changeset/base/285862 Log: Fix a typo in comment. Submitted by: Yanhui Shen via twitter MFC after:3 days Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

svn commit: r285837 - head/sys/netinet

2015-07-24 Thread Randall Stewart
Author: rrs Date: Fri Jul 24 14:09:03 2015 New Revision: 285837 URL: https://svnweb.freebsd.org/changeset/base/285837 Log: Fix an issue with MAC OS locking and also optimize the case where we are sending back a stream-reset and a sack timer is running, in that case we should just send the

svn commit: r285838 - head/sys/netinet

2015-07-24 Thread Randall Stewart
Author: rrs Date: Fri Jul 24 14:13:43 2015 New Revision: 285838 URL: https://svnweb.freebsd.org/changeset/base/285838 Log: Fix silly syntax error emacs chugged in for me.. gesh. MFC after:3 weeks Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c

svn commit: r285848 - svnadmin/conf

2015-07-24 Thread Glen Barber
Author: gjb Date: Fri Jul 24 19:05:08 2015 New Revision: 285848 URL: https://svnweb.freebsd.org/changeset/base/285848 Log: The stable/10 branch no longer requires explicit re@ approval for commits. Committers are asked to please exercise caution when merging changes to stable/10 for the

svn commit: r285849 - stable/10/usr.sbin/pmcstudy

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 19:09:11 2015 New Revision: 285849 URL: https://svnweb.freebsd.org/changeset/base/285849 Log: MFC r277485 by rrs: Fix minor errors found by coverity. PR: 201594 Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r285803 - head/bin/ls

2015-07-24 Thread Allan Jude
On 2015-07-24 13:58, Antoine Brodin wrote: On Wed, Jul 22, 2015 at 9:58 PM, Allan Jude allanj...@freebsd.org wrote: Author: allanjude (doc committer) Date: Wed Jul 22 19:58:21 2015 New Revision: 285803 URL: https://svnweb.freebsd.org/changeset/base/285803 Log: Remove an excess space

svn commit: r285851 - stable/10/usr.sbin/bsnmpd/modules/snmp_hostres

2015-07-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 24 19:21:48 2015 New Revision: 285851 URL: https://svnweb.freebsd.org/changeset/base/285851 Log: MFC r285719: snmp_hostres(3): Fix buffer overflow. Actually just a typo. Detected by gcc + FORTIFY_SOURCE patches. CID: 1007594 Modified:

svn commit: r285852 - stable/9/usr.sbin/bsnmpd/modules/snmp_hostres

2015-07-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 24 19:26:06 2015 New Revision: 285852 URL: https://svnweb.freebsd.org/changeset/base/285852 Log: MFC r285719: snmp_hostres(3): Fix buffer overflow. Actually just a typo. Detected by gcc + FORTIFY_SOURCE patches. CID: 1007594 Modified:

svn commit: r285855 - in releng/10.2/release/doc: en_US.ISO8859-1/readme share/xml

2015-07-24 Thread Glen Barber
Author: gjb Date: Fri Jul 24 19:50:55 2015 New Revision: 285855 URL: https://svnweb.freebsd.org/changeset/base/285855 Log: Fix rendering of a URL. Update entities to reflect 10.2-RELEASE in preparation for adding the hardware, relnotes, and installation pages to the website. Approved

svn commit: r285850 - releng/10.2/release/pkg_repos

2015-07-24 Thread Glen Barber
Author: gjb Date: Fri Jul 24 19:16:16 2015 New Revision: 285850 URL: https://svnweb.freebsd.org/changeset/base/285850 Log: Update the pkg.conf(5) for the dvd1.iso packages to use the 'quarterly' branch, which was missed in r285830. Approved by: re (implicit) Sponsored by: The FreeBSD

svn commit: r285853 - releng/10.2/usr.sbin/pmcstudy

2015-07-24 Thread Ed Maste
Author: emaste Date: Fri Jul 24 19:37:30 2015 New Revision: 285853 URL: https://svnweb.freebsd.org/changeset/base/285853 Log: MFS r285849: Fix minor errors found by coverity. PR: 201594 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r285803 - head/bin/ls

2015-07-24 Thread Pedro Giffuni
On 07/24/15 14:10, Allan Jude wrote: ... The r285734 change didn't explicitly cast some references to uid_t, resulting in a segfault on i386. Clang generated a warning about this immediately while I was debugging when I duplicated the xo_emit command as a printf. Can we teach our

svn commit: r285856 - in stable/10/usr.sbin/ntp: . ntpd

2015-07-24 Thread Xin LI
Author: delphij Date: Fri Jul 24 19:51:51 2015 New Revision: 285856 URL: https://svnweb.freebsd.org/changeset/base/285856 Log: MFC r285701: Use fixed date/time (the time choosen was the time the import was done on -HEAD) in libntp so we can make reproducible build. PR:

Re: svn commit: r285803 - head/bin/ls

2015-07-24 Thread Allan Jude
On 2015-07-24 15:41, Pedro Giffuni wrote: On 07/24/15 14:10, Allan Jude wrote: ... The r285734 change didn't explicitly cast some references to uid_t, resulting in a segfault on i386. Clang generated a warning about this immediately while I was debugging when I duplicated the xo_emit

svn commit: r285854 - head/sys/amd64/include

2015-07-24 Thread Alan Cox
Author: alc Date: Fri Jul 24 19:43:18 2015 New Revision: 285854 URL: https://svnweb.freebsd.org/changeset/base/285854 Log: Add a comment discussing the appropriate use of the atomic_*() functions with acquire and release semantics versus the *mb() functions on amd64 processors.

Re: svn commit: r285803 - head/bin/ls

2015-07-24 Thread Antoine Brodin
On Wed, Jul 22, 2015 at 9:58 PM, Allan Jude allanj...@freebsd.org wrote: Author: allanjude (doc committer) Date: Wed Jul 22 19:58:21 2015 New Revision: 285803 URL: https://svnweb.freebsd.org/changeset/base/285803 Log: Remove an excess space accidently introduced in the output in ls(1) by

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

2015-07-24 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 24 18:13:13 2015 New Revision: 285846 URL: https://svnweb.freebsd.org/changeset/base/285846 Log: Add missing capitalization. Modified: head/lib/libc/sys/reboot.2 Modified: head/lib/libc/sys/reboot.2

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

2015-07-24 Thread Christian Brueffer
Author: brueffer Date: Fri Jul 24 21:55:16 2015 New Revision: 285859 URL: https://svnweb.freebsd.org/changeset/base/285859 Log: Auto-generate hardware notes for pms(4). MFC after:1 week Committed from: Essen FreeBSD Hackathon Modified:

svn commit: r285860 - releng/10.2/release/doc/share/xml

2015-07-24 Thread Glen Barber
Author: gjb Date: Fri Jul 24 22:00:44 2015 New Revision: 285860 URL: https://svnweb.freebsd.org/changeset/base/285860 Log: Add a local entity for the pms(4) driver. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: releng/10.2/release/doc/share/xml/release.ent

svn commit: r285863 - in stable/10/sys/dev: pccbb pci

2015-07-24 Thread John Baldwin
Author: jhb Date: Sat Jul 25 00:14:02 2015 New Revision: 285863 URL: https://svnweb.freebsd.org/changeset/base/285863 Log: Partially revert r284034. In particular, revert the final change in this MFC (281874). It broke suspend and resume on several Thinkpads (though not all) in 10 even

svn commit: r285865 - head/sys/dev/ofw

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 00:58:50 2015 New Revision: 285865 URL: https://svnweb.freebsd.org/changeset/base/285865 Log: OF_getencprop_alloc shouldn't be used to get string value. If string length + 1 is not divisible by 4 this function returns NULL property value. Otherwise - string

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread Scott Long via svn-src-all
On Jul 24, 2015, at 12:59 AM, Mark R V Murray ma...@freebsd.org wrote: On 24 Jul 2015, at 02:25, John-Mark Gurney j...@funkthat.com wrote: I would like to point out that the goal of collecting large amounts is starting to fall out of favor, and I happen to agree with the likes of

svn commit: r285867 - head/sys/arm/ti/am335x

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 03:03:32 2015 New Revision: 285867 URL: https://svnweb.freebsd.org/changeset/base/285867 Log: Synchronize PIN input/output modes with gnu/dts/include/dt-bindings/pinctrl/am33xx.h gpio driver requires exact value to match SoC pin mode with GPIO pin direction

svn commit: r285868 - head/sys/arm/ti/am335x

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 03:19:02 2015 New Revision: 285868 URL: https://svnweb.freebsd.org/changeset/base/285868 Log: Fix color mapping for TDA19988. Values for VIP_CNTRL_1 and VIP_CNTRL_2 registers were mixed up Modified: head/sys/arm/ti/am335x/tda19988.c Modified:

svn commit: r285864 - head/lib/libc/stdlib

2015-07-24 Thread Xin LI
Author: delphij Date: Sat Jul 25 00:21:29 2015 New Revision: 285864 URL: https://svnweb.freebsd.org/changeset/base/285864 Log: Document the fact that system(3) can easily be misused due to shell meta characters are honored. While I'm there also mention posix_spawn in the SEE ALSO section.

svn commit: r285866 - head/sys/arm/ti/am335x

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 02:59:45 2015 New Revision: 285866 URL: https://svnweb.freebsd.org/changeset/base/285866 Log: If there is panel info in DTB do not wait for HDMI event and setup framebuffer immediately Modified: head/sys/arm/ti/am335x/am335x_lcd.c Modified: