svn commit: r312618 - head/tools/tools/ath/athalq

2017-01-21 Thread Adrian Chadd
Author: adrian Date: Sun Jan 22 07:05:41 2017 New Revision: 312618 URL: https://svnweb.freebsd.org/changeset/base/312618 Log: [athalq] fix rxtimestamp wrapping; print out per-packet timestamp deltas. The delta here is just between the current TX/RX copmletion and the previous TX/RX comple

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

2017-01-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 22 06:30:55 2017 New Revision: 312617 URL: https://svnweb.freebsd.org/changeset/base/312617 Log: Hide the 'MOREARGS' macro, it conflicts with contrib code, and is only used in one file. PR: 211818 Reported by: Mark Millard MFC after:2 week

svn commit: r312616 - head/tools/tools/ath/athalq

2017-01-21 Thread Adrian Chadd
Author: adrian Date: Sun Jan 22 06:25:41 2017 New Revision: 312616 URL: https://svnweb.freebsd.org/changeset/base/312616 Log: [athalq] print out unsigned tx timestamps. Modified: head/tools/tools/ath/athalq/ar9300_ds.c Modified: head/tools/tools/ath/athalq/ar9300_ds.c ===

svn commit: r312615 - head/sys/powerpc/mpc85xx

2017-01-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 22 06:17:31 2017 New Revision: 312615 URL: https://svnweb.freebsd.org/changeset/base/312615 Log: Fix r312613. Somehow this slipped through my build testing. Modified: head/sys/powerpc/mpc85xx/fsl_diu.c Modified: head/sys/powerpc/mpc85xx/fsl_diu.c =

svn commit: r312614 - head/sys/conf

2017-01-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 22 06:00:05 2017 New Revision: 312614 URL: https://svnweb.freebsd.org/changeset/base/312614 Log: Don't pass -Wa,-many through clang, the integrated as doesn't support it. Our base binutils sets -many by default anyway, but external gcc may not do this.

svn commit: r312613 - head/sys/powerpc/mpc85xx

2017-01-21 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 22 05:49:43 2017 New Revision: 312613 URL: https://svnweb.freebsd.org/changeset/base/312613 Log: Fix use of uninitialized variable. I don't know how gcc didn't catch this. This was caught during test building with clang. Modified: head/sys/powerpc/mpc85x

svn commit: r312612 - head/sys/dev/ath

2017-01-21 Thread Adrian Chadd
Author: adrian Date: Sun Jan 22 05:45:42 2017 New Revision: 312612 URL: https://svnweb.freebsd.org/changeset/base/312612 Log: [ath] only apply the AR9300 delimiter workaround for the first sub-frame. This is supposed to only be applied to the first subframe and only if RTS/CTS is being do

svn commit: r312611 - head/tools/tools/ath/athalq

2017-01-21 Thread Adrian Chadd
Author: adrian Date: Sun Jan 22 05:28:26 2017 New Revision: 312611 URL: https://svnweb.freebsd.org/changeset/base/312611 Log: [athalq] add debug parsing for the TX FIFO push status. Modified: head/tools/tools/ath/athalq/ar9300_ds.c head/tools/tools/ath/athalq/ar9300_ds.h head/tools/tools/

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

2017-01-21 Thread Bruce Evans
On Sat, 21 Jan 2017, Konstantin Belousov wrote: On Sat, Jan 21, 2017 at 06:38:17PM +, Mateusz Guzik wrote: ... Log: vfs: refactor _vn_lock Stop testing for LK_RETRY and error multiple times. Also postpone the VI_DOOMED until after LK_RETRY was seen as it reads from the vnode. No f

svn commit: r312610 - in head/sys/arm: arm include

2017-01-21 Thread Jason A. Harmening
Author: jah Date: Sun Jan 22 00:46:04 2017 New Revision: 312610 URL: https://svnweb.freebsd.org/changeset/base/312610 Log: Like r310481 for i386, move the objects used to create temporary mappings for armv6 pmap zero and copy operations to the MD PCPU region. Change sysmap initialization to

svn commit: r312609 - head/sys/dev/ath

2017-01-21 Thread Adrian Chadd
Author: adrian Date: Sat Jan 21 23:35:54 2017 New Revision: 312609 URL: https://svnweb.freebsd.org/changeset/base/312609 Log: [ath] improve the debugging when looking into the maximum A-MPDU size being chosen. This is how I caught the "why are we only sending 8K aggregates?" problem. Modi

