Author: ngie
Date: Thu Jan 5 07:55:17 2017
New Revision: 311378
URL: https://svnweb.freebsd.org/changeset/base/311378
Log:
lm_load: fix string copying issues
- Ensure `section` doesn't overrun section by using strlcpy instead of
strcpy [*].
- Use strdup instead of malloc + strcpy (th
Author: ngie
Date: Thu Jan 5 07:46:57 2017
New Revision: 311377
URL: https://svnweb.freebsd.org/changeset/base/311377
Log:
Redo fix for CID 979581
The previous change was flawed in terms of how it calculated the
buffer length for the sockaddr_un object. Use SUN_LEN where
appropriate an
> On Jan 4, 2017, at 22:29, Ngie Cooper wrote:
>
>
>> On Jan 4, 2017, at 15:45, Juli Mallett wrote:
>>
>>> On Wed, Jan 4, 2017 at 3:36 PM, Jilles Tjoelker wrote:
On Wed, Jan 04, 2017 at 02:46:36AM +, Ngie Cooper wrote:
- Initialize .sun_len before passing it to strlcpy and bind
> On Jan 4, 2017, at 15:36, Jilles Tjoelker wrote:
...
> It would be better to avoid naming the non-portable sun_len field if it
> is just to make Coverity happy. I suggest initializing the structure
> with designated initializers or memset().
>
> Apart from that, the value for sun_len is wron
> On Jan 4, 2017, at 15:45, Juli Mallett wrote:
>
>> On Wed, Jan 4, 2017 at 3:36 PM, Jilles Tjoelker wrote:
>>> On Wed, Jan 04, 2017 at 02:46:36AM +, Ngie Cooper wrote:
>>> - Initialize .sun_len before passing it to strlcpy and bind.
>> It would be better to avoid naming the non-portable s
Author: adrian
Date: Thu Jan 5 05:03:11 2017
New Revision: 311363
URL: https://svnweb.freebsd.org/changeset/base/311363
Log:
[net80211] correct VHT ieee80211com state bits.
* rename the ieee80211com field for vht mcsinfo to be ic_, not iv;
* add a vht config field, stealing from the spar
Author: adrian
Date: Thu Jan 5 04:56:04 2017
New Revision: 311361
URL: https://svnweb.freebsd.org/changeset/base/311361
Log:
[ath_hal] mad, mad hacks to get some semblence of correct HT/40 channels
populated.
The HT40 channel population logic was "just" doing pairs of channels starting
w
Author: adrian
Date: Thu Jan 5 04:49:23 2017
New Revision: 311360
URL: https://svnweb.freebsd.org/changeset/base/311360
Log:
[net80211] add VHT media types in the media layer.
Modified:
head/sys/net/if_media.h
Modified: head/sys/net/if_media.h
===
Author: hrs
Date: Thu Jan 5 03:25:16 2017
New Revision: 311354
URL: https://svnweb.freebsd.org/changeset/base/311354
Log:
Fix build when WITHOUT_INET6 is defined.
Modified:
head/usr.sbin/inetd/inetd.c
Modified: head/usr.sbin/inetd/inetd.c
Author: markj
Date: Thu Jan 5 03:13:45 2017
New Revision: 311352
URL: https://svnweb.freebsd.org/changeset/base/311352
Log:
Remove a redundant use of min().
Reported by: rpokala
X-MFC With: r311346
Modified:
head/sys/vm/vm_init.c
Modified: head/sys/vm/vm_init.c
===
Dear Customer,
Your item has arrived at the USPS Post Office at January 03, but the courier
was unable to deliver parcel to you.
Please review delivery label in attachment!
Most sincerely,
Roger Kane,
USPS Parcels Delivery Agent.
___
svn-src-head@fre
Author: rpokala
Date: Thu Jan 5 03:08:57 2017
New Revision: 311351
URL: https://svnweb.freebsd.org/changeset/base/311351
Log:
In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in
several more drivers.
Sponsored by: Panasas
Modified:
head/sys/dev/aha/aha.c
head/
Author: rpokala
Date: Thu Jan 5 02:54:03 2017
New Revision: 311350
URL: https://svnweb.freebsd.org/changeset/base/311350
Log:
Fix whitespace in handling of XPT_PATH_INQ in adw(4).
Came across this while doing some other minor CAM cleanup. Whitespace-only
change, so not bothering w/ a rev
Author: asomers
Date: Thu Jan 5 02:47:56 2017
New Revision: 311349
URL: https://svnweb.freebsd.org/changeset/base/311349
Log:
tabs -> spaces in etc/mtree
MFC after:4 weeks
Modified:
head/etc/mtree/BSD.tests.dist
head/etc/mtree/BSD.var.dist
Modified: head/etc/mtree/BSD.tests.dist
Author: markj
Date: Thu Jan 5 02:33:10 2017
New Revision: 311348
URL: https://svnweb.freebsd.org/changeset/base/311348
Log:
Add a reasonable bound on the symbol table index size.
Modified:
head/lib/libproc/proc_sym.c
Modified: head/lib/libproc/proc_sym.c
Author: kevlo
Date: Thu Jan 5 02:04:53 2017
New Revision: 311347
URL: https://svnweb.freebsd.org/changeset/base/311347
Log:
In rtl8188eu, read R92C_HSSI_PARAM2(0)) register to detect whether it needs
to enable CCK high power feature or not.
Reviewed by: avos
Modified:
head/sys/dev/rt
Author: markj
Date: Thu Jan 5 01:44:12 2017
New Revision: 311346
URL: https://svnweb.freebsd.org/changeset/base/311346
Log:
Add a small allocator for exec_map entries.
Upon each execve, we allocate a KVA range for use in copying data to the
new image. Pages must be faulted into the range
Author: markj
Date: Thu Jan 5 01:28:08 2017
New Revision: 311345
URL: https://svnweb.freebsd.org/changeset/base/311345
Log:
Sort includes in kern_exec.c.
MFC after:1 week
Modified:
head/sys/kern/kern_exec.c
Modified: head/sys/kern/kern_exec.c
===
Author: jhb
Date: Thu Jan 5 00:59:53 2017
New Revision: 311343
URL: https://svnweb.freebsd.org/changeset/base/311343
Log:
Use db_printsym() to display function names in stack traces.
Previously, the stack unwinder tried to locate the start of the function
in each frame by walking backwar
Author: jhb
Date: Thu Jan 5 00:08:04 2017
New Revision: 311341
URL: https://svnweb.freebsd.org/changeset/base/311341
Log:
Only call stacktrace_subr() from DDB.
There was a single call to stacktrace() under an #ifdef DEBUG to obtain
a stack trace during a fault that resulted in a function
On Wed, Jan 4, 2017 at 3:36 PM, Jilles Tjoelker wrote:
> On Wed, Jan 04, 2017 at 02:46:36AM +, Ngie Cooper wrote:
>> - Initialize .sun_len before passing it to strlcpy and bind.
> It would be better to avoid naming the non-portable sun_len field if it
> is just to make Coverity happy. I sugg
On Wed, Jan 04, 2017 at 02:46:36AM +, Ngie Cooper wrote:
> Author: ngie
> Date: Wed Jan 4 02:46:36 2017
> New Revision: 311233
> URL: https://svnweb.freebsd.org/changeset/base/311233
> Log:
> Fix Coverity issues
> - Initialize .sun_len before passing it to strlcpy and bind.
> - Close f
Author: asomers
Date: Wed Jan 4 23:22:34 2017
New Revision: 311340
URL: https://svnweb.freebsd.org/changeset/base/311340
Log:
Misc Coverity fixes for tail(1)
CID 1006402: Initialize stack variable
CID 271580: Don't leak memory when ENOMEM.
Reported by: Coverity
CID: 2
Author: glebius
Date: Wed Jan 4 22:31:09 2017
New Revision: 311338
URL: https://svnweb.freebsd.org/changeset/base/311338
Log:
Fix assertion that checks that pages are consecutive to properly
handle bogus_page insertion(s).
Modified:
head/sys/vm/vnode_pager.c
Modified: head/sys/vm/vnode_pa
Author: glebius
Date: Wed Jan 4 22:27:19 2017
New Revision: 311336
URL: https://svnweb.freebsd.org/changeset/base/311336
Log:
Move bogus_page declaration to vm_page.h and initialization to vm_page.c.
Reviewed by: kib
Modified:
head/sys/dev/agp/agp_i810.c
head/sys/kern/kern_sendfile.c
On Wed, Jan 4, 2017 at 12:26 PM, Alan Somers wrote:
> Author: asomers
> Date: Wed Jan 4 20:26:42 2017
> New Revision: 311305
> URL: https://svnweb.freebsd.org/changeset/base/311305
>
> Log:
> Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name)
>
> The sim_vid, hba_vid, and dev_name f
Author: jkim
Date: Wed Jan 4 21:55:52 2017
New Revision: 311311
URL: https://svnweb.freebsd.org/changeset/base/311311
Log:
Remove llvm-objdump when Clang is disabled. It was missed in r310889.
Submitted by: dim
Modified:
head/tools/build/mk/OptionalObsoleteFiles.inc
Modified: head/too
On 31 Dec 2016, at 07:07, Jung-uk Kim wrote:
>
> Author: jkim
> Date: Sat Dec 31 06:07:48 2016
> New Revision: 310889
> URL: https://svnweb.freebsd.org/changeset/base/310889
>
> Log:
> Do not remove llvm-objdump. It is installed by default since r310840.
>
> Modified:
> head/tools/build/mk/O
Author: jhb
Date: Wed Jan 4 21:13:21 2017
New Revision: 311309
URL: https://svnweb.freebsd.org/changeset/base/311309
Log:
Further refine MIPS stack traces across trapframes.
Use the trapframe unwinder recently added for kernel stack overflow
panics for frames crossing MipsKernGenExceptio
Author: asomers
Date: Wed Jan 4 20:26:42 2017
New Revision: 311305
URL: https://svnweb.freebsd.org/changeset/base/311305
Log:
Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name)
The sim_vid, hba_vid, and dev_name fields of struct ccb_pathinq are
fixed-length strings. AFAICT the
Author: kan
Date: Wed Jan 4 18:36:30 2017
New Revision: 311299
URL: https://svnweb.freebsd.org/changeset/base/311299
Log:
Remove duplicate iic and iicbus devices from JZ4780 kernel
Modified:
head/sys/mips/conf/JZ4780
Modified: head/sys/mips/conf/JZ4780
==
On Wed, Jan 04, 2017 at 02:19:13AM +, George V. Neville-Neil wrote:
> Author: gnn
> Date: Wed Jan 4 02:19:13 2017
> New Revision: 311225
> URL: https://svnweb.freebsd.org/changeset/base/311225
>
> Log:
> Fix DTrace TCP tracepoints to not use mtod() as it is both unnecessary and
> dangerou
Author: asomers
Date: Wed Jan 4 18:13:05 2017
New Revision: 311298
URL: https://svnweb.freebsd.org/changeset/base/311298
Log:
Remove dead code in dhclient(8)
The offending code has been dead ever since the import from OpenBSD in
r195805. OpenBSD later deleted that entire function.
Author: ngie
Date: Wed Jan 4 17:54:44 2017
New Revision: 311294
URL: https://svnweb.freebsd.org/changeset/base/311294
Log:
style cleanup
- bridge_pf_dump: use nitems instead of spelling it out longhand
- bridge_do_pfctl: sort variables by alignment for type
MFC after:1 week
Mod
Author: ngie
Date: Wed Jan 4 17:50:52 2017
New Revision: 311293
URL: https://svnweb.freebsd.org/changeset/base/311293
Log:
bridge_do_pfctl: allocate mib_name dynamically using asprintf
This is being done to reduce wasted space, simplify complexity in
the code, and to quell a Coverity war
Author: asomers
Date: Wed Jan 4 17:39:20 2017
New Revision: 311292
URL: https://svnweb.freebsd.org/changeset/base/311292
Log:
Remove dead code in rpc_parse.c
It's been dead ever since it was imported from TI-RPC in 1995. The dead
code is still present in Illumos today, but was removed f
Author: ngie
Date: Wed Jan 4 17:38:18 2017
New Revision: 311291
URL: https://svnweb.freebsd.org/changeset/base/311291
Log:
bridge_get_pfval: use nitems instead of spelling it out longhand
MFC after:3 days
Modified:
head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
Modified: hea
Author: ngie
Date: Wed Jan 4 17:33:18 2017
New Revision: 311290
URL: https://svnweb.freebsd.org/changeset/base/311290
Log:
Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name
to avoid buffer overflows
MFC after:1 week
Reported by: Coverity
CID: 10
Author: asomers
Date: Wed Jan 4 16:24:40 2017
New Revision: 311288
URL: https://svnweb.freebsd.org/changeset/base/311288
Log:
Delete dead code in chat(8)
It's always been dead, ever since first import in 1994. It's still dead in
OpenBSD's version, too.
Reported by: Coverity
CID:
Author: kib
Date: Wed Jan 4 16:10:52 2017
New Revision: 311287
URL: https://svnweb.freebsd.org/changeset/base/311287
Log:
__vdso_gettc(): be extra careful with /dev/hpet mappings, never unmap
the mapping which might be accessed by other threads.
If a pointer to the /dev/hpet register pag
Author: kib
Date: Wed Jan 4 16:09:45 2017
New Revision: 311286
URL: https://svnweb.freebsd.org/changeset/base/311286
Log:
The callers of kern_getfsstat(UIO_SYSSPACE) expect that *buf always
returns memory which must be freed, regardless of the error. Assign
NULL to *buf in case we are not
Author: delphij
Date: Wed Jan 4 16:09:08 2017
New Revision: 311285
URL: https://svnweb.freebsd.org/changeset/base/311285
Log:
MFV r311279: zlib 1.2.10.
MFC after:1 month
Modified:
head/contrib/zlib/ChangeLog
head/contrib/zlib/README
head/contrib/zlib/adler32.c
head/contrib/zli
On Wed, Jan 4, 2017 at 7:50 AM, Edward Tomasz Napierala
wrote:
> + refcount_release(&cs->cs_outstanding_ctl_pdus);
>
Shouldn't the return value of refcount_release() be checked?
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/
Author: trasz
Date: Wed Jan 4 14:43:57 2017
New Revision: 311284
URL: https://svnweb.freebsd.org/changeset/base/311284
Log:
Fix bug that would result in a kernel crash in some cases involving
a symlink and an autofs mount request. The crash was caused by namei()
calling bcopy() with a nega
Author: trasz
Date: Wed Jan 4 12:50:44 2017
New Revision: 311283
URL: https://svnweb.freebsd.org/changeset/base/311283
Log:
Don't release the cfiscsi session refcount too early. It wasn't
observed to fix any actual error, but it's the right thing to do
from the correctness point of view.
Author: ngie
Date: Wed Jan 4 10:08:18 2017
New Revision: 311282
URL: https://svnweb.freebsd.org/changeset/base/311282
Log:
snmp_mibII(3) requires net/if.h and net/if_mib.h
Document that requirement
MFC after:1 week
Modified:
head/contrib/bsnmp/snmp_mibII/snmp_mibII.3
Modified:
Author: delphij
Date: Wed Jan 4 09:30:47 2017
New Revision: 311275
URL: https://svnweb.freebsd.org/changeset/base/311275
Log:
Restructure libz, place vendor files in contrib/zlib like other third
party software, this provides more standarized import workflow and
makes future upgrades easier
Author: ngie
Date: Wed Jan 4 09:06:49 2017
New Revision: 311274
URL: https://svnweb.freebsd.org/changeset/base/311274
Log:
run: ensure pthread_condattr_{init,setclock} is successful
MFC after:1 week
Reported by: Coverity
CID: 1268631, 1268633
Modified:
head/contrib/net
Author: ngie
Date: Wed Jan 4 09:00:16 2017
New Revision: 311273
URL: https://svnweb.freebsd.org/changeset/base/311273
Log:
setrlimit_basic: don't leak buf; free it on completion
MFC after:3 days
Reported by: Coverity
CID: 978311
Modified:
head/contrib/netbsd-tests/lib/
Author: ngie
Date: Wed Jan 4 08:59:06 2017
New Revision: 311272
URL: https://svnweb.freebsd.org/changeset/base/311272
Log:
revoke_perm: don't leak fd at the end of the test; close it
This code is unused on FreeBSD, but it mutes a valid Coverity warning
which would be true on NetBSD
Author: ngie
Date: Wed Jan 4 08:49:07 2017
New Revision: 311271
URL: https://svnweb.freebsd.org/changeset/base/311271
Log:
stat_symlink: don't leak fd; close the file descriptor when done
MFC after:3 days
Reported by: Coverity
CID: 978314
Modified:
head/contrib/netbsd-
Author: ngie
Date: Wed Jan 4 08:43:27 2017
New Revision: 311270
URL: https://svnweb.freebsd.org/changeset/base/311270
Log:
pipe_restart: free f on function exit to quell complaint from Coverity
MFC after:3 days
Reported by: Coverity
CID: 978307
Modified:
head/contrib/n
Author: ngie
Date: Wed Jan 4 08:35:46 2017
New Revision: 311269
URL: https://svnweb.freebsd.org/changeset/base/311269
Log:
swapcontext1: test for getcontext(3) and swapcontext(3) success properly
The beforementioned libcalls both succeed if the return codes aren't -1
MFC after:3 d
Author: ngie
Date: Wed Jan 4 08:25:31 2017
New Revision: 311268
URL: https://svnweb.freebsd.org/changeset/base/311268
Log:
Clarify lifetime of child(..) function
Ensure child exits when complete as it's always run in a forked
process.
Add a missing break statement in :pselect_sigmas
Author: adrian
Date: Wed Jan 4 08:08:50 2017
New Revision: 311266
URL: https://svnweb.freebsd.org/changeset/base/311266
Log:
[net80211] Add VHT flags for printf/debugging.
Whilst here, note that the last bit is currently used by ifconfig (_CHAN_HT)
so don't use it without fixing that fir
Author: ngie
Date: Wed Jan 4 08:07:48 2017
New Revision: 311265
URL: https://svnweb.freebsd.org/changeset/base/311265
Log:
fpu: ensure calls to pthread_create succeed and test sched_yield to make
sure it returns 0
sched_yield tests for values returning 0 of type int and sched_yield is
56 matches
Mail list logo