summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * MFC r310633: Add MAX_LUNS overflow safety checks.mav2017-01-101-0/+10
| | | | | | | | | | While this MAX_LUNS limitation is too synthetic and should be removed, it is better to enforce it while it is here.
| * MFH (r301027): fix 307 / 308 redirectsdes2017-01-101-1/+4
| | | | | | | | | | | | MFH (r310823): fix multi-line CONNECT responses PR: 112515 173451 194483 209546
| * MFH (r267371, r297754, r299520): nits and styledes2017-01-103-14/+14
| |
| * MFC r257398 (by sbruno):dim2017-01-099-66/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quiesce warnings by updating headerfile includes r257404 | sbruno | 2013-10-30 23:41:18 +0100 (Wed, 30 Oct 2013) | 9 lines Quiesce two warnings: 1. define the CODE * as const 2. restructure function to eliminate warning about exiting with no return. severity_map() never returns when it can't find an appropriate sysylog facility, and it longjmp()'s away into error code handling. Keep this behavior by stashing the facility value found during our search and checking for -1 if found. MFC r257405 (by sbruno): Quiesce warning, which could be a bug IMO, by correctly defining the host_info structure name MFC r257406 (by sbruno): Queisce warning about undeclared function usage. yp_get_default_domain is defined in workaround.c but is not declared in any header file. Tie the declaration to the same #define conditional used when the function is called, NETGROUP MFC r311459: Put proper prototypes in tcpd.h Clang 4.0.0 complains about tcpd.h's not-really-prototypes, e.g.: /usr/include/tcpd.h:75:24: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] extern int hosts_access(); /* access control */ ^ To fix this, turn these declarations into real prototypes. While here, garbage collect the incompatible rfc931() function from scaffold.c, as it is never used. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D9052 MFC r311461: Also remove unnecessary extern keywords from tcpd.h. Noticed by: kib MFC r311556: After r311459, some ports can break, because a few of the newly added prototypes in <tcpd.h> use FILE. Pull in a minimal forward declaration of FILE from <stdio.h> to minimize impact. Sorry for the breakage. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org>
| * MFC r310242:hselasky2017-01-092-1/+27
| | | | | | | | | | | | | | | | Defer USB enumeration until the SI_SUB_KICK_SCHEDULER is executed to avoid boot panics in conjunction with the recently added EARLY_AP_STARTUP feature. The panics happen due to using kernel facilities like callouts too early. Tested by: jhb @
| * MFC r310058:hselasky2017-01-091-27/+41
| | | | | | | | | | | | | | | | Fix initialisation of mlx4_pci_table's .driver_data fields. Differential Revision: https://reviews.freebsd.org/D8791 Sponsored by: Mellanox Technologies Submitted by: Dexuan Cui <decui@microsoft.com>
| * MFC r310387:hselasky2017-01-091-0/+22
| | | | | | | | | | | | Add more comments regarding collection of statistics counters. Sponsored by: Mellanox Technologies
| * MFC r310388:hselasky2017-01-091-2/+2
| | | | | | | | | | | | Make a read only pointer constant. Sponsored by: Mellanox Technologies
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2017-01-09674-39858/+65446
|\ \ | |/
| * MFC r311113:kib2017-01-091-6/+4
| | | | | | | | | | There is no need to use temporary statfs buffer for fsid obliteration and prison enforcement. Do it on the caller buffer directly.
| * MFC r311111:kib2017-01-091-1/+1
| | | | | | | | Style.
| * MFC r311108:kib2017-01-091-65/+41
| | | | | | | | Move common code from kern_statfs() and kern_fstatfs() into a new helper.
| * MFC r310615:kib2017-01-091-11/+2
| | | | | | | | Change knlist_destroy() to assertion.
| * MFC r311055:kib2017-01-091-20/+20
| | | | | | | | Remove unneeded externs keywords. Reindent long lines.
| * MFC r311640arybchik2017-01-097-10/+41
| | | | | | | | | | | | | | | | | | | | sfxge(4): allow DMA descs to cross 4k boundary on EF10 Siena has limitation on maximum byte count and 4k boundary crosssing (which is stricter than maximum byte count). EF10 has limitation on maximum byte count only. Sponsored by: Solarflare Communications, Inc.
| * MFC r311639arybchik2017-01-091-1/+3
| | | | | | | | | | | | | | | | | | sfxge(4): treat EFX_LINK_UNKOWN as link down It is safer to consider EFX_LINK_UNKNOWN as link down. link_mode is set to EFX_LINK_UNKNOWN on port stop and fini. Sponsored by: Solarflare Communications, Inc.
| * MFC r311638arybchik2017-01-091-2/+1
| | | | | | | | | | | | sfxge(4): use SFXGE_LINK_UP() to report link up state Sponsored by: Solarflare Communications, Inc.
| * MFC r310614: Don't assign rtjp twice.delphij2017-01-091-2/+1
| |
| * MFC r310611:delphij2017-01-091-3/+1
| | | | | | | | | | | | - pstat(8) does not accept any arguments other than getopt() args, so don't bother to adjust argc/argv after getopt() loop. - Make a string pointer constant.
| * MFC r310609: Don't use high precision clock for expiration as only seconddelphij2017-01-091-7/+7
| | | | | | | | portion is used.
| * MFC r310608: Avoid use after free.delphij2017-01-091-4/+6
| |
| * MFC r311114:ngie2017-01-091-1/+7
| | | | | | | | Build libexec/kadmind when MK_GSSAPI != no because it requires gssapi
| * MFC r311112,r311115:ngie2017-01-092-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | r311112: libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalize their building on the knob r311115: Conditionalize adding ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et to ETSRCS if MK_GSSAPI != "no"
| * MFC r311505:ngie2017-01-091-1/+1
| | | | | | | | Remove unnecessary __unused attribute attached to `ctx` in op_begemot_mibII(..)
| * MFC r311384:ngie2017-01-091-1/+1
| | | | | | | | op_usm_users: fix indentation in SNMP_OP_SET block
| * MFC r311382:ngie2017-01-091-6/+3
| | | | | | | | Use calloc instead of malloc + memset(.., 0, ..)
| * MFC r311393:ngie2017-01-091-2/+2
| | | | | | | | | | OS_getSystemUptime: use nitems for calculating the number of elements in a sysctl mib instead of hardcoding the number 2
| * MFC r310984,r311102:ngie2017-01-091-8/+4
| | | | | | | | | | | | | | | | | | | | r310984: Use calloc instead of malloc + memset(.., 0, ..) r311102 (by pfg): Cleanup inelegant calloc(3) introduced in r310984.
| * MFC 306564: Expose kernel-only errno values if _WANT_KERNEL_ERRNO is defined.jhb2017-01-092-5/+2
| | | | | | | | | | | | | | | | | | | | | | The kernel uses a few negative errno values for internal conditions such as requesting a system call restart. Normally these errno values are not exposed to userland. However, kdump needs access to these values as some of then can be present in a ktrace system call return record. Previously kdump was defining _KERNEL to gain access to ehse values, but was then having to manually declare 'errno' (and doing it incorrectly). Now, kdump uses _WANT_KERNEL_ERRNO instead of _KERNEL and uses the system-provided declaration of errno.
| * MFC r267546 (by alc):kib2017-01-081-77/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tidy up the early parts of vm_map_insert(). MFC r267645 (by alc): When MAP_STACK_GROWS_{DOWN,UP} are passed to vm_map_insert() set the corresponding flag(s) in the new map entry. Pass MAP_STACK_GROWS_DOWN to vm_map_insert() from vm_map_growstack() when extending the stack in the downward direction. MFC r267850 (by alc): Place the check that blocks map entry coalescing on stack entries in vm_map_simplify_entry(). MFC r267917 (by alc): Delay the call to crhold() in vm_map_insert() until we know that we won't have to undo it by calling crfree(). Eliminate an unnecessary variable from vm_map_insert(). MFC r311014: Style fixes for vm_map_insert(). Tested by: pho
| * MFC r311446: Fix bootverbose affecting code logic in r294558.mav2017-01-081-2/+3
| | | | | | | | Reported by: Jilles Tjoelker <jilles@stack.nl>
| * MFC 306563: Decode arguments to truncate and ftruncate.jhb2017-01-071-0/+6
| | | | | | | | | | In particular, decode the off_t argument as a 64-bit argument to fix decoding for 32-bit processes.
| * MFC r310982:kib2017-01-071-36/+22
| | | | | | | | Ansify vm/vm_pager.c. Style.
| * MFC r310925:kib2017-01-071-1/+0
| | | | | | | | Remove unused declaration.
| * MFC r311245:ngie2017-01-071-0/+3
| | | | | | | | | | | | tty: don't leak s after opening it with openpty CID: 978321
| * MFC r311247:ngie2017-01-071-0/+3
| | | | | | | | | | | | mkfifoat_fd: close dfd after use to avoid leaking it CID: 978286
| * MFC r311248:ngie2017-01-071-0/+3
| | | | | | | | | | | | mknodat_fd: close dfd after use to avoid leaking it CID: 978287
| * MFC r311235:ngie2017-01-071-0/+3
| | | | | | | | | | | | ttyname_err: close fd if it was opened successfully CID: 978292
| * MFC r311240:ngie2017-01-071-0/+3
| | | | | | | | | | | | | | | | kqueue_desc_passing: initialize m.msg_flags to 0 This mutes an uninitialized scalar warning from Coverity CID: 979620
| * MFC r311273:ngie2017-01-071-0/+3
| | | | | | | | | | | | setrlimit_basic: don't leak buf; free it on completion CID: 978311
| * MFC r311228:ngie2017-01-071-0/+3
| | | | | | | | | | | | ftok_link: don't leak fd CID: 978291
| * MFC r311250:ngie2017-01-071-0/+3
| | | | | | | | | | | | mincore_resid: free buf after use CID: 978304
| * MFC r311271:ngie2017-01-071-0/+3
| | | | | | | | | | | | stat_symlink: don't leak fd; close the file descriptor when done CID: 978314
| * MFC r311269:ngie2017-01-071-0/+12
| | | | | | | | | | | | | | | | swapcontext1: test for getcontext(3) and swapcontext(3) success properly The beforementioned libcalls both succeed if the return codes aren't -1 CID: 976790, 976791
| * MFC r311249:ngie2017-01-072-1/+22
| | | | | | | | | | | | {strchr,strlen}_basic: don't leak the dlopen'ed handle; close after use CID: 978299, 978300
| * MFC r311272:ngie2017-01-071-0/+3
| | | | | | | | | | | | | | | | | | 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 CID: 978311
| * MFC r311246:ngie2017-01-071-0/+3
| | | | | | | | | | | | fexecve: don't leak fd on fexecve(2) failure; close before calling err CID: 978285
| * MFC r311270:ngie2017-01-071-0/+3
| | | | | | | | | | | | pipe_restart: free f on function exit to quell complaint from Coverity CID: 978307
| * MFC r311291:ngie2017-01-071-2/+2
| | | | | | | | bridge_get_pfval: use nitems instead of spelling it out longhand
| * MFC r310501:ngie2017-01-071-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | Be more strict about IpAddress type in snmp_value_parse(..) - Use inet_pton with AF_INET instead of doing longhand with sscanf. - Use gethostbyname2 with AF_INET to ensure that the hostname isn't accidentally parsed with another address family, e.g. AF_INET6. NB: IpAddress per RFC-2578 is IPv4 only. Work is in progress to add the InetAddress type and friends documented in RFC-4001 and elsewhere (which supports IPv4, IPv6, and more).
OpenPOWER on IntegriCloud