svn commit: r312608 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 23:07:15 2017 New Revision: 312608 URL: https://svnweb.freebsd.org/changeset/base/312608 Log: Handle the rx queue stall while reading the packets from NIC (when the descriptor state will not change anymore). This seems to eliminate the race where we can miss a

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

2017-01-21 Thread Mateusz Guzik
On Sat, Jan 21, 2017 at 09:51:14PM +0200, Konstantin Belousov wrote: > On Sat, Jan 21, 2017 at 06:38:17PM +, Mateusz Guzik wrote: > > + if (flags & LK_RETRY) { > Stylish test is > if ((flags & LK_RETRY) != 0) { > > + if ((error != 0)) > Too many (). > > > +

svn commit: r312607 - head/sys/dev/ath

2017-01-21 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 21 21:03:26 2017 New Revision: 312607 URL: https://svnweb.freebsd.org/changeset/base/312607 Log: ath: adapt LDPC support checks Set both IEEE80211_HTCAP_LDPC and IEEE80211_HTC_TXLDPC capability flags if LDPC is supported + set 'do_ldpc = 1' only when it is not d

svn commit: r312606 - head/sys/kern

2017-01-21 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 21 20:34:20 2017 New Revision: 312606 URL: https://svnweb.freebsd.org/changeset/base/312606 Log: vfs: fix LK_RETRY logic braino in r312600 Modified: head/sys/kern/vfs_vnops.c Modified: head/sys/kern/vfs_vnops.c ===

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

2017-01-21 Thread Ngie Cooper (yaneurabeya)
> On Jan 21, 2017, at 08:59, Mateusz Guzik wrote: > > Author: mjg > Date: Sat Jan 21 16:59:50 2017 > New Revision: 312598 > URL: https://svnweb.freebsd.org/changeset/base/312598 > > Log: > vfs: hide the getvnode NULL mp message behind DIAGNOSTIC > > Since crossmp vnode changes the message wa

svn commit: r312605 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 19:56:28 2017 New Revision: 312605 URL: https://svnweb.freebsd.org/changeset/base/312605 Log: Commit the struture changes for the padding of small packets on if_cpsw. Should have been committed together with r312604. MFC with: r312604 Modified: head

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

2017-01-21 Thread Konstantin Belousov
On Sat, Jan 21, 2017 at 06:38:17PM +, Mateusz Guzik wrote: > Author: mjg > Date: Sat Jan 21 18:38:16 2017 > New Revision: 312600 > URL: https://svnweb.freebsd.org/changeset/base/312600 > > Log: > vfs: refactor _vn_lock > > Stop testing for LK_RETRY and error multiple times. Also postpon

svn commit: r312604 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 19:49:39 2017 New Revision: 312604 URL: https://svnweb.freebsd.org/changeset/base/312604 Log: Simplify the handling of small packets padding in cpsw: - Pad small packets to 60 bytes and not 64 (exclude the CRC bytes); - Pad the packet using m_append(9), if

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 19:38:26 2017 New Revision: 312603 URL: https://svnweb.freebsd.org/changeset/base/312603 Log: Add initial support for CTL module unloading. It is only a first step and not perfect, but better then nothing. The main blocker is CAM target frontend, that can not

svn commit: r312602 - head/sys/kern

2017-01-21 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 21 19:01:42 2017 New Revision: 312602 URL: https://svnweb.freebsd.org/changeset/base/312602 Log: vfs: __predict_false the need to handle F_HASLOCK Also reorder the check with DTYPE_VNODE. Passed files are vnodes vast majority of the time, so it is typically true.

svn commit: r312601 - head/sys/kern

2017-01-21 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 21 18:56:58 2017 New Revision: 312601 URL: https://svnweb.freebsd.org/changeset/base/312601 Log: vfs: fix whitespace damage in r312600 While here wrap the previously overly long line so that it fits 80 chars. Modified: head/sys/kern/vfs_vnops.c Modified: head/s

svn commit: r312600 - head/sys/kern

2017-01-21 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 21 18:38:16 2017 New Revision: 312600 URL: https://svnweb.freebsd.org/changeset/base/312600 Log: vfs: refactor _vn_lock Stop testing for LK_RETRY and error multiple times. Also postpone the VI_DOOMED until after LK_RETRY was seen as it reads from the vnode.

Re: svn commit: r312588 - head/sys/mips/conf

2017-01-21 Thread Konstantin Belousov
On Sat, Jan 21, 2017 at 10:50:54AM -0700, Ian Lepore wrote: > On Sat, 2017-01-21 at 13:41 +0200, Konstantin Belousov wrote: > > On Sat, Jan 21, 2017 at 09:08:28AM +, Brooks Davis wrote: > > > > > > +optionsĀ  TMPFS #Efficient memory > > > filesystem > > Is the word 'efficient'

Re: svn commit: r312588 - head/sys/mips/conf

2017-01-21 Thread Ian Lepore
On Sat, 2017-01-21 at 13:41 +0200, Konstantin Belousov wrote: > On Sat, Jan 21, 2017 at 09:08:28AM +, Brooks Davis wrote: > > > > +optionsĀ  TMPFS #Efficient memory > > filesystem > Is the word 'efficient' copied from somewhere ? Yes, I see it in > sys/conf/NOTES. I do not s

svn commit: r312599 - head/sys/sys

2017-01-21 Thread Conrad E. Meyer
Author: cem Date: Sat Jan 21 17:39:10 2017 New Revision: 312599 URL: https://svnweb.freebsd.org/changeset/base/312599 Log: Add remaining ELF compression definitions and structs A follow-up to r300231. Sponsored by: Dell EMC Isilon Modified: head/sys/sys/elf32.h head/sys/sys/elf64.

svn commit: r312598 - head/sys/kern

2017-01-21 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 21 16:59:50 2017 New Revision: 312598 URL: https://svnweb.freebsd.org/changeset/base/312598 Log: vfs: hide the getvnode NULL mp message behind DIAGNOSTIC Since crossmp vnode changes the message was being printed on each boot. Reported by: trasz Discussed wi

svn commit: r312597 - in head/sys/dev/rtwn: . rtl8812a rtl8812a/usb rtl8821a/usb

2017-01-21 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 21 15:03:58 2017 New Revision: 312597 URL: https://svnweb.freebsd.org/changeset/base/312597 Log: rtwn: enable LDPC support where possible Tested with RTL8821AU, STA mode. Modified: head/sys/dev/rtwn/if_rtwn.c head/sys/dev/rtwn/rtl8812a/r12a_rx.c head/sys/de

svn commit: r312596 - in head: sbin/ifconfig sys/net80211

2017-01-21 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 21 14:19:06 2017 New Revision: 312596 URL: https://svnweb.freebsd.org/changeset/base/312596 Log: net80211: allow to configure LDPC support Tested with RTL8821AU, STA mode (Tx support only) Reviewed by: adrian Differential Revision:https://reviews.f

svn commit: r312595 - svnadmin/conf

2017-01-21 Thread Matthew Seaman
Author: matthew (ports committer) Date: Sat Jan 21 13:25:57 2017 New Revision: 312595 URL: https://svnweb.freebsd.org/changeset/base/312595 Log: versus has given up his commit bit, so it makes no sense to have him under mentorship. Approved by: core (implicit) Modified: svnadmin/conf/

svn commit: r312594 - svnadmin/conf

2017-01-21 Thread Matthew Seaman
Author: matthew (ports committer) Date: Sat Jan 21 13:17:53 2017 New Revision: 312594 URL: https://svnweb.freebsd.org/changeset/base/312594 Log: Take in commit bits for the following nine people who have been inactive for more than 18 months and have agreed they are unlikely to begin contrib

svn commit: r312593 - in head: . contrib/mdocml usr.bin/mandoc

2017-01-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 21 13:17:25 2017 New Revision: 312593 URL: https://svnweb.freebsd.org/changeset/base/312593 Log: Import mandoc cvs snapshot 20170121 (pre 1.14) Note that mandoc does not use anymore sqlite3 but a home made database format An important improvement has been made

svn commit: r312592 - vendor/mdocml/20170121

2017-01-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 21 13:02:53 2017 New Revision: 312592 URL: https://svnweb.freebsd.org/changeset/base/312592 Log: Tag import of mandoc cvs snapshot 20170121 Added: vendor/mdocml/20170121/ - copied from r312590, vendor/mdocml/dist/ vendor/mdocml/20170121/dba.c - copied

svn commit: r312591 - vendor/mdocml/dist

2017-01-21 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 21 13:01:39 2017 New Revision: 312591 URL: https://svnweb.freebsd.org/changeset/base/312591 Log: Import mandoc cvs snapshot 20170121 (pre 1.14) Added: vendor/mdocml/dist/dba.c (contents, props changed) vendor/mdocml/dist/dba.h (contents, props changed

svn commit: r312590 - in stable/10/lib/libc: include stdlib

2017-01-21 Thread Konstantin Belousov
Author: kib Date: Sat Jan 21 12:30:07 2017 New Revision: 312590 URL: https://svnweb.freebsd.org/changeset/base/312590 Log: MFC r311651: Export __cxa_thread_atexit_impl as an alias for __cxa_thread_atexit. Added: stable/10/lib/libc/stdlib/cxa_thread_atexit_impl.c - copied unchanged from

svn commit: r312589 - in stable/11/lib/libc: include stdlib

2017-01-21 Thread Konstantin Belousov
Author: kib Date: Sat Jan 21 11:47:30 2017 New Revision: 312589 URL: https://svnweb.freebsd.org/changeset/base/312589 Log: MFC r311651: Export __cxa_thread_atexit_impl as an alias for __cxa_thread_atexit. Added: stable/11/lib/libc/stdlib/cxa_thread_atexit_impl.c - copied unchanged from

Re: svn commit: r312588 - head/sys/mips/conf

2017-01-21 Thread Konstantin Belousov
On Sat, Jan 21, 2017 at 09:08:28AM +, Brooks Davis wrote: > +options TMPFS #Efficient memory filesystem Is the word 'efficient' copied from somewhere ? Yes, I see it in sys/conf/NOTES. I do not see what useful meaning the word has there, applied to the tmpfs. In my opini

svn commit: r312588 - head/sys/mips/conf

2017-01-21 Thread Brooks Davis
Author: brooks Date: Sat Jan 21 09:08:27 2017 New Revision: 312588 URL: https://svnweb.freebsd.org/changeset/base/312588 Log: Enable TMPFS on MALTA so we can use it on minimalist disk images without modules. Sponsored by: DARPA, AFRL Modified: head/sys/mips/conf/std.MALTA Modified: he

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:43:41 2017 New Revision: 312587 URL: https://svnweb.freebsd.org/changeset/base/312587 Log: MFC r311892: Do not wait for HA thread shutdown if scheduler is stopped. This wait loop made system hang on panic instead of reboot. Modified: stable/10/sys/cam/ctl/

svn commit: r312586 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:43:11 2017 New Revision: 312586 URL: https://svnweb.freebsd.org/changeset/base/312586 Log: MFC r311892: Do not wait for HA thread shutdown if scheduler is stopped. This wait loop made system hang on panic instead of reboot. Modified: stable/11/sys/cam/ctl/

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:41:00 2017 New Revision: 312585 URL: https://svnweb.freebsd.org/changeset/base/312585 Log: MFC r310649: Allow more efficient use of private area. There are 16 bytes of space, so we may store two pointers in one. Modified: stable/10/sys/cam/ctl/ctl_io.h s

svn commit: r312584 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:40:30 2017 New Revision: 312584 URL: https://svnweb.freebsd.org/changeset/base/312584 Log: MFC r310649: Allow more efficient use of private area. There are 16 bytes of space, so we may store two pointers in one. Modified: stable/11/sys/cam/ctl/ctl_io.h s

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:39:39 2017 New Revision: 312583 URL: https://svnweb.freebsd.org/changeset/base/312583 Log: MFC r310646: Do not update "saved" mode page on every MODE SELECT. We do not have non-volatile memory to really save those values, so we neither report nor support th

svn commit: r312582 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:39:01 2017 New Revision: 312582 URL: https://svnweb.freebsd.org/changeset/base/312582 Log: MFC r310646: Do not update "saved" mode page on every MODE SELECT. We do not have non-volatile memory to really save those values, so we neither report nor support th

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:37:53 2017 New Revision: 312581 URL: https://svnweb.freebsd.org/changeset/base/312581 Log: MFC r310644: Fix/synchronize field types in struct ctl_modepage_header. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl.h Directory Properties: stable

svn commit: r312580 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:36:59 2017 New Revision: 312580 URL: https://svnweb.freebsd.org/changeset/base/312580 Log: MFC r310644: Fix/synchronize field types in struct ctl_modepage_header. Modified: stable/11/sys/cam/ctl/ctl.c stable/11/sys/cam/ctl/ctl.h Directory Properties: stable

svn commit: r312579 - in stable/10/sys/cam: ctl scsi

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:36:05 2017 New Revision: 312579 URL: https://svnweb.freebsd.org/changeset/base/312579 Log: MFC r310640, r310643: Add support for revert to defaults (RTD) bit in MODE SELECT. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl.h stable/10/sys/c

svn commit: r312578 - in stable/11/sys/cam: ctl scsi

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:35:28 2017 New Revision: 312578 URL: https://svnweb.freebsd.org/changeset/base/312578 Log: MFC r310640, r310643: Add support for revert to defaults (RTD) bit in MODE SELECT. Modified: stable/11/sys/cam/ctl/ctl.c stable/11/sys/cam/ctl/ctl.h stable/11/sys/c

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:34:27 2017 New Revision: 312577 URL: https://svnweb.freebsd.org/changeset/base/312577 Log: MFC r310635: Decouple limits on number of LUNs per port and LUs per CTL. Those two values are not directly related, so make them independent. This does not change any

svn commit: r312576 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:33:44 2017 New Revision: 312576 URL: https://svnweb.freebsd.org/changeset/base/312576 Log: MFC r310635: Decouple limits on number of LUNs per port and LUs per CTL. Those two values are not directly related, so make them independent. This does not change any

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:32:56 2017 New Revision: 312575 URL: https://svnweb.freebsd.org/changeset/base/312575 Log: MFC r310575: Fix improperly used nexus.targ_lun. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/cam/c

svn commit: r312574 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:32:27 2017 New Revision: 312574 URL: https://svnweb.freebsd.org/changeset/base/312574 Log: MFC r310575: Fix improperly used nexus.targ_lun. Modified: stable/11/sys/cam/ctl/ctl.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/cam/c

svn commit: r312572 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:31:20 2017 New Revision: 312572 URL: https://svnweb.freebsd.org/changeset/base/312572 Log: MFC r310555: Some random code cleaning. - Reduce indentation. - Remove extra braces. - Add few missing savety checks. Modified: stable/11/sys/cam/ctl/ctl.c Di

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:31:49 2017 New Revision: 312573 URL: https://svnweb.freebsd.org/changeset/base/312573 Log: MFC r310555: Some random code cleaning. - Reduce indentation. - Remove extra braces. - Add few missing savety checks. Modified: stable/10/sys/cam/ctl/ctl.c Di

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

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:30:10 2017 New Revision: 312571 URL: https://svnweb.freebsd.org/changeset/base/312571 Log: MFC r310539: Remove CTL_MAX_LUNS from places where it is not required. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl_frontend.c stable/10/sys/cam/ct

svn commit: r312570 - stable/11/sys/cam/ctl

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:29:40 2017 New Revision: 312570 URL: https://svnweb.freebsd.org/changeset/base/312570 Log: MFC r310539: Remove CTL_MAX_LUNS from places where it is not required. Modified: stable/11/sys/cam/ctl/ctl.c stable/11/sys/cam/ctl/ctl_frontend.c stable/11/sys/cam/ct

svn commit: r312569 - stable/10/sbin/camcontrol

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:19:42 2017 New Revision: 312569 URL: https://svnweb.freebsd.org/changeset/base/312569 Log: MFC r311897: Add checks for received mode page length. If our buffer is too small, we may receive part of the page, and should not try read/write past the end of the

svn commit: r312568 - stable/11/sbin/camcontrol

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:19:13 2017 New Revision: 312568 URL: https://svnweb.freebsd.org/changeset/base/312568 Log: MFC r311897: Add checks for received mode page length. If our buffer is too small, we may receive part of the page, and should not try read/write past the end of the

svn commit: r312567 - in stable/10: sbin/camcontrol share/misc sys/cam/scsi

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:17:30 2017 New Revision: 312567 URL: https://svnweb.freebsd.org/changeset/base/312567 Log: MFC r311636: Make 'camcontrol modepage' support subpages. Modified: stable/10/sbin/camcontrol/camcontrol.8 stable/10/sbin/camcontrol/camcontrol.c stable/10/sbin/camco

svn commit: r312566 - in stable/11: sbin/camcontrol share/misc sys/cam/scsi

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:16:41 2017 New Revision: 312566 URL: https://svnweb.freebsd.org/changeset/base/312566 Log: MFC r311636: Make 'camcontrol modepage' support subpages. Modified: stable/11/sbin/camcontrol/camcontrol.8 stable/11/sbin/camcontrol/camcontrol.c stable/11/sbin/camco

svn commit: r312565 - in stable/10: lib/libcam sbin/camcontrol

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:15:51 2017 New Revision: 312565 URL: https://svnweb.freebsd.org/changeset/base/312565 Log: MFC r311623: Make do_buff_decode() not read past the end of the buffer. Abort format processing as soon as we have no enough data. Modified: stable/10/lib/libcam/scs

svn commit: r312564 - in stable/11: lib/libcam sbin/camcontrol

2017-01-21 Thread Alexander Motin
Author: mav Date: Sat Jan 21 08:15:19 2017 New Revision: 312564 URL: https://svnweb.freebsd.org/changeset/base/312564 Log: MFC r311623: Make do_buff_decode() not read past the end of the buffer. Abort format processing as soon as we have no enough data. Modified: stable/11/lib/libcam/scs