Author: glebius
Date: Fri Jan 13 18:36:46 2017
New Revision: 312081
URL: https://svnweb.freebsd.org/changeset/base/312081
Log:
Use getsock_cap() instead of deprecated fgetsock().
Reviewed by: Daniel Braniss
Modified:
head/sys/dev/iscsi_initiator/isc_soc.c
Author: wblock (doc committer)
Date: Fri Jan 13 19:41:02 2017
New Revision: 312083
URL: https://svnweb.freebsd.org/changeset/base/312083
Log:
Update the shm_open.2 man page to reflect objective reality.
PR: 215612
Submitted by: rwatson
MFC after:1 week
Differential
Author: jhb
Date: Fri Jan 13 21:52:53 2017
New Revision: 312086
URL: https://svnweb.freebsd.org/changeset/base/312086
Log:
Trim a few comments on platforms that did not implement mmap of /dev/kmem.
After r307332, no platforms implement mmap for /dev/kmem, so the lack of
it for these
Author: jhb
Date: Fri Jan 13 21:42:36 2017
New Revision: 312085
URL: https://svnweb.freebsd.org/changeset/base/312085
Log:
MFC 304492,310721,310734: Update cxgbe info in NOTES.
304492:
Move cxgb and cxgbe down to the non-mii PCI NIC section.
310721:
Mention T6 and 100GbE in
Author: jhb
Date: Fri Jan 13 21:42:36 2017
New Revision: 312085
URL: https://svnweb.freebsd.org/changeset/base/312085
Log:
MFC 304492,310721,310734: Update cxgbe info in NOTES.
304492:
Move cxgb and cxgbe down to the non-mii PCI NIC section.
310721:
Mention T6 and 100GbE in
Author: jhb
Date: Fri Jan 13 21:30:18 2017
New Revision: 312084
URL: https://svnweb.freebsd.org/changeset/base/312084
Log:
MFC 309589: Rework syscall structure lookups.
Avoid always using an O(n^2) loop over known syscall structures with
strcmp() on each system call. Instead, use a
Author: lwhsu (ports committer)
Date: Fri Jan 13 19:22:22 2017
New Revision: 312082
URL: https://svnweb.freebsd.org/changeset/base/312082
Log:
MFC r311881:
Replace using of objdump with elfdump
In-tree objdump is too old to dump new ELF headers. But for example if we
use: `make
Author: glebius
Date: Fri Jan 13 16:54:44 2017
New Revision: 312079
URL: https://svnweb.freebsd.org/changeset/base/312079
Log:
Use getsock_cap() instead of deprecated fgetsock().
Reviewed by: tuexen
Modified:
head/sys/netinet/sctp_syscalls.c
Modified: head/sys/netinet/sctp_syscalls.c
Author: cem
Date: Fri Jan 13 16:46:01 2017
New Revision: 312078
URL: https://svnweb.freebsd.org/changeset/base/312078
Log:
fstyp.8: Move initial exFAT blurb to the -u section
Didn't notice the second list in r312003.
Reported by: trasz@
Modified:
head/usr.sbin/fstyp/fstyp.8
Author: ian
Date: Fri Jan 13 17:03:23 2017
New Revision: 312080
URL: https://svnweb.freebsd.org/changeset/base/312080
Log:
Correct the comments about how much buffer is allocated.
Modified:
head/sys/kern/tty.c
Modified: head/sys/kern/tty.c
Author: ngie
Date: Sat Jan 14 00:29:55 2017
New Revision: 312095
URL: https://svnweb.freebsd.org/changeset/base/312095
Log:
MFC r311924:
Fix whitespace in comment
Modified:
stable/10/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c
Author: ngie
Date: Sat Jan 14 00:29:55 2017
New Revision: 312094
URL: https://svnweb.freebsd.org/changeset/base/312094
Log:
MFC r311924:
Fix whitespace in comment
Modified:
stable/11/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c
Author: ngie
Date: Sat Jan 14 01:01:02 2017
New Revision: 312102
URL: https://svnweb.freebsd.org/changeset/base/312102
Log:
Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD
MFC after:12 days
X-MFC with: r305358
Sponsored by: Dell EMC Isilon
Modified:
Author: ngie
Date: Sat Jan 14 00:24:44 2017
New Revision: 312088
URL: https://svnweb.freebsd.org/changeset/base/312088
Log:
MFC r310950:
MIB-II: use strlcpy when copying interface names to .ifr_name
.ifra_name is assumed to be NUL terminated; using strlcpy(3)
ensures that it's
Author: ngie
Date: Sat Jan 14 00:24:46 2017
New Revision: 312089
URL: https://svnweb.freebsd.org/changeset/base/312089
Log:
MFC r310950:
MIB-II: use strlcpy when copying interface names to .ifr_name
.ifra_name is assumed to be NUL terminated; using strlcpy(3)
ensures that it's
Author: ngie
Date: Sat Jan 14 00:33:07 2017
New Revision: 312097
URL: https://svnweb.freebsd.org/changeset/base/312097
Log:
MFC r311236,r311919:
r311236:
unlink_fifo: don't leak the file descriptors opened with mkfifo and open
MFC fater:3 days
CID: 978316, 978317
Author: ngie
Date: Sat Jan 14 00:33:03 2017
New Revision: 312096
URL: https://svnweb.freebsd.org/changeset/base/312096
Log:
MFC r311236,r311919:
r311236:
unlink_fifo: don't leak the file descriptors opened with mkfifo and open
MFC fater:3 days
CID: 978316, 978317
Author: ngie
Date: Sat Jan 14 00:28:21 2017
New Revision: 312092
URL: https://svnweb.freebsd.org/changeset/base/312092
Log:
MFC r311926:
Consolidate __NetBSD__ #ifdef
Modified:
stable/10/contrib/netbsd-tests/lib/libc/regex/debug.c
Directory Properties:
stable/10/ (props changed)
Author: ngie
Date: Sat Jan 14 00:28:23 2017
New Revision: 312093
URL: https://svnweb.freebsd.org/changeset/base/312093
Log:
MFC r311926:
Consolidate __NetBSD__ #ifdef
Modified:
stable/11/contrib/netbsd-tests/lib/libc/regex/debug.c
Directory Properties:
stable/11/ (props changed)
Author: ngie
Date: Sat Jan 14 01:37:03 2017
New Revision: 312105
URL: https://svnweb.freebsd.org/changeset/base/312105
Log:
Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS
This will allow inetd to stand by itself without libwrap.
MFC after:2 weeks
Relnotes:
Author: glebius
Date: Fri Jan 13 22:16:41 2017
New Revision: 312087
URL: https://svnweb.freebsd.org/changeset/base/312087
Log:
Remove deprecated fgetsock() and fputsock().
Modified:
head/sys/kern/kern_descrip.c
head/sys/sys/file.h
head/sys/sys/param.h
Modified:
Author: ngie
Date: Sat Jan 14 00:36:48 2017
New Revision: 312098
URL: https://svnweb.freebsd.org/changeset/base/312098
Log:
MFC r311750,r311754,r311757:
r311750:
Check result from smiGetFirstNode and smiGetNodeByOID
This avoids a segfault with malformed or unanticipated files,
Um, this is garbage and ruins the entire point of using a standardized
framework like ATF. Please revert it.
Instead, just have the Kyua framework preopen its output files before
running tests. The diff will be an order of magnitude smaller than
this one is and it will fix the problem generally
> On Jan 13, 2017, at 16:09, Conrad Meyer wrote:
>
> Um, this is garbage and ruins the entire point of using a standardized
> framework like ATF. Please revert it.
>
> Instead, just have the Kyua framework preopen its output files before
> running tests. The diff will be an
Author: ngie
Date: Sat Jan 14 00:36:50 2017
New Revision: 312099
URL: https://svnweb.freebsd.org/changeset/base/312099
Log:
MFC r311750,r311754,r311757:
r311750:
Check result from smiGetFirstNode and smiGetNodeByOID
This avoids a segfault with malformed or unanticipated files,
Author: cem
Date: Sat Jan 14 01:03:20 2017
New Revision: 312103
URL: https://svnweb.freebsd.org/changeset/base/312103
Log:
Revert r310994
Don't implement some terrible hack on a test by test basis. The
framework fix is straightforward and can be chased up in the original
bug.
Author: ngie
Date: Sat Jan 14 00:26:52 2017
New Revision: 312091
URL: https://svnweb.freebsd.org/changeset/base/312091
Log:
MFC r311227,r311917:
r311227:
seekdir_basic: fix various Coverity issues
Address..
- .. resource leaks of file descriptors and memory
- .. unchecked
Author: ngie
Date: Sat Jan 14 00:26:50 2017
New Revision: 312090
URL: https://svnweb.freebsd.org/changeset/base/312090
Log:
MFC r311227,r311917:
r311227:
seekdir_basic: fix various Coverity issues
Address..
- .. resource leaks of file descriptors and memory
- .. unchecked
> On Jan 13, 2017, at 17:08, Conrad E. Meyer wrote:
>
> Author: cem
> Date: Sat Jan 14 01:08:04 2017
> New Revision: 312104
> URL: https://svnweb.freebsd.org/changeset/base/312104
>
> Log:
> Fix broken fstyp exfat testcase
>
> Introduced in r312010.
>
> It helps to read
Author: ngie
Date: Sat Jan 14 00:39:55 2017
New Revision: 312100
URL: https://svnweb.freebsd.org/changeset/base/312100
Log:
MFC r311748:
Bump WARNS up from 0 to 6
Modified:
stable/10/tools/tools/gensnmpdef/Makefile
Directory Properties:
stable/10/ (props changed)
Modified:
Author: ngie
Date: Sat Jan 14 00:39:58 2017
New Revision: 312101
URL: https://svnweb.freebsd.org/changeset/base/312101
Log:
MFC r311748:
Bump WARNS up from 0 to 6
Modified:
stable/11/tools/tools/gensnmpdef/Makefile
Directory Properties:
stable/11/ (props changed)
Modified:
> On Jan 13, 2017, at 17:06, Ngie Cooper (yaneurabeya)
> wrote:
>
>>
>> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote:
>>
>> Author: cem
>> Date: Sat Jan 14 01:03:20 2017
>> New Revision: 312103
>> URL:
> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote:
>
> Author: cem
> Date: Sat Jan 14 01:03:20 2017
> New Revision: 312103
> URL: https://svnweb.freebsd.org/changeset/base/312103
>
> Log:
> Revert r310994
>
> Don't implement some terrible hack on a test by test basis.
Author: cem
Date: Sat Jan 14 01:08:04 2017
New Revision: 312104
URL: https://svnweb.freebsd.org/changeset/base/312104
Log:
Fix broken fstyp exfat testcase
Introduced in r312010.
It helps to read the documentation before trying to test something.
Modified:
Author: ian
Date: Fri Jan 13 16:37:38 2017
New Revision: 312077
URL: https://svnweb.freebsd.org/changeset/base/312077
Log:
Check tty_gone() after allocating IO buffers. The tty lock has to be
dropped then reacquired due to using M_WAITOK, which opens a window in
which the tty device can
Author: ngie
Date: Sat Jan 14 02:26:46 2017
New Revision: 312106
URL: https://svnweb.freebsd.org/changeset/base/312106
Log:
Commit more accepted upstream changes from /tests/...
This includes a number of accepted patches for:
- lib/libc/sys
- lib/libm
christos was also nice enough
Author: cem
Date: Sat Jan 14 02:29:25 2017
New Revision: 312107
URL: https://svnweb.freebsd.org/changeset/base/312107
Log:
Follow-up to r312103:
Revert r310995 as well.
Modified:
head/tests/sys/vfs/Makefile
Modified: head/tests/sys/vfs/Makefile
In message <201701140103.v0e13k8b068...@repo.freebsd.org>, "Conrad E.
Meyer" wr
ites:
> Author: cem
> Date: Sat Jan 14 01:03:20 2017
> New Revision: 312103
> URL: https://svnweb.freebsd.org/changeset/base/312103
>
> Log:
> Revert r310994
>
> Don't implement some terrible hack on a test by
Hi Cy,
r312107 fixes it. If the warning-cleanups and major changes were
committed separately, the more major changes could then have been
reverted independently. Unfortunately, they were not. The warnings
are harmless, though, so just turning them down again is fine.
Best,
Conrad
On Fri, Jan
> On Jan 13, 2017, at 7:50 PM, Conrad Meyer wrote:
>
> Hi Cy,
>
> r312107 fixes it. If the warning-cleanups and major changes were
> committed separately, the more major changes could then have been
> reverted independently. Unfortunately, they were not. The warnings
> are
Author: ngie
Date: Sat Jan 14 04:10:04 2017
New Revision: 312111
URL: https://svnweb.freebsd.org/changeset/base/312111
Log:
Remove unused vars to fix -Wunused issues
MFC after:3 days
Sponsored by: Dell EMC Isilon
Modified:
head/tests/sys/file/ftruncate_test.c
Modified:
Author: np
Date: Sat Jan 14 04:24:49 2017
New Revision: 312116
URL: https://svnweb.freebsd.org/changeset/base/312116
Log:
MFC r311569, r311657, and r311949.
r311569:
Fix comment in t4_tom. No functional change.
r311657:
cxgbe/t4_tom: Fix tid accounting. An offloaded IPv6
No problem.
My make.conf doesn't adjust any warning levels, they're vanilla so, the
build barfed at that line.
--
Cheers,
Cy Schubert
FreeBSD UNIX: Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
In
Author: ngie
Date: Sat Jan 14 05:06:14 2017
New Revision: 312119
URL: https://svnweb.freebsd.org/changeset/base/312119
Log:
encode_long, encode_timeval: mechanically replace `exp` with `exponent`
This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test,
which include
Author: ngie
Date: Sat Jan 14 03:54:23 2017
New Revision: 312108
URL: https://svnweb.freebsd.org/changeset/base/312108
Log:
Delete trailing whitespace and use __arraycount instead of nitems in contrib
code
MFC after:1 week
Modified:
Author: ngie
Date: Sat Jan 14 04:09:01 2017
New Revision: 312110
URL: https://svnweb.freebsd.org/changeset/base/312110
Log:
Fix -Wsign-compare warnings
The loop index (i) doesn't need to be size_t as its comparison is signed
MFC after:1 week
Sponsored by: Dell EMC Isilon
Author: ngie
Date: Sat Jan 14 04:13:28 2017
New Revision: 312112
URL: https://svnweb.freebsd.org/changeset/base/312112
Log:
Fix -Wunused on gcc 4.9 (x was set but not used)
MFC after:3 days
Sponsored by: Dell EMC Isilon
Modified:
head/sys/kern/subr_unit.c
Modified:
Author: ngie
Date: Sat Jan 14 05:02:53 2017
New Revision: 312118
URL: https://svnweb.freebsd.org/changeset/base/312118
Log:
Fix -Wformat issue with zero-length format string passed to err(3)
MFC after:3 days
Tested with: clang, gcc 4.2.1, gcc 4.9
Sponsored by: Dell EMC Isilon
Author: ngie
Date: Sat Jan 14 06:18:54 2017
New Revision: 312123
URL: https://svnweb.freebsd.org/changeset/base/312123
Log:
Add additional tests missed in previous merges
Reminder: use cvs up -APd to pull new directories
Added:
vendor/NetBSD/tests/dist/dev/clock_subr/
Author: ngie
Date: Sat Jan 14 06:16:57 2017
New Revision: 312122
URL: https://svnweb.freebsd.org/changeset/base/312122
Log:
Remove contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind
This should have been pruned in r305358
MFC after:3 days
Sponsored by: Dell EMC Isilon
Deleted:
Author: ngie
Date: Sat Jan 14 04:16:13 2017
New Revision: 312113
URL: https://svnweb.freebsd.org/changeset/base/312113
Log:
Clean up trailing whitespace
MFC after:3 days
Sponsored by: Dell EMC Isilon
Modified:
head/sys/kern/subr_unit.c
Modified: head/sys/kern/subr_unit.c
> On Jan 13, 2017, at 17:07, Ngie Cooper (yaneurabeya)
> wrote:
>
>
>> On Jan 13, 2017, at 17:06, Ngie Cooper (yaneurabeya)
>> wrote:
>>
>>>
>>> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote:
>>>
>>> Author: cem
>>>
Author: ngie
Date: Sat Jan 14 04:20:42 2017
New Revision: 312115
URL: https://svnweb.freebsd.org/changeset/base/312115
Log:
Remove WARNS set globally by ../Makefile.inc now
Sponsored by: Dell EMC Isilon
Modified:
head/tests/sys/vfs/Makefile
Modified: head/tests/sys/vfs/Makefile
Author: ngie
Date: Sat Jan 14 04:20:06 2017
New Revision: 312114
URL: https://svnweb.freebsd.org/changeset/base/312114
Log:
Enable WARNS?= 6 across all of tests/sys
MFC after:1 week
Sponsored by: Dell EMC Isilon
Added:
head/tests/sys/Makefile.inc (contents, props changed)
Author: np
Date: Sat Jan 14 04:34:30 2017
New Revision: 312117
URL: https://svnweb.freebsd.org/changeset/base/312117
Log:
MFC r311569, r311657, and r311949.
r311569:
Fix comment in t4_tom. No functional change.
r311657:
cxgbe/t4_tom: Fix tid accounting. An offloaded IPv6
Author: ngie
Date: Sat Jan 14 05:18:18 2017
New Revision: 312120
URL: https://svnweb.freebsd.org/changeset/base/312120
Log:
Fix warnings
- Staticize test_num
- Promote i to size_t to deal with -Wsign-compare issues
Tested with: clang, gcc, gcc49
MFC after:1 week
Sponsored
Author: mjg
Date: Sat Jan 14 06:20:36 2017
New Revision: 312124
URL: https://svnweb.freebsd.org/changeset/base/312124
Log:
tmpfs: manage tm_pages_used with atomics
Reviewed by: kib (previous version)
Modified:
head/sys/fs/tmpfs/tmpfs.h
head/sys/fs/tmpfs/tmpfs_subr.c
Author: ngie
Date: Sat Jan 14 05:24:35 2017
New Revision: 312121
URL: https://svnweb.freebsd.org/changeset/base/312121
Log:
Follow up to r312118
State that execve failed instead of just printing out the program name
and strerror(errno) via err(3).
MFC after:3 days
X-MFC with:
> On Jan 13, 2017, at 18:29, Conrad E. Meyer wrote:
>
> Author: cem
> Date: Sat Jan 14 02:29:25 2017
> New Revision: 312107
> URL: https://svnweb.freebsd.org/changeset/base/312107
>
> Log:
> Follow-up to r312103:
>
> Revert r310995 as well.
>
> Modified:
>
Author: ngie
Date: Sat Jan 14 04:00:26 2017
New Revision: 312109
URL: https://svnweb.freebsd.org/changeset/base/312109
Log:
Bump WARNS up to 6 again
Has not been tested (can't be after r312103 without cem's hacks
to atf/kyua)!
Modified:
head/tests/sys/vfs/Makefile
Author: ngie
Date: Fri Jan 13 09:01:06 2017
New Revision: 312051
URL: https://svnweb.freebsd.org/changeset/base/312051
Log:
MFC r311390:
snmp_table_fetch_async: don't leak `work` if snmp_pdu_send(..) fails
CID: 1017276
Modified:
stable/11/contrib/bsnmp/lib/snmpclient.c
Author: mav
Date: Fri Jan 13 08:31:55 2017
New Revision: 312026
URL: https://svnweb.freebsd.org/changeset/base/312026
Log:
Improve CAM_CDB_POINTER support.
MFC after:2 weeks
Modified:
head/sys/cam/cam_ccb.h
head/sys/cam/cam_periph.c
head/sys/cam/ctl/ctl_frontend_cam_sim.c
Author: ngie
Date: Fri Jan 13 08:42:11 2017
New Revision: 312036
URL: https://svnweb.freebsd.org/changeset/base/312036
Log:
MFC r311715:
Use nitems({mib,name}) instead of hardcoding their value
Modified:
stable/10/lib/libprocstat/libprocstat.c
Directory Properties:
stable/10/ (props
Author: ngie
Date: Fri Jan 13 08:42:05 2017
New Revision: 312035
URL: https://svnweb.freebsd.org/changeset/base/312035
Log:
MFC r311715:
Use nitems({mib,name}) instead of hardcoding their value
Modified:
stable/11/lib/libprocstat/libprocstat.c
Directory Properties:
stable/11/ (props
Author: ngie
Date: Fri Jan 13 08:54:09 2017
New Revision: 312046
URL: https://svnweb.freebsd.org/changeset/base/312046
Log:
MFC r311733:
Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3)
Modified:
stable/11/contrib/bsnmp/snmp_mibII/mibII.c
Directory Properties:
Author: ngie
Date: Fri Jan 13 08:54:06 2017
New Revision: 312045
URL: https://svnweb.freebsd.org/changeset/base/312045
Log:
MFC r311733:
Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3)
Modified:
stable/10/contrib/bsnmp/snmp_mibII/mibII.c
Directory Properties:
Author: ngie
Date: Fri Jan 13 08:15:32 2017
New Revision: 312019
URL: https://svnweb.freebsd.org/changeset/base/312019
Log:
MFC r311548:
Carry over r311520 to tools/build/options/WITHOUT_USB_GADGET_EXAMPLES
Discussed with: wblock
r311520:
Fix src.conf(5) description of
Author: ngie
Date: Fri Jan 13 08:36:14 2017
New Revision: 312028
URL: https://svnweb.freebsd.org/changeset/base/312028
Log:
MFC r311871:
Merge ^/vendor/NetBSD/tests/dist@r311868
This is the vendor accepted version of ^/head@r311245
Modified:
Author: ngie
Date: Fri Jan 13 08:39:40 2017
New Revision: 312032
URL: https://svnweb.freebsd.org/changeset/base/312032
Log:
MFC r311714:
lib/libutil/kinfo_*: style cleanup
- Use nitems(mib) instead of hardcoding mib's length
- Sort sys/ #includes
Modified:
Author: ngie
Date: Fri Jan 13 08:40:53 2017
New Revision: 312033
URL: https://svnweb.freebsd.org/changeset/base/312033
Log:
MFC r311709:
Style(9) fixes
- Sort sys/ #includes
- Use nitems instead of hardcoding the length of `mib`
Modified:
stable/11/usr.sbin/rwhod/rwhod.c
Author: ngie
Date: Fri Jan 13 08:40:58 2017
New Revision: 312034
URL: https://svnweb.freebsd.org/changeset/base/312034
Log:
MFC r311709:
Style(9) fixes
- Sort sys/ #includes
- Use nitems instead of hardcoding the length of `mib`
Modified:
stable/10/usr.sbin/rwhod/rwhod.c
Hi,
On 8/16/16 3:21 PM, Randall Stewart via svn-src-all wrote:
>
> In theory it *could* be MFC’d to stable-10 and 11 but I am not sure we want
> to do that. I am
> told by Drew that it does improve performance since in stable-10 you are
> getting the INFO_WLOCK()
> but I am not sure if folks
Author: ngie
Date: Fri Jan 13 08:48:17 2017
New Revision: 312039
URL: https://svnweb.freebsd.org/changeset/base/312039
Log:
MFC r311268:
Clarify lifetime of child(..) function
Ensure child exits when complete as it's always run in a forked
process.
Add a missing break statement
Author: ngie
Date: Fri Jan 13 08:46:49 2017
New Revision: 312038
URL: https://svnweb.freebsd.org/changeset/base/312038
Log:
MFC r311265,r311274:
r311265:
fpu: ensure calls to pthread_create succeed and test sched_yield to make
sure it returns 0
sched_yield tests for values
Author: ngie
Date: Fri Jan 13 08:46:46 2017
New Revision: 312037
URL: https://svnweb.freebsd.org/changeset/base/312037
Log:
MFC r311265,r311274:
r311265:
fpu: ensure calls to pthread_create succeed and test sched_yield to make
sure it returns 0
sched_yield tests for values
Author: ngie
Date: Fri Jan 13 08:55:41 2017
New Revision: 312048
URL: https://svnweb.freebsd.org/changeset/base/312048
Log:
MFC r310729:
Prevent improper memory accesses after calling snmp_pdu_free and
snmp_value_free
snmp_pdu_free: set pdu->nbindings to 0 to limit the damage that
Author: ngie
Date: Fri Jan 13 08:55:37 2017
New Revision: 312047
URL: https://svnweb.freebsd.org/changeset/base/312047
Log:
MFC r310729:
Prevent improper memory accesses after calling snmp_pdu_free and
snmp_value_free
snmp_pdu_free: set pdu->nbindings to 0 to limit the damage that
Author: ngie
Date: Fri Jan 13 09:04:29 2017
New Revision: 312054
URL: https://svnweb.freebsd.org/changeset/base/312054
Log:
MFC r311378:
lm_load: fix string copying issues
- Ensure `section` doesn't overrun section by using strlcpy instead of
strcpy [*].
- Use strdup instead of
Author: ngie
Date: Fri Jan 13 08:19:52 2017
New Revision: 312020
URL: https://svnweb.freebsd.org/changeset/base/312020
Log:
MFC r311710:
Style fixes
- Delete trailing whitespace
- Use nitems(mib) instead of hardcoding the mib length
Modified:
stable/11/usr.bin/top/machine.c
Author: ngie
Date: Fri Jan 13 08:27:40 2017
New Revision: 312023
URL: https://svnweb.freebsd.org/changeset/base/312023
Log:
MFC r311711,r311712,r311713:
r311711:
Clean up trailing whitespace
r311712:
Sort #includes
r311713:
Use nitems(mib) instead of hardcoding
Author: ngie
Date: Fri Jan 13 08:27:07 2017
New Revision: 312022
URL: https://svnweb.freebsd.org/changeset/base/312022
Log:
MFC r311711,r311712,r311713:
r311711:
Clean up trailing whitespace
r311712:
Sort #includes
r311713:
Use nitems(mib) instead of hardcoding
Author: ngie
Date: Fri Jan 13 08:37:39 2017
New Revision: 312029
URL: https://svnweb.freebsd.org/changeset/base/312029
Log:
MFC r311870:
Merge the grammar fix for lib/libc/gen/raise_test:raise_stress
Modified:
stable/11/contrib/netbsd-tests/lib/libc/gen/t_raise.c
Directory Properties:
Author: ngie
Date: Fri Jan 13 08:48:20 2017
New Revision: 312040
URL: https://svnweb.freebsd.org/changeset/base/312040
Log:
MFC r311268:
Clarify lifetime of child(..) function
Ensure child exits when complete as it's always run in a forked
process.
Add a missing break statement
Author: ngie
Date: Fri Jan 13 08:49:10 2017
New Revision: 312041
URL: https://svnweb.freebsd.org/changeset/base/312041
Log:
MFC r311282:
snmp_mibII(3) requires net/if.h and net/if_mib.h
Document that requirement
Modified:
stable/11/contrib/bsnmp/snmp_mibII/snmp_mibII.3
Directory
Author: ngie
Date: Fri Jan 13 08:49:22 2017
New Revision: 312042
URL: https://svnweb.freebsd.org/changeset/base/312042
Log:
MFC r311282:
snmp_mibII(3) requires net/if.h and net/if_mib.h
Document that requirement
Modified:
stable/10/contrib/bsnmp/snmp_mibII/snmp_mibII.3
Directory
Author: ngie
Date: Fri Jan 13 09:07:29 2017
New Revision: 312056
URL: https://svnweb.freebsd.org/changeset/base/312056
Log:
MFC r311739:
Use SRCTOP instead of spelling out the full path with .CURDIR
This helps condense the output for CFLAGS and .PATH
Modified:
Author: ngie
Date: Fri Jan 13 09:07:25 2017
New Revision: 312055
URL: https://svnweb.freebsd.org/changeset/base/312055
Log:
MFC r311739:
Use SRCTOP instead of spelling out the full path with .CURDIR
This helps condense the output for CFLAGS and .PATH
Modified:
Author: ngie
Date: Fri Jan 13 09:19:04 2017
New Revision: 312058
URL: https://svnweb.freebsd.org/changeset/base/312058
Log:
MFC r310586,r310587,r310588,r311381:
r310586:
Refactor transport sources a bit to facilitate changes coming down pipeline
Add recv callback to transport
Author: ngie
Date: Fri Jan 13 09:19:09 2017
New Revision: 312059
URL: https://svnweb.freebsd.org/changeset/base/312059
Log:
MFC r311381:
lsock_init_port: address issues with initializing sockaddr_un object
- Use strlcpy to ensure p->name doesn't overflow sa.sun_path [*].
- Use
Author: hrs
Date: Fri Jan 13 08:01:27 2017
New Revision: 312018
URL: https://svnweb.freebsd.org/changeset/base/312018
Log:
Purge varargs.h in favor of stdarg.h.
Modified:
head/usr.sbin/route6d/route6d.c
Modified: head/usr.sbin/route6d/route6d.c
Author: ngie
Date: Fri Jan 13 08:29:43 2017
New Revision: 312025
URL: https://svnweb.freebsd.org/changeset/base/312025
Log:
MFC r311511:
Add integration makefile for contrib/bsnmp/gensnmpdef
It's a whole lot less error prone than generating the file completely
by hand.
Added:
Author: ngie
Date: Fri Jan 13 08:29:40 2017
New Revision: 312024
URL: https://svnweb.freebsd.org/changeset/base/312024
Log:
MFC r311511:
Add integration makefile for contrib/bsnmp/gensnmpdef
It's a whole lot less error prone than generating the file completely
by hand.
Added:
Author: ngie
Date: Fri Jan 13 08:39:23 2017
New Revision: 312031
URL: https://svnweb.freebsd.org/changeset/base/312031
Log:
MFC r311714:
lib/libutil/kinfo_*: style cleanup
- Use nitems(mib) instead of hardcoding mib's length
- Sort sys/ #includes
Modified:
Author: ngie
Date: Fri Jan 13 08:38:29 2017
New Revision: 312030
URL: https://svnweb.freebsd.org/changeset/base/312030
Log:
MFC r311870:
Merge the grammar fix for lib/libc/gen/raise_test:raise_stress
Modified:
stable/10/contrib/netbsd-tests/lib/libc/gen/t_raise.c
Directory Properties:
Author: ngie
Date: Fri Jan 13 08:59:22 2017
New Revision: 312050
URL: https://svnweb.freebsd.org/changeset/base/312050
Log:
MFC r310892,r310894,r310989:
r310892:
Don't call snmp_pdu_free(..) until finished with the pdu and when ready to
allocate a new one via snmp_pdu_create(..)
Author: ngie
Date: Fri Jan 13 08:59:08 2017
New Revision: 312049
URL: https://svnweb.freebsd.org/changeset/base/312049
Log:
MFC r310892,r310894,r310989:
r310892:
Don't call snmp_pdu_free(..) until finished with the pdu and when ready to
allocate a new one via snmp_pdu_create(..)
Author: ngie
Date: Fri Jan 13 09:01:09 2017
New Revision: 312052
URL: https://svnweb.freebsd.org/changeset/base/312052
Log:
MFC r311390:
snmp_table_fetch_async: don't leak `work` if snmp_pdu_send(..) fails
CID: 1017276
Modified:
stable/10/contrib/bsnmp/lib/snmpclient.c
Author: ngie
Date: Fri Jan 13 08:24:41 2017
New Revision: 312021
URL: https://svnweb.freebsd.org/changeset/base/312021
Log:
MFC r266773,r280680,r311710:
r266773 (by jhb):
Fix a couple of size_t != int warnings.
r280680 (by kevlo):
Print size_t's with %zu rather than "%zd.
Author: ngie
Date: Fri Jan 13 08:35:01 2017
New Revision: 312027
URL: https://svnweb.freebsd.org/changeset/base/312027
Log:
MFC r311871:
Merge ^/vendor/NetBSD/tests/dist@r311868
This is the vendor accepted version of ^/head@r311245
Modified:
Author: ngie
Date: Fri Jan 13 08:51:43 2017
New Revision: 312043
URL: https://svnweb.freebsd.org/changeset/base/312043
Log:
MFC r311290,r311293,r311294:
r311290:
Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name
to avoid buffer overflows
CID:
1 - 100 of 118 matches
Mail list logo