summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the previous commit to the family tree file. It is too earlysevan2017-02-031-1/+7
| | | | | | | to list 11.0, and we do not list -CURRENT here. Submitted by: maxim Sponsored by: The FreeBSD Foundation
* MFC r310724:markj2017-02-032-14/+29
| | | | | | Follow DW_AT_specification when looking up DW_AT_type attributes. PR: 215350, 215395
* MFC r308773:markj2017-02-031-7/+5
| | | | Define dependencies for some auto-generated source files in libdtrace.
* MFC r307400, r307401:markj2017-02-032-2/+3
| | | | DTrace test fixes.
* MFC r305055:markj2017-02-031-7/+24
| | | | Recursively enumerate anonymous structs and unions in ctf_member_info().
* MFC r302793:markj2017-02-031-39/+48
| | | | Allow ACPI wakeup code and page tables to be stored in non-contiguous pages.
* MFC r307693:markj2017-02-031-12/+4
| | | | Simplify keg_drain() a bit by using LIST_FOREACH_SAFE.
* MFC r309698, r309699, r309700:markj2017-02-035-5/+5
| | | | DTrace test fixes.
* MFC r309200:markj2017-02-032-2/+4
| | | | Launder VPO_NOSYNC pages upon vnode deactivation.
* MFC r310420, r310421, r310422:markj2017-02-032-19/+81
| | | | Fix races and logic errors around dlclose().
* MFC r310316:markj2017-02-031-1/+1
| | | | Consistently print D variable indices in decimal when disassembling.
* MFC r312209:markj2017-02-031-1/+1
| | | | Suppress a warning about m_assertbuf being unused.
* MFC r311902:markj2017-02-032-16/+35
| | | | Coalesce TLB shootdowns of global PTEs in pmap_advise() on x86.
* MFC r312893:markj2017-02-031-1/+1
| | | | Fix an off-by-one in an assertion on fasttrap tracepoint sizes.
* MFC r312199:markj2017-02-031-1/+1
| | | | Stop the scheduler upon panic even in non-SMP kernels.
* MFC r312307:markj2017-02-031-6/+10
| | | | Improve some of the sysctl descriptions added in r299827.
* MFC r310332:markj2017-02-031-5/+8
| | | | Avoid modifying the object string table when patching USDT probes.
* MFC r310180, r310327asomers2017-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | r310180: Fix panic during lagg destruction with simultaneous status check If you run "ifconfig lagg0 destroy" and "ifconfig lagg0" at the same time a page fault may result. The first process will destroy ifp->if_lagg in lagg_clone_destroy (called by if_clone_destroy). Then the second process will observe that ifp->if_lagg is NULL at the top of lagg_port_ioctl and goto fallback: where it will promptly dereference ifp->if_lagg anyway. The solution is to repeat the NULL check for ifp->if_lagg MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8512 r310327: Remove stray debugging code from r310180 Reported by: rstone Pointy hat to: asomers MFC after: 3 weeks X-MFC-with: 310180 Sponsored by: Spectra Logic Corp
* MFC r311160, r311210, r311288, r311292, r311298, r311340asomers2017-02-027-37/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r311160: misc minor fixes in mpr(4) sys/dev/mpr/mpr_sas.c * Fix a potential null pointer dereference (CID 1305731) * Check for overrun of the ccb_scsiio.cdb_io.cdb_bytes buffer (CID 1211934) sys/dev/mpr/mpr_sas_lsi.c * Nullify a dangling pointer in mprsas_get_sata_identify * Fix a memory leak in mprsas_SSU_to_SATA_devices (CID 1211935) Reported by: Coverity (partially) CID: 1305731 1211934 1211935 Reviewed by: slm MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8880 r311210: Quell Coverity for diskinfo(8) * CID 1198994: Don't run the speed disk on a disk with no sectors * CID 1011442: Don't call close(2) if open(2) fails * CID 1011161: Use snprintf instead of sprintf * CID 1009825: Check the return value of lseek Reported by: Coverity CID: 1198994 1011442 1011161 1009825 MFC after: 4 weeks Sponsored by: Spectra Logic Corp r311288: 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: 270586 MFC after: 4 weeks Sponsored by: Spectra Logic Corp r311292: 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 from NetBSD in 2006. Reported by: Coverity CID: 270097 Obtained from: NetBSD MFC after: 4 weeks Sponsored by: Spectra Logic Corp r311298: 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. Reported by: Coverity CID: 500059 MFC after: 4 weeks Sponsored by: Spectra Logic Corp r311340: Misc Coverity fixes for tail(1) CID 1006402: Initialize stack variable CID 271580: Don't leak memory when ENOMEM. Reported by: Coverity CID: 271580 1006402 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
* MFC r312649:kib2017-02-021-1/+5
| | | | Document mount option "nonc" for tmpfs.
* MFC r312432:kib2017-02-025-17/+54
| | | | Add a mount option for tmpfs(5) to not use namecache.
* MFC r312430:kib2017-02-021-0/+127
| | | | Implement VOP_VPTOCNP() for tmpfs.
* MFC r312429:kib2017-02-021-5/+0
| | | | VNON nodes cannot exist.
* MFC r312428:kib2017-02-024-44/+130
| | | | Refcount tmpfs nodes and mount structures.
* MFC r312728davidcs2017-02-028-226/+414
| | | | | | Added support for if_transmit and if_qflush Removed if_start updated version to 3.10.33
* MFC 312782kp2017-02-012-0/+7
| | | | | | | | | | | | | | | | | | | | bridge: Release the bridge lock when calling bridge_set_ifcap() This calls ioctl() handlers for the different interfaces in the bridge. These handlers expect to get called in an ioctl context where it's safe for them to sleep. We may not sleep with the bridge lock held. However, we still need to protect the interface list, to ensure it doesn't get changed while we iterate over it. Use BRIDGE_XLOCK(), which prevents bridge members from being removed. Adding bridge members is safe, because it uses LIST_INSERT_HEAD(). This caused panics when adding xen interfaces to a bridge. PR: 216304 Reviewed by: ae Sponsored by: RootBSD Differential Revision: https://reviews.freebsd.org/D9290
* MFC r312678: Eliminate misleading comments and dead code inrpokala2017-02-011-6/+1
| | | | | | | | | | | | lacp_port_create() Variables "fast" and "active" are both constant in lacp_port_create(), but comments mispleadingly suggest that "fast" can be changed via ioctl. The constant values control the value of "lp->lp_state", so it too is constant, and the code for assigning different value to it is essentially dead. Remove both "fast" and "active", and set "lp->lp_state" unconditionally; that gets rid of the dead code and misleading comments.
* MFC r312531: vmm_dev: work around a bogus error with gcc 6.3.0avg2017-01-301-1/+1
|
* MFC r312228: Make `camcontrol cmd ... -i ...` return only valid bytes.mav2017-01-291-5/+9
| | | | | Previously code ignored resid field and returned extra zeroes in case of data underflow. Now it returns only real bytes received from target.
* MFC r312647:kib2017-01-291-0/+15
| | | | | Add comments explaining unobvious td_critnest adjustments in critical_exit().
* MFC r312644, r312650bapt2017-01-283-10/+25
| | | | | | | | | | | | | | | | | | | | | | r312644: Readd a feature lost in pw(8) refactoring pw usermod foo -m It used to be able to (re)create the home directory if it didn't exists PR: 216224 Reported by: ae MFC after: 3 days r312650: Really restore the old behaviour for pw usermod -m It again reinstall missing skel files without overwriting changed one Add a regression test about it Reported by: ae MFC after: 3 days
* MFC r311659:bapt2017-01-281-23/+10
| | | | | | | | | | | | | remove network mask calculation for Classful network Nowadays it's not necessary to compute network mask from the IP address and compare to given by DHCP. Submitted by: kczekirda Reviewed by: glebius, bapt Sponsored by: Oktawave MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D8740
* MFC r312547: Mention sendfile(2) by popular demand.wblock2017-01-271-2/+8
| | | | Sponsored by: iXsystems
* MFC r312699:tijl2017-01-271-10/+5
| | | | | | | | | Apply r210555 to 64 bit linux support: The interpreter name should no longer be treated as a buffer that can be overwritten. PR: 216346
* MFH: r308671julian2017-01-271-0/+6
| | | | | | | | | | | | | | | | When you select make OLDTIMEZONES=1 then you need a few added directories to be made or the command fails Sponsored by: panzura MFH: r310426 If you are going to be run individually to make a new timezone set then ensure the destination directories exist. Especially if you define OLDTIMEZONES because the mtree pass doesn't do it for you. Sponsored by: Panzura
* MFC r312533: Report disk addition errors on `add` or `create` subcommand.mav2017-01-271-4/+4
|
* MFC r312538:pfg2017-01-271-0/+7
| | | | | | | | | | | | | | | | | Addition of clang nullability qualifiers. For consistency with the qualifiers added in r310977, define a new qualifier _Null_unspecified which is also defined in clang 3.7+. Add two new macros: __NULLABILITY_PRAGMA_PUSH __NULLABILITY_PRAGMA_POP These are for use in headers when we want avoid noisy warnings if some pointers are left without nullability annotations. These are added with way ahead of their first use to teach the GCC ports headers of their existance before their first use.
* MFC r311993: Fix typo in r311971 and now in r312405 too.kan2017-01-271-1/+1
|
* MFC r310698:araujo2017-01-271-0/+6
| | | | | | | | Print hostcache usage counts with TCP statistics. PR: 196252 Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru> MFC after: 3 weeks.
* MFC r312232: Add under-/overrun support to IOCTL and CAM SIM frontends.mav2017-01-262-13/+32
|
* MFC r312231: When in kernel, map ctl_scsi_zero_io() to ctl_zero_io().mav2017-01-262-4/+4
|
* MFC r312026: Improve CAM_CDB_POINTER support.mav2017-01-265-29/+18
|
* MFC r311873: Fix malloc(M_WAITOK) under mutex, introduced at r311787.mav2017-01-261-21/+17
|
* MFC r311804: Rewrite CTL statistics in more simple and scalable way.mav2017-01-268-365/+454
| | | | | | | | | | | | | Instead of collecting statistics for each combination of ports and logical units, that consumed ~45KB per LU with present number of ports, collect separate statistics for every port and every logical unit separately, that consume only 176 bytes per each single LU/port. This reduces struct ctl_lun size down to just 6KB. Also new IOCTL API/ABI does not hardcode number of LUs/ports, and should allow handling of very large quantities. Old API is still enabled in stable branches for compatibility reasons.
* MFC r311787: Allocate memory for prevent flags only for removable LUs.mav2017-01-262-5/+12
| | | | | This array takes 64KB of RAM now, that was more then half of struct ctl_lun size. If at some point we support more ports, this may need another tune.
* MFC r311680: Make CTL_GETSTATS ioctl return partial data if buffer is small.mav2017-01-261-12/+9
|
* MFC r310778, r310782: Improve use of I/O's private area.mav2017-01-266-286/+144
| | | | | | - Since I/Os are allocates from per-port pools, make allocations store pointer to CTL softc there, and use it where needed instead of global. - Created bunch of helper macros to access LUN, port and CTL softc.
* MFC r310786, r310803, r310985, r311894asomers2017-01-2616-427/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r310786: Reduce the runtime of the GELI tests There is no reduction in test coverage. On my system runtime is reduced from 38m32s to 6m24s. tests/sys/geom/class/eli/conf.sh tests/sys/geom/class/eli/init_a_test.sh tests/sys/geom/class/eli/init_test.sh tests/sys/geom/class/eli/integrity_copy_test.sh tests/sys/geom/class/eli/integrity_data_test.sh tests/sys/geom/class/eli/integrity_hmac_test.sh tests/sys/geom/class/eli/onetime_a_test.sh tests/sys/geom/class/eli/onetime_test.sh Move the looping code into common functions in conf.sh, and remove alias ciphers from the list. tests/sys/geom/class/eli/init_a_test.sh tests/sys/geom/class/eli/init_test.sh tests/sys/geom/class/eli/integrity_copy_test.sh tests/sys/geom/class/eli/integrity_data_test.sh tests/sys/geom/class/eli/integrity_hmac_test.sh tests/sys/geom/class/eli/onetime_a_test.sh Move a few commands that don't need to be in the inner loop out. tests/sys/geom/class/eli/init_test.sh tests/sys/geom/class/eli/onetime_a_test.sh Reduce the sector count tests/sys/geom/class/eli/Makefile tests/sys/geom/class/eli/init_alias_test.sh Add a test for initializing a GELI device using one of the cipher aliases, and check that the alias is correctly interpreted. MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8814 r310803: ATFify the gnop tests Also, add test cases for the -p, -P, and -s options to gnop create Reviewed by: ngie MFC after: 4 weeks Differential Revision: https://reviews.freebsd.org/D8892 r310985: Update ObsoleteFiles.inc for r310803 MFC after: 26 days X-MFC-with: 310803 r311894: Fix typo from change 310985 in ObsoleteFiles.inc MFC after: 16 days X-MFC-With: 310803 Sponsored by: Spectra Logic Corp
* MFC: r312825jkim2017-01-26469-5822/+4561
| | | | Merge OpenSSL 1.0.2k.
* MFC r312423:kib2017-01-261-11/+41
| | | | | | | Refresh tmpfs(5) man page. MFC r312648: Editing and clarifications for tmpfs(5).
OpenPOWER on IntegriCloud