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

2014-07-06 Thread Konstantin Belousov
On Sun, Jul 06, 2014 at 11:39:00PM +0200, Mateusz Guzik wrote: > On Sun, Jul 06, 2014 at 11:18:51PM +0200, Mateusz Guzik wrote: > > On Tue, Jul 01, 2014 at 09:09:03PM +0300, Konstantin Belousov wrote: > > > On Tue, Jul 01, 2014 at 02:54:10PM +0200, Mateusz Guzik wrote: > > > > It is passed down to

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

2014-07-06 Thread Alexander Motin
Author: mav Date: Mon Jul 7 06:17:07 2014 New Revision: 268357 URL: http://svnweb.freebsd.org/changeset/base/268357 Log: Correction to r268356: collide only sessions to the same target. Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c =

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

2014-07-06 Thread Alexander Motin
Author: mav Date: Mon Jul 7 05:48:11 2014 New Revision: 268356 URL: http://svnweb.freebsd.org/changeset/base/268356 Log: When new connection comes in, check whether we already have session from the same intiator (Name+ISID). If so -- terminate the old session and let the new one take its p

svn commit: r268355 - stable/10/lib/libc/stdlib

2014-07-06 Thread Andrey A. Chernov
Author: ache Date: Mon Jul 7 05:31:50 2014 New Revision: 268355 URL: http://svnweb.freebsd.org/changeset/base/268355 Log: MFC 267756: Merge intermediate OpenBSD v1.25 changes (almost identical to ours) to reduce diff and bump OpenBSD patch level to v1.26. Modified: stable/10/lib/libc/

svn commit: r268354 - head/sys/dev/usb/controller

2014-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 7 05:17:16 2014 New Revision: 268354 URL: http://svnweb.freebsd.org/changeset/base/268354 Log: Improve support for Intel Lynx Point USB 3.0 controllers by masking the port routing bits like done in Linux. MFC after:1 week Tested by:Tur-Wei Chan

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

2014-07-06 Thread Alexander Motin
Author: mav Date: Mon Jul 7 03:10:56 2014 New Revision: 268353 URL: http://svnweb.freebsd.org/changeset/base/268353 Log: Implement ABORT TASK SET and I_T NEXUS RESET task management functions. Use the last one to terminate active commands on iSCSI session termination. Previous code was a

svn commit: r268352 - stable/10/lib/libc/stdlib

2014-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 7 02:47:41 2014 New Revision: 268352 URL: http://svnweb.freebsd.org/changeset/base/268352 Log: MFC r267745, r268268: getopt(3): recognize option:: as GNU extension for "optional options". Also ANSIfy a function declaration. While here update the OpenBSD p

Re: svn commit: r268351 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libzpool etc/etc.ia64 gnu/lib/csu gnu/lib/libgcc gnu/usr.bin/binutils/as/ia64-freebsd gnu/usr.bin/binutils/ld

2014-07-06 Thread Glen Barber
On Mon, Jul 07, 2014 at 12:27:09AM +, Marcel Moolenaar wrote: > Author: marcel > Date: Mon Jul 7 00:27:09 2014 > New Revision: 268351 > URL: http://svnweb.freebsd.org/changeset/base/268351 > > Log: > Remove ia64. > And gjb is sad, because ia64 snapshots took such little time to build.

svn commit: r268351 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libzpool etc/etc.ia64 gnu/lib/csu gnu/lib/libgcc gnu/usr.bin/binutils/as/ia64-freebsd gnu/usr.bin/binutils/ld g...

2014-07-06 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 7 00:27:09 2014 New Revision: 268351 URL: http://svnweb.freebsd.org/changeset/base/268351 Log: Remove ia64. This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific m

svn commit: r268350 - head/sys/dev/vt/hw/ofwfb

2014-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 7 00:12:18 2014 New Revision: 268350 URL: http://svnweb.freebsd.org/changeset/base/268350 Log: Use common vt_fb parts in ofwfb as far as we are able without sacrificing performance. MFC after:2 weeks Modified: head/sys/dev/vt/hw/ofwfb/ofwfb.c Modi

svn commit: r268349 - head/sys/netinet6

