On Sat, May 14, 2016 at 4:22 PM, Garrett Cooper wrote:
> Author: ngie
> Date: Sat May 14 23:22:38 2016
> New Revision: 299778
> URL: https://svnweb.freebsd.org/changeset/base/299778
>
> Log:
> Use a consistent errno save/restore pattern before running strtoul
This is begging to be reduced to a
On 14 May 2016 at 18:33, Conrad Meyer wrote:
> On Sat, May 14, 2016 at 12:52 PM, Adrian Chadd wrote:
>> Author: adrian
>> Date: Sat May 14 19:52:04 2016
>> New Revision: 299751
>> URL: https://svnweb.freebsd.org/changeset/base/299751
>>
>> Log:
>> [bwn] migrate sqrt and add another couple of ut
Author: adrian
Date: Sun May 15 06:11:40 2016
New Revision: 299846
URL: https://svnweb.freebsd.org/changeset/base/299846
Log:
[bwn] commit the N-PHY register set.
Obtained from:Linux b43 (register definitions.)
Added:
head/sys/dev/bwn/if_bwn_phy_n_regs.h (contents, props change
Author: pfg
Date: Sun May 15 06:06:22 2016
New Revision: 299845
URL: https://svnweb.freebsd.org/changeset/base/299845
Log:
routed(8): Use arc4random_uniform instead of arc4random.
Use arc4random_uniform() when the desired random number upper bound
is not a power of two.
While here, w
Author: ngie
Date: Sun May 15 06:00:13 2016
New Revision: 299844
URL: https://svnweb.freebsd.org/changeset/base/299844
Log:
Make hostid_save depend on hostid
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
head/etc/rc.d/hostid_save
Modified: head/etc/rc.d/host
Author: ngie
Date: Sun May 15 05:45:54 2016
New Revision: 299843
URL: https://svnweb.freebsd.org/changeset/base/299843
Log:
Fix broken dependency with routed when MK_ROUTED != no
Remove routed as a requirement in NETWORKING, and put it in routed as a BEFORE
requirement instead
MFC af
Author: ngie
Date: Sun May 15 05:38:47 2016
New Revision: 299842
URL: https://svnweb.freebsd.org/changeset/base/299842
Log:
Conditionalize installing etc/rc.d/atm{1,2,3}
`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script
MFC after: 2 week
Author: ngie
Date: Sun May 15 05:22:15 2016
New Revision: 299841
URL: https://svnweb.freebsd.org/changeset/base/299841
Log:
Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no
MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tools/build/mk/Opti
Author: ngie
Date: Sun May 15 04:39:36 2016
New Revision: 299840
URL: https://svnweb.freebsd.org/changeset/base/299840
Log:
Conditionalize etc/rc.d/{zfs,zvol} install on MK_ZFS != no
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
head/etc/rc.d/Makefile
Modifi
Author: ngie
Date: Sun May 15 04:38:50 2016
New Revision: 299839
URL: https://svnweb.freebsd.org/changeset/base/299839
Log:
Make FILESYSTEMS, dumpon, and var not depend on zfs and zvol
Make zfs and zvol come before all of the items that depended on them
previously
MFC after: 2 weeks
On Sat, May 14, 2016 at 10:38 PM, Garrett Cooper wrote:
> Author: ngie
> Date: Sun May 15 03:38:40 2016
> New Revision: 299831
> URL: https://svnweb.freebsd.org/changeset/base/299831
>
> Log:
> Remove NO_WERROR and add WARNS?= 6
>
I thought WARNS=6 was already the default.
-Ben
__
Author: ngie
Date: Sun May 15 04:19:50 2016
New Revision: 299838
URL: https://svnweb.freebsd.org/changeset/base/299838
Log:
Reduce redundancy after release-pkg merge to head in r298107
- Use BINDIR instead of FILESDIR
- Default all MODEs to BINMODE with a single for-loop at the
bottom
Author: ngie
Date: Sun May 15 03:53:06 2016
New Revision: 299836
URL: https://svnweb.freebsd.org/changeset/base/299836
Log:
MFC r298864:
Allow FILESGROUPS to be specified more than once by pruning out duplicates
Modified:
stable/10/share/mk/bsd.files.mk
Directory Properties:
stable/10/
Author: ngie
Date: Sun May 15 03:44:32 2016
New Revision: 299834
URL: https://svnweb.freebsd.org/changeset/base/299834
Log:
Fix .Dd
Today is the 14th, not the 10th of May
Reported by: igor (derp)
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/bsnmp/snmpd/bsnmpd
Author: ngie
Date: Sun May 15 03:43:36 2016
New Revision: 299833
URL: https://svnweb.freebsd.org/changeset/base/299833
Log:
Fix fully canonicalized example for `myvariable.27...`
`6` doesn't occur in the OID; it was spurious
Bump .Dd for the change
MFC after: 2 weeks
Sponsored b
Author: ngie
Date: Sun May 15 03:41:01 2016
New Revision: 299832
URL: https://svnweb.freebsd.org/changeset/base/299832
Log:
Remove trailing whitespace in license tort
MFC after: 1 week
Reported by: igor
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/bsnmp/snmpd/bs
Author: ngie
Date: Sun May 15 03:38:40 2016
New Revision: 299831
URL: https://svnweb.freebsd.org/changeset/base/299831
Log:
Remove NO_WERROR and add WARNS?= 6
This now compiles cleanly on all architectures
MFC after: 1 month
Tested with: clang 3.8, gcc 4.2.1, gcc 4.5, make tinderbox
Author: ngie
Date: Sun May 15 03:36:19 2016
New Revision: 299830
URL: https://svnweb.freebsd.org/changeset/base/299830
Log:
Fix -Wcast-align warnings
Use memcpy instead of using direct assignment of void* pointers with
CMSG_DATA(..), which changes alignment
MFC after: 3 weeks
Repor
Author: markj
Date: Sun May 15 03:18:03 2016
New Revision: 299827
URL: https://svnweb.freebsd.org/changeset/base/299827
Log:
Add sysctl descriptions for net.inet6.ip6 and net.inet6.icmp6.
icmp6.redirtimeout, icmp6.nd6_maxnudhint and ip6.rr_prune are left
undocumented as they appear to hav
Author: markj
Date: Sun May 15 03:22:13 2016
New Revision: 299829
URL: https://svnweb.freebsd.org/changeset/base/299829
Log:
Use Node Information flag names instead of hard-coding their values.
MFC after:1 week
Modified:
head/sys/netinet6/icmp6.c
Modified: head/sys/netinet6/icmp6.c
Author: markj
Date: Sun May 15 03:19:53 2016
New Revision: 299828
URL: https://svnweb.freebsd.org/changeset/base/299828
Log:
Fix a few style issues in the ICMP sysctl descriptions.
MFC after:1 week
Modified:
head/sys/netinet/ip_icmp.c
Modified: head/sys/netinet/ip_icmp.c
===
Author: pfg
Date: Sun May 15 03:15:36 2016
New Revision: 299826
URL: https://svnweb.freebsd.org/changeset/base/299826
Log:
MFC r298881, 298882, 298883, 298885:
Minor spelling fixes in:
tools, share, bluetooth, pmcstat, etc
Many of these have user-visible strings.
Modified:
stable/
Author: pfg
Date: Sun May 15 03:04:21 2016
New Revision: 299825
URL: https://svnweb.freebsd.org/changeset/base/299825
Log:
routed(8): Misc. cleanups to squelch Coverity.
table.c:
Copy into fixed size buffer.
trace.c:
Argument got dup2() cannot be negative.
Copy into fixed size bu
Author: markj
Date: Sun May 15 03:01:40 2016
New Revision: 299824
URL: https://svnweb.freebsd.org/changeset/base/299824
Log:
Remove an always-false error check in the AIFADDR_IN6 handler.
CID: 1250792
MFC after:1 week
Modified:
head/sys/netinet6/in6.c
Modified: head/sys/n
Author: pfg
Date: Sun May 15 02:41:20 2016
New Revision: 299822
URL: https://svnweb.freebsd.org/changeset/base/299822
Log:
routed(8): Dereference before null check.
CID: 272432
Obtained from:NetBSD (CVS ref. 1.16)
MFC after:2 weeks.
Modified:
head/sbin/routed/rdi
Author: pfg
Date: Sun May 15 02:30:34 2016
New Revision: 299821
URL: https://svnweb.freebsd.org/changeset/base/299821
Log:
routed(8): Avoid NULL de-reference and two possible memory leaks.
The reports and fixes are straightforward but it's nice to be able
to confirm against NetBSD.
C
On Sat, May 14, 2016 at 12:52 PM, Adrian Chadd wrote:
> Author: adrian
> Date: Sat May 14 19:52:04 2016
> New Revision: 299751
> URL: https://svnweb.freebsd.org/changeset/base/299751
>
> Log:
> [bwn] migrate sqrt and add another couple of util routines.
>
> ...
>
> +unsigned int
> +bwn_sqrt(stru
Author: ngie
Date: Sun May 15 00:54:21 2016
New Revision: 299817
URL: https://svnweb.freebsd.org/changeset/base/299817
Log:
Use SNMPD_INPUT_FAILED instead of SNMP_CODE_FAILED
SNMPD_INPUT_FAILED is `enum snmpd_input_err` type (which matches the return
code from the function). SNMP_CODE_FAI
Author: rmacklem
Date: Sun May 15 00:45:17 2016
New Revision: 299816
URL: https://svnweb.freebsd.org/changeset/base/299816
Log:
Fix fuse so that stale buffer cache data isn't read.
When I/O on a file under fuse is switched from buffered to DIRECT_IO,
it was possible to read stale (before
Author: ngie
Date: Sun May 15 00:42:18 2016
New Revision: 299815
URL: https://svnweb.freebsd.org/changeset/base/299815
Log:
Remove NO_WERROR.clang from this Makefile
This compiles with clang without warnings
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Sun May 15 00:40:05 2016
New Revision: 299814
URL: https://svnweb.freebsd.org/changeset/base/299814
Log:
Replace malloc + memset(.., 0, ..) with calloc calls
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/bsnmpd/tools/libbsnmpto
Author: ngie
Date: Sun May 15 00:25:36 2016
New Revision: 299811
URL: https://svnweb.freebsd.org/changeset/base/299811
Log:
Use strdup instead of malloc + strlcpy
Fix error messages on failure for calloc/strdup
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Sun May 15 00:24:21 2016
New Revision: 299810
URL: https://svnweb.freebsd.org/changeset/base/299810
Log:
Correct function names that failed in error messages
It should be calloc/strdup, not malloc
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Modi
> On May 14, 2016, at 17:13, Adrian Chadd wrote:
>
> [snip]
>
> ok, ok. I'm the bwn(4) maintainer.
Please MFC changes back to stable/10… thanks!
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubs
Author: ngie
Date: Sun May 15 00:13:36 2016
New Revision: 299808
URL: https://svnweb.freebsd.org/changeset/base/299808
Log:
Use sizeof(..)s for the destination buffers instead of hardcoded values
corresponding
to the destination buffer sizes
MFC after: 1 week
Sponsored by: EMC / Isilon
[snip]
ok, ok. I'm the bwn(4) maintainer.
-adrian
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: ngie
Date: Sun May 15 00:10:37 2016
New Revision: 299807
URL: https://svnweb.freebsd.org/changeset/base/299807
Log:
Replace QUADFMT with %ju and QUADXFMT with %jx and cast values with uintmax_t
This will cure some -Wformat warnings
MFC after: 1 week
Reported by: clang, gcc
Author: ngie
Date: Sun May 15 00:08:09 2016
New Revision: 299806
URL: https://svnweb.freebsd.org/changeset/base/299806
Log:
Bump WARNS to 6
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/bsnmpd/tools/Makefile.inc
Modified: head/usr.sbin/bsnmpd/t
> On May 14, 2016, at 16:42, Bruce Evans wrote:
>
> On Sat, 14 May 2016, Garrett Cooper wrote:
…
> Er, this is pointier than before. nitems() is only valid on arrays.
You’re 100% correct. I forgot that it isn’t a magic silver bullet that works
with scalar pointers :(…
>> Modified: head/usr
Author: ngie
Date: Sun May 15 00:05:28 2016
New Revision: 299805
URL: https://svnweb.freebsd.org/changeset/base/299805
Log:
Fix up r299769
Similar to r299802, it was noted that using nitems on scalar pointers is
invalid.
Use strdup instead of malloc + strlcpy (which is what the old c
Author: adrian
Date: Sun May 15 00:03:14 2016
New Revision: 299804
URL: https://svnweb.freebsd.org/changeset/base/299804
Log:
[bwn] add the full suite of SPROM flags
Obtained from:Linux b43
Modified:
head/sys/dev/bwn/if_bwnreg.h
Modified: head/sys/dev/bwn/if_bwnreg.h
===
Author: ngie
Date: Sun May 15 00:02:55 2016
New Revision: 299803
URL: https://svnweb.freebsd.org/changeset/base/299803
Log:
Replace malloc + memset(.., 0, ..) with calloc calls
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/bsnmpd/tools/libbsnmpto
Author: ngie
Date: Sun May 15 00:01:23 2016
New Revision: 299802
URL: https://svnweb.freebsd.org/changeset/base/299802
Log:
Fix up both r299764 and r299770
nitems was wrong too, as it was being tested against a pointer instead of a
buffer on
the stack.
Since the old code was just do
Author: adrian
Date: Sat May 14 23:50:44 2016
New Revision: 299801
URL: https://svnweb.freebsd.org/changeset/base/299801
Log:
[bwn] handle core rev 12, we can mostly do that new.
Modified:
head/sys/dev/bwn/if_bwn.c
Modified: head/sys/dev/bwn/if_bwn.c
=
Author: adrian
Date: Sat May 14 23:50:15 2016
New Revision: 299800
URL: https://svnweb.freebsd.org/changeset/base/299800
Log:
[bwn] disable 11na channel setup for now, since we definitely, positively
don't do 11na yet.
Modified:
head/sys/dev/bwn/if_bwn.c
Modified: head/sys/dev/bwn/if_bwn.c
Author: adrian
Date: Sat May 14 23:48:26 2016
New Revision: 299799
URL: https://svnweb.freebsd.org/changeset/base/299799
Log:
[bwn] fill out phyctl_1 fields for N-PHY (and later, eventually.)
N-PHY and later require a lot more plcp specific setup for the PHY
to know what to transmit. I'v
Author: adrian
Date: Sat May 14 23:45:47 2016
New Revision: 299798
URL: https://svnweb.freebsd.org/changeset/base/299798
Log:
[bwn] set the 5ghz transmit flag for 5ghz transmit.
Turns out trying to do 11a transmit without this set works poorly.
Modified:
head/sys/dev/bwn/if_bwn.c
Modifi
Author: adrian
Date: Sat May 14 23:45:16 2016
New Revision: 299797
URL: https://svnweb.freebsd.org/changeset/base/299797
Log:
[bwn] disable writing slottime timing out to improve performance.
this is from b43 linux, there's a comment in there which notes
one nic family suffers performance
Author: adrian
Date: Sat May 14 23:44:30 2016
New Revision: 299796
URL: https://svnweb.freebsd.org/changeset/base/299796
Log:
[bwn] make rf-kill work for PHY-N.
Modified:
head/sys/dev/bwn/if_bwn.c
Modified: head/sys/dev/bwn/if_bwn.c
===
Author: adrian
Date: Sat May 14 23:43:43 2016
New Revision: 299795
URL: https://svnweb.freebsd.org/changeset/base/299795
Log:
[bwn] decode the RX RSSI for PHY-N.
I'm still figuring this out, but it at least works somewhat.
Modified:
head/sys/dev/bwn/if_bwn.c
Modified: head/sys/dev/bwn/i
Author: adrian
Date: Sat May 14 23:43:05 2016
New Revision: 299794
URL: https://svnweb.freebsd.org/changeset/base/299794
Log:
[bwn] use the new enum type.
Modified:
head/sys/dev/bwn/if_bwn.c
Modified: head/sys/dev/bwn/if_bwn.c
=
On Sat, 14 May 2016, Garrett Cooper wrote:
Log:
Fix up r299764
I meant to use nitems, not sizeof(..) with the destination buffer. Using
sizeof(..)
on a pointer will always truncate the output in the destination buffer
incorrectly
Pointyhat to: ngie
Er, this is pointier than before. ni
Author: jmcneill
Date: Sat May 14 23:36:00 2016
New Revision: 299789
URL: https://svnweb.freebsd.org/changeset/base/299789
Log:
Add pmic (AXP813) child node to r_rsb for Sinovoip BananaPi BPI-M3.
Modified:
head/sys/boot/fdt/dts/arm/sinovoip-bpi-m3.dts
Modified: head/sys/boot/fdt/dts/arm/sino
Author: adrian
Date: Sat May 14 23:42:37 2016
New Revision: 299793
URL: https://svnweb.freebsd.org/changeset/base/299793
Log:
[bwn] debugging changes.
Now that I have 5g working on PHY-N, that "changing band" message
happens quite a bit. Make it a debug log, not an explicit printf.
Modi
Author: adrian
Date: Sat May 14 23:41:28 2016
New Revision: 299792
URL: https://svnweb.freebsd.org/changeset/base/299792
Log:
[bwn] Explicitly only work for SIBA parts; add some placeholder debugging.
Set phy-full-init always to 1 for now; PHY-N supports being able to do
partial init for
Author: jmcneill
Date: Sat May 14 23:34:57 2016
New Revision: 299787
URL: https://svnweb.freebsd.org/changeset/base/299787
Log:
Add and enable Allwinner RSB and AXP81x power management IC drivers.
Modified:
head/sys/arm/allwinner/files.allwinner
head/sys/arm/conf/ALLWINNER
Modified: head/s
Author: adrian
Date: Sat May 14 23:38:51 2016
New Revision: 299791
URL: https://svnweb.freebsd.org/changeset/base/299791
Log:
[bwn] missed commit!
Modified:
head/sys/dev/bwn/if_bwn_phy_g.c
Modified: head/sys/dev/bwn/if_bwn_phy_g.c
=
Author: adrian
Date: Sat May 14 23:38:21 2016
New Revision: 299790
URL: https://svnweb.freebsd.org/changeset/base/299790
Log:
[bwn] add new types, prepare for PHY-N; prepare for rev 5xx firmware.
This is a big commit with a whole lot of little changes, all in
preparation for PHY-N and rev
Author: kib
Date: Sat May 14 23:35:11 2016
New Revision: 299788
URL: https://svnweb.freebsd.org/changeset/base/299788
Log:
Eliminate pvh_global_lock from the amd64 pmap.
The only current purpose of the pvh lock was explained there
On Wed, Jan 09, 2013 at 11:46:13PM -0600, Alan Cox wrote:
Author: jmcneill
Date: Sat May 14 23:33:57 2016
New Revision: 299786
URL: https://svnweb.freebsd.org/changeset/base/299786
Log:
Add a basic driver for X-Powers AXP813 and AXP818 power management ICs.
This driver simply installs a shutdown event handler for handling
RB_POWEROFF at shutdown
Author: adrian
Date: Sat May 14 23:33:13 2016
New Revision: 299785
URL: https://svnweb.freebsd.org/changeset/base/299785
Log:
[bwn] add an implementation of "cordic" and imaginary math.
This is used by the PHY-N code.
Obtained from:http://bcm-v4.sipsolutions.net/802.11/PHY/Cord
Author: pfg
Date: Sat May 14 23:32:03 2016
New Revision: 299784
URL: https://svnweb.freebsd.org/changeset/base/299784
Log:
Avoid NULL de-references.
CID: 271079
Obtained from:NetBSD
MFC after:2 weeks.
Modified:
head/sbin/routed/output.c
Modified: head/sbin/route
Author: ngie
Date: Sat May 14 23:29:41 2016
New Revision: 299783
URL: https://svnweb.freebsd.org/changeset/base/299783
Log:
Convert tok from enum tok to int32_t in function calls
get_token(..) returns int32_t, not enum tok, and in many cases tests for items
not in enum tok (e.g. '('). Mak
Author: adrian
Date: Sat May 14 23:27:55 2016
New Revision: 299782
URL: https://svnweb.freebsd.org/changeset/base/299782
Log:
[bwn] TX logging / completion fixes
* Log the per-completion status out if requested
* If we get a PHY failure, the retrycnt is set to 0 and ack=0, so
the logi
Author: jmcneill
Date: Sat May 14 23:27:54 2016
New Revision: 299781
URL: https://svnweb.freebsd.org/changeset/base/299781
Log:
Add a driver for the Allwinner Reduced Serial Bus (RSB).
The RSB controller speaks a simplified two wire protocol at speeds up to
20MHz. It is used on sun8i and
Author: adrian
Date: Sat May 14 23:23:50 2016
New Revision: 299780
URL: https://svnweb.freebsd.org/changeset/base/299780
Log:
[bwn] add in new microcode and phy initval information.
This is required for PHY-N and later hardware.
Tested:
* BCN4321 (11abgn), PHY-N
Modified:
head/
Author: ngie
Date: Sat May 14 23:22:38 2016
New Revision: 299778
URL: https://svnweb.freebsd.org/changeset/base/299778
Log:
Use a consistent errno save/restore pattern before running strtoul
- Save errno
- Set errno to 0
- Call strtoul
- Test errno (optional, but many calls to strtoul
Author: jmcneill
Date: Sat May 14 23:22:52 2016
New Revision: 299779
URL: https://svnweb.freebsd.org/changeset/base/299779
Log:
Add node for A83T NMI interrupt controller.
Modified:
head/sys/boot/fdt/dts/arm/a83t.dtsi
Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi
Author: pfg
Date: Sat May 14 23:22:19 2016
New Revision: 299777
URL: https://svnweb.freebsd.org/changeset/base/299777
Log:
routed(8): Use arc4random.
CID: 1305962
Obtained from:NetBSD (CVS Rev. 1.34, Itojun)
Modified:
head/sbin/routed/main.c
Modified: head/sbin/routed
Author: adrian
Date: Sat May 14 23:20:46 2016
New Revision: 299776
URL: https://svnweb.freebsd.org/changeset/base/299776
Log:
[bwn] implement reset improvements in preparation for PHY-N support
* Ensure we set 20MHz wide channels (hard-coded) for PHY-N.
* Change the core rese tto take a f
Author: adrian
Date: Sat May 14 23:13:44 2016
New Revision: 299775
URL: https://svnweb.freebsd.org/changeset/base/299775
Log:
[bwn] use the shared bwn_sqrt() routine.
Modified:
head/sys/dev/bwn/if_bwn_phy_lp.c
Modified: head/sys/dev/bwn/if_bwn_phy_lp.c
===
Author: ngie
Date: Sat May 14 23:13:23 2016
New Revision: 299774
URL: https://svnweb.freebsd.org/changeset/base/299774
Log:
Do minimal work necessary to cure a -Wunused-but-set-variable warning from gcc
How errno is saved before and restored after strtoul calls needs a rethink
MFC afte
Author: adrian
Date: Sat May 14 23:10:47 2016
New Revision: 299773
URL: https://svnweb.freebsd.org/changeset/base/299773
Log:
[bwn] disable bgscan for now.
I'll re-enable this when I've verified all of the locking / concurrency
access to the hardware is "right".
Tested:
* BCM432
Author: adrian
Date: Sat May 14 23:08:34 2016
New Revision: 299772
URL: https://svnweb.freebsd.org/changeset/base/299772
Log:
[bwn] add in the new phy common and utils files.
They're not yet used by included code; that'll come next.
Modified:
head/sys/conf/files
head/sys/modules/bwn/Ma
Author: pfg
Date: Sat May 14 23:07:26 2016
New Revision: 299771
URL: https://svnweb.freebsd.org/changeset/base/299771
Log:
routed: Fix use after free.
For the multihomed case, ifp be used after being freed. NULL the value
after freeing it and avoid getting into the branch without reassign
Author: ngie
Date: Sat May 14 22:43:07 2016
New Revision: 299770
URL: https://svnweb.freebsd.org/changeset/base/299770
Log:
Fix up r299764
I meant to use nitems, not sizeof(..) with the destination buffer. Using
sizeof(..)
on a pointer will always truncate the output in the destination b
Author: ngie
Date: Sat May 14 22:40:35 2016
New Revision: 299769
URL: https://svnweb.freebsd.org/changeset/base/299769
Log:
Use the size of the destination buffer instead of the malloc size, repeated,
in order
to mute a -Wstrlcpy-strlcat-size warning
MFC after: 1 week
Reported by: clan
Author: pfg
Date: Sat May 14 22:40:08 2016
New Revision: 299768
URL: https://svnweb.freebsd.org/changeset/base/299768
Log:
routed(8): use NULL instead of zero for pointers.
Modified:
head/sbin/routed/if.c
head/sbin/routed/input.c
head/sbin/routed/main.c
head/sbin/routed/output.c
head/
Author: ngie
Date: Sat May 14 22:29:11 2016
New Revision: 299767
URL: https://svnweb.freebsd.org/changeset/base/299767
Log:
Mute sign compare warning by casting rc to u_int to match nbindings' type
rc cannot be negative -- that was already tested for earlier on in
the function
MFC af
Author: ngie
Date: Sat May 14 22:04:44 2016
New Revision: 299766
URL: https://svnweb.freebsd.org/changeset/base/299766
Log:
Fix logically dead code pointed out by clang/Coverity
parse_context, parse_user_security: test for validity of results from
parse_ascii(..) with by casting to int32_
Author: ngie
Date: Sat May 14 21:32:52 2016
New Revision: 299765
URL: https://svnweb.freebsd.org/changeset/base/299765
Log:
Fix theoretical buffer overflow issues in snmp_oid2asn_oid
Increase the size of `string` by 1 to account for the '\0' terminator. In the
event
that `str` doesn't co
Author: ngie
Date: Sat May 14 21:27:33 2016
New Revision: 299764
URL: https://svnweb.freebsd.org/changeset/base/299764
Log:
Use the size of the destination buffer, not the source buffer.
Technically this is a no-op, but mute the clang warning in case the malloc
call
above for fstring eve
Author: ngie
Date: Sat May 14 20:58:34 2016
New Revision: 299763
URL: https://svnweb.freebsd.org/changeset/base/299763
Log:
Mute -Wstrlcpy-strlcat-size warning by using nitems with the size of the
buffer
This is a no-op as the malloc above set the size of the buffer to the size
used
bel
On Sat, May 14, 2016 at 08:03:22PM +, Rick Macklem wrote:
> New Revision: 299753
> URL: https://svnweb.freebsd.org/changeset/base/299753
>
> Log:
> Fix fuse to use DIRECT_IO when required.
>
> When a file is opened write-only and a partial block was written,
> buffered I/O would try a
Author: ngie
Date: Sat May 14 20:33:42 2016
New Revision: 299762
URL: https://svnweb.freebsd.org/changeset/base/299762
Log:
Mark snmptoolctx unused in parse_authentication(..), parse_privacy(..),
parse_context(..), and parse_user_security(..).
MFC after: 1 week
Reported by: clang, gcc
Author: ngie
Date: Sat May 14 20:31:12 2016
New Revision: 299761
URL: https://svnweb.freebsd.org/changeset/base/299761
Log:
parse_ascii: make count size_t to mute a -Wsign-compare issue
count is always unsigned.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Sat May 14 20:28:23 2016
New Revision: 299760
URL: https://svnweb.freebsd.org/changeset/base/299760
Log:
Sort variables in parse_ascii(..) per style(9)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/bsnmpd/tools/libbsnmptools/bs
Author: ngie
Date: Sat May 14 20:25:14 2016
New Revision: 299759
URL: https://svnweb.freebsd.org/changeset/base/299759
Log:
Use calloc instead of memset(.., 0, ..) + malloc
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/bsnmpd/tools/libbsnmptools/
Author: adrian
Date: Sat May 14 20:11:48 2016
New Revision: 299758
URL: https://svnweb.freebsd.org/changeset/base/299758
Log:
[bwn] begin migrating PHY common routines into if_bwn_phy_common.[ch].
This isn't compiled in yet; so some code here duplicates what
is in the existing code. I'll
Author: adrian
Date: Sat May 14 20:09:37 2016
New Revision: 299757
URL: https://svnweb.freebsd.org/changeset/base/299757
Log:
[bwn] add Q52 macros.
The PHY-N code uses a different format for gain values, so these macros
are used for converting to/from and print out values.
Modified:
he
Author: gonzo
Date: Sat May 14 20:06:38 2016
New Revision: 299756
URL: https://svnweb.freebsd.org/changeset/base/299756
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: jhibbits
Modified:
head/sys/dev/iicbus/adt746x.c
head/sys/powerpc/mpc85xx/lbc.c
head/sys/power
Author: gonzo
Date: Sat May 14 20:05:35 2016
New Revision: 299755
URL: https://svnweb.freebsd.org/changeset/base/299755
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: sgalabov
Modified:
head/sys/mips/mediatek/fdt_reset.c
head/sys/mips/mediatek/mtk_pinctrl.c
Modi
Author: adrian
Date: Sat May 14 20:03:24 2016
New Revision: 299754
URL: https://svnweb.freebsd.org/changeset/base/299754
Log:
[bwn] add BCMA chip identifiers.
This will eventually live in sys/dev/bhnd/, but I won't use that until
we migrate the whole driver over.
So, this'll live her
Author: rmacklem
Date: Sat May 14 20:03:22 2016
New Revision: 299753
URL: https://svnweb.freebsd.org/changeset/base/299753
Log:
Fix fuse to use DIRECT_IO when required.
When a file is opened write-only and a partial block was written,
buffered I/O would try and read the whole block in. Th
Author: adrian
Date: Sat May 14 20:02:02 2016
New Revision: 299752
URL: https://svnweb.freebsd.org/changeset/base/299752
Log:
[bwn] add more debugging bits.
I'm hoping to migrate the device_printf() bits out into macros so we can
control it later.
Also, add some new debug sections th
Author: adrian
Date: Sat May 14 19:52:04 2016
New Revision: 299751
URL: https://svnweb.freebsd.org/changeset/base/299751
Log:
[bwn] migrate sqrt and add another couple of util routines.
bwn_sqrt() is in the PHY-LP code but is also needed by the upcoming
PHY-N support.
The other two r
Author: cy
Date: Sat May 14 19:11:35 2016
New Revision: 299750
URL: https://svnweb.freebsd.org/changeset/base/299750
Log:
MFC r298031: Static pointers need not be initialized.
Modified:
stable/10/contrib/ipfilter/mli_ipl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable
Author: cy
Date: Sat May 14 19:09:32 2016
New Revision: 299749
URL: https://svnweb.freebsd.org/changeset/base/299749
Log:
MFC r298030: Use NULL instead of 0 for pointer comparison.
Modified:
stable/10/contrib/ipfilter/bpf_filter.c
stable/10/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
Dire
Author: jmcneill
Date: Sat May 14 18:47:36 2016
New Revision: 299748
URL: https://svnweb.freebsd.org/changeset/base/299748
Log:
Add DTS files for the Allwinner A83T SoC and the Sinovoip BananaPi BPI-M3
development board.
Added:
head/sys/boot/fdt/dts/arm/a83t.dtsi (contents, props changed)
Author: gonzo
Date: Sat May 14 18:44:30 2016
New Revision: 299747
URL: https://svnweb.freebsd.org/changeset/base/299747
Log:
Use OF_prop_free instead of direct call to free(9)
Modified:
head/sys/dev/altera/avgen/altera_avgen_fdt.c
head/sys/dev/usb/controller/ehci_fsl.c
Modified: head/sys/d
1 - 100 of 117 matches
Mail list logo