2014-07-06 Thread Bryan Venteicher
Author: bryanv Date: Mon Jul 7 00:02:49 2014 New Revision: 268349 URL: http://svnweb.freebsd.org/changeset/base/268349 Log: Use the appropriate IPv6 hashtype defines when looking up the PCBGROUP Reviewed by: adrian@ Modified: head/sys/netinet6/in6_pcbgroup.c Modified: head/sys/netinet

svn commit: r268348 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 23:27:13 2014 New Revision: 268348 URL: http://svnweb.freebsd.org/changeset/base/268348 Log: MFC r268002: Call fdcloseexec right after fdunshare. No functional changes. Modified: stable/10/sys/kern/kern_exec.c Directory Properties: stable/10/ (props

svn commit: r268346 - stable/10/usr.sbin/pw

2014-07-06 Thread Baptiste Daroussin
Author: bapt Date: Sun Jul 6 23:24:06 2014 New Revision: 268346 URL: http://svnweb.freebsd.org/changeset/base/268346 Log: MFH: r264781, r267669, r267670 Simplify reading pw.conf(5) by using getline(3) Removed compatibility with pre FreeBSD 2.2 pw_mkdb command [1] Fix some broken ind

svn commit: r268345 - in stable/10/sys: kern sys

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 23:23:01 2014 New Revision: 268345 URL: http://svnweb.freebsd.org/changeset/base/268345 Log: MFC r268001: Make fdunshare accept only td parameter. Proc had to match the thread anyway and 2 parameters were inconsistent with the rest. Modified: stable/10/sy

svn commit: r268344 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 23:20:48 2014 New Revision: 268344 URL: http://svnweb.freebsd.org/changeset/base/268344 Log: MFC r268000: Make sure to always clear p_fd for process getting rid of its filetable. Filetable can be shared with other processes. Previous code failed to clear

svn commit: r268343 - stable/10

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 23:17:21 2014 New Revision: 268343 URL: http://svnweb.freebsd.org/changeset/base/268343 Log: Add mergeinfo missed in r268335-r268341 Prodded by: gjb Modified: Directory Properties: stable/10/ (props changed) ___

svn commit: r268342 - head

2014-07-06 Thread Gavin Atkinson
Author: gavin Date: Sun Jul 6 23:08:47 2014 New Revision: 268342 URL: http://svnweb.freebsd.org/changeset/base/268342 Log: Remove /usr/share/doc/psd/28.cvs/paper.ps.gz if it exists, as it is obsolete since r251794. PR: 191003 Submitted by: Vick Khera MFC after:3 days M

svn commit: r268341 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 23:01:29 2014 New Revision: 268341 URL: http://svnweb.freebsd.org/changeset/base/268341 Log: MFC r267947: Check lower bound of cmsg_len. If passed cm->cmsg_len was below cmsghdr size the experssion: datalen = (caddr_t)cm + cm->cmsg_len - (caddr_t)data;

svn commit: r268340 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:58:53 2014 New Revision: 268340 URL: http://svnweb.freebsd.org/changeset/base/268340 Log: MFC r267760: Tidy up fd-related functions called by do_execve o assert in each one that fdp is not shared o remove unnecessary NULL checks - all userspace processes

svn commit: r268339 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:56:34 2014 New Revision: 268339 URL: http://svnweb.freebsd.org/changeset/base/268339 Log: MFC r267755: Don't take filedesc lock in fdunshare(). We can read refcnt safely and only care if it is equal to 1. If it could suddenly change from 1 to someth

svn commit: r268338 - in stable/10/sys: kern sys

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:54:17 2014 New Revision: 268338 URL: http://svnweb.freebsd.org/changeset/base/268338 Log: MFC r267710: fd: replace fd_nfiles with fd_lastfile where appropriate fd_lastfile is guaranteed to be the biggest open fd, so when the intent is to iterate over a

svn commit: r268337 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:51:53 2014 New Revision: 268337 URL: http://svnweb.freebsd.org/changeset/base/268337 Log: MFC r267708: do_dup: plug redundant adjustment of fd_lastfile By that time it was already set by fdalloc, or was there in the first place if fd is replaced. Modi

svn commit: r268336 - stable/10/sys/kern

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:49:07 2014 New Revision: 268336 URL: http://svnweb.freebsd.org/changeset/base/268336 Log: MFC r265247: Request a non-exiting process in sysctl_kern_proc_{o,}filedesc This fixes a race with exit1 freeing p_textvp. Modified: stable/10/sys/kern/kern_descrip

svn commit: r268335 - in stable/10/sys: fs/fifofs kern sys

2014-07-06 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 6 22:47:18 2014 New Revision: 268335 URL: http://svnweb.freebsd.org/changeset/base/268335 Log: MFC r265206: Ignore the error from pipespace_new when creating a pipe. It can fail if pipe map is exhausted (as a result of too many pipes created), but it is not

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

2014-07-06 Thread Mateusz Guzik
On Sun, Jul 06, 2014 at 11:18:51PM +0200, Mateusz Guzik wrote: > On Tue, Jul 01, 2014 at 09:09:03PM +0300, Konstantin Belousov wrote: > > On Tue, Jul 01, 2014 at 02:54:10PM +0200, Mateusz Guzik wrote: > > > It is passed down to MAC (mac_vnode_execve_will_transition and > > > mac_vnode_execve_transi

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

2014-07-06 Thread Mateusz Guzik
On Tue, Jul 01, 2014 at 09:09:03PM +0300, Konstantin Belousov wrote: > On Tue, Jul 01, 2014 at 02:54:10PM +0200, Mateusz Guzik wrote: > > It is passed down to MAC (mac_vnode_execve_will_transition and > > mac_vnode_execve_transition) and then vfs_mark_atime. > And we can lock it only there. > I d

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

2014-07-06 Thread Andreas Tobler
Author: andreast Date: Sun Jul 6 20:09:23 2014 New Revision: 268330 URL: http://svnweb.freebsd.org/changeset/base/268330 Log: Make gcc happy, init idlen2. Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ==

Re: svn commit: r268310 - head/libexec/rtld-elf/arm

2014-07-06 Thread Nathan Whitehorn
Thank you! I can now upgrade my AVILA for the first time in 3 years. Most things seem to work fine, despite the long absence. -Nathan On 07/06/14 03:24, Andrew Turner wrote: Author: andrew Date: Sun Jul 6 10:24:06 2014 New Revision: 268310 URL: http://svnweb.freebsd.org/changeset/base/268310

svn commit: r268328 - in head: sys/cam/ctl usr.sbin/ctld

2014-07-06 Thread Alexander Motin
Author: mav Date: Sun Jul 6 17:57:59 2014 New Revision: 268328 URL: http://svnweb.freebsd.org/changeset/base/268328 Log: Close race in r268291 between port destruction, delayed by sessions teardown, and new port creation during `service ctld restart`. Close it by returning iSCSI port int

svn commit: r268327 - in head/sys: amd64/amd64 i386/i386 i386/xen ia64/ia64 mips/mips sparc64/sparc64 vm

2014-07-06 Thread Alan Cox
Author: alc Date: Sun Jul 6 17:42:38 2014 New Revision: 268327 URL: http://svnweb.freebsd.org/changeset/base/268327 Log: Introduce pmap_unwire(). It will replace pmap_change_wiring(). There are several reasons for this change: pmap_change_wiring() has never (in my memory) been used to

svn commit: r268326 - in head: sys/dev/iscsi usr.sbin/iscsid

2014-07-06 Thread Alexander Motin
Author: mav Date: Sun Jul 6 17:37:49 2014 New Revision: 268326 URL: http://svnweb.freebsd.org/changeset/base/268326 Log: Make iSCSI initiator keep Initiator Session ID (ISID) across reconnects. Previously ISID was changed every time, that made impossible correct persistent reservation, b

svn commit: r268325 - stable/10/usr.bin/sed

2014-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 6 17:29:19 2014 New Revision: 268325 URL: http://svnweb.freebsd.org/changeset/base/268325 Log: MFC r268193, r268203: Fix sed(1) usage: the -i extension is not an optional. Modified: stable/10/usr.bin/sed/main.c Directory Properties: stable/10/ (props chan

svn commit: r268324 - stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 6 17:23:25 2014 New Revision: 268324 URL: http://svnweb.freebsd.org/changeset/base/268324 Log: MFC r268125: Small merges from OpenSolaris: These have no effect on FreeBSD, in fact they are ifdef'ed, but make easier future merges: 6699767 panic in spe

svn commit: r268323 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-07-06 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 6 17:18:48 2014 New Revision: 268323 URL: http://svnweb.freebsd.org/changeset/base/268323 Log: MFC r268125: Small merges from OpenSolaris: These have no effect on FreeBSD, in fact they are ifdef'ed, but make easier future merges: 6699767 panic in spe

svn commit: r268321 - head/sys/powerpc/include

2014-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jul 6 16:20:37 2014 New Revision: 268321 URL: http://svnweb.freebsd.org/changeset/base/268321 Log: In case we ever support little-endian PowerPC (probably userland only), avoid hardcoding endianness here. Modified: head/sys/powerpc/include/endian.h Modified: h

svn commit: r268320 - in head/sys/powerpc: include powerpc

2014-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jul 6 16:19:55 2014 New Revision: 268320 URL: http://svnweb.freebsd.org/changeset/base/268320 Log: Add a new CPU id for a POWER8 variant. Modified: head/sys/powerpc/include/spr.h head/sys/powerpc/powerpc/cpu.c Modified: head/sys/powerpc/include/spr.h =

svn commit: r268316 - in head/sys/ofed: drivers/infiniband/hw/mlx4 drivers/net/mlx4 include/linux

2014-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 6 14:22:13 2014 New Revision: 268316 URL: http://svnweb.freebsd.org/changeset/base/268316 Log: Fix OFED startup order: All SYSINIT()'s and modules should be loaded prior to starting "/sbin/init" which will run all the "/etc/rc.d/xxx" scripts. Else there can be

svn commit: r268315 - head/sys/ofed/drivers/infiniband/hw/mlx4

2014-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 6 14:20:47 2014 New Revision: 268315 URL: http://svnweb.freebsd.org/changeset/base/268315 Log: Fix compile warning. MFC after:4 weeks Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c Modified: head/sys/ofe

svn commit: r268314 - head/sys/ofed/drivers/infiniband/hw/mlx4

2014-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 6 14:14:07 2014 New Revision: 268314 URL: http://svnweb.freebsd.org/changeset/base/268314 Log: Fix some compile warnings. MFC after:4 weeks Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/hw/mlx4/qp.c Modified: head/sy

Re: svn commit: r268045 - in head/sys: amd64/conf i386/conf

2014-07-06 Thread Stefan Farfeleder
On Mon, Jun 30, 2014 at 04:18:38PM +, Ed Maste wrote: > Author: emaste > Date: Mon Jun 30 16:18:38 2014 > New Revision: 268045 > URL: http://svnweb.freebsd.org/changeset/base/268045 > > Log: > Add vt(4) to GENERIC and retire the separate VT config > > vt(4) and sc(4) can now coexist in

svn commit: r268310 - head/libexec/rtld-elf/arm

2014-07-06 Thread Andrew Turner
Author: andrew Date: Sun Jul 6 10:24:06 2014 New Revision: 268310 URL: http://svnweb.freebsd.org/changeset/base/268310 Log: Align the stack in _rtld_bind_start. Normally this is called with the correct stack alignment, however when we have a leaf function that uses thread local storage it c

svn commit: r268309 - in head/sys/cam: ctl scsi

2014-07-06 Thread Alexander Motin
Author: mav Date: Sun Jul 6 07:34:18 2014 New Revision: 268309 URL: http://svnweb.freebsd.org/changeset/base/268309 Log: Add support for SCSI Ports (88h) VPD page. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/scsi/scsi_all.h Modified: head/sys/cam/ctl/ctl.c ==

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

2014-07-06 Thread Alexander Motin
Author: mav Date: Sun Jul 6 07:02:36 2014 New Revision: 268308 URL: http://svnweb.freebsd.org/changeset/base/268308 Log: Make REPORT TARGET PORT GROUPS command report realistic data instead of hardcoded garbage. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_private.h Modified: h