aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* stress2: Added another fsck_ffs test scenarioPeter Holm3 days1-0/+160
|
* stress2: Do not run a fuzz test as root.Peter Holm3 days1-1/+6
|
* tools/uma/smrstress: fix kthread exitKonstantin Belousov10 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | By convention, kernel threads must call kthread_exit() instead of blindly returning from the thread function. We have some safety measure in fork_exit(), which checks for the P_KPROC p_flag and does kthread_exit() for kernel thread that forgot to do it itself. But this workaround only works for kernel threads belonging to the kernel process. If a kernel thread is attached to the normal process with live userspace, and does not call kthread_exit(), then the workaround is not activated, and for amd64 at least, the return from the thread function/fork_exit() results in the return to userspace with the copy of frame from the thread that did kthread_add(). Practically for smrstress, this destroys the user stack of the still active frame in the other thread, which was the caller of kthread_add(). Fix it by adding kthread_exit() to the thread function. Reported and tested by: pho Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D35999
* tools/boot: Fix universe.sh's ZFS exclusion testWarner Losh2022-07-241-1/+1
| | | | | | | | | MK_LOADER_ZFS is the current spelling of enabling or disabling ZFS builds. Use it instead of MK_ZFS. Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D35896
* check/delete-old: Fix /bin/rmail removal conditionDmitry Chagin2022-07-211-0/+2
| | | | | | | | | | When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled we install /bin/rmail as a link to the /usr/sbin/mailwrapper. Ensure make delete-old does not unlink /bin/rmail in that case. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D35874 MFC after: 2 weeks
* namespace nv names, version libnv and libnvpair library symbolsReid Linnemann2022-07-211-1/+1
| | | | | | | | | | | | | | | libnv and libnvpair have aliased symbols, and as a result a single process which dlopens a shared object that is dynamically linked to libnv and another to libnvpair will wind up with a single set of resolved symbols for those in conflict. A source file also cannot include both libnv and libnvpair headers because of aliased identifiers. To resolve the situation, libnv types and functions are namespaced via nv_namespace.h, and libnv symbols are versioned. The msgio functions are not namespaced or exported as they are not part of the external API. Reviewed by: kevans Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D35261
* stress2: Update the exclude listPeter Holm2022-07-171-3/+0
|
* stress2: Enable more swap disk usagePeter Holm2022-07-152-5/+3
|
* stress2: Handle "gunion create" error exitPeter Holm2022-07-152-4/+10
|
* depend-cleanup.sh: Handle kqtest being renamed to kqueue_test.John Baldwin2022-07-141-0/+8
| | | | | | | | | | | bmake will not think that object files such as read.o are out of date due to common.h changing since the dependency is only recorded in .depend.kqtest.read.o in an old object directory. Reviewed by: markj Fixes: 68fe988a40ca kqueue tests: Simplify the test runner Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D35820
* git-arc: Fix the -y optionMark Johnston2022-07-131-1/+1
|
* stress2: Added a fsck_ffs(8) test scenarioPeter Holm2022-07-121-0/+178
|
* test: Update boot universe build architecturesWarner Losh2022-07-081-23/+11
| | | | | | | | | | | | We build lua by default, so we don't need another build to build it enabled w/o FORTH. That gives little value over the without forth builds. Remove all mips, they are no longer relevant. Build aarch64 everywhere we build amd64 (except firewire which is x86 only). Build a few more architectures once so we have at least one of every arch we support in at least the default build. This should increase coverage and still take less time than before. Sponsored by: Netflix
* stress2: Added a mount(8) test scenarioPeter Holm2022-07-071-0/+57
|
* cddl/*: add a WITH(OUT)_DTRACE optionBrooks Davis2022-07-062-17/+19
| | | | | | | | | | | | | | | | | | Add an option to enable/disable DTrace without disabling ZFS. New architectures such as CHERI may support ZFS before they support DTrace and the old model of WITHOUT_CDDL disabling both wasn't helpful. For compatiblity, the CDDL option remains and WITHOUT_CDDL implies WITHOUT_DTRACE. WITHOUT_DTRACE also implies WITHOUT_CTF. As part of this change, largely convert cddl/*/Makefile to using the more compact SUBDIR.${MK_<FOO>}+= form rather than using intermediate variables. Reviewed by: markj Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D35718
* stress2: Rework test to improve error reportingPeter Holm2022-06-301-15/+11
|
* stress2: Fix broken random number generationPeter Holm2022-06-292-2/+2
|
* stress2: Added comment about problem foundPeter Holm2022-06-281-0/+2
|
* stress2: Update the exclude listPeter Holm2022-06-281-1/+0
|
* stress2: Added two syzkaller reproducersPeter Holm2022-06-253-1/+259
|
* stress2: Added reagression testsPeter Holm2022-06-255-0/+498
| | | | PR: 165392
* Add RELRO build knob, default to enabledEd Maste2022-06-223-0/+16
| | | | | | | | | | | | | | Note that lld enables relro by default, so that we already had either partial or full RELRO, depending on the state of the BIND_NOW knob. Add a RELRO knob so that the option can be disabled if desired, and so that builds using the GNU toolchain are equivalent to those using the standard Clang/LLVM toolchain. Reviewed by: markj MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35545
* stress2: Added a timeoutPeter Holm2022-06-211-1/+2
|
* stress2: Added a timeout to the testPeter Holm2022-06-201-0/+4
|
* stress2: Fix process handling errorPeter Holm2022-06-201-4/+5
|
* stress2: Remove bsdlabel(8) from testsPeter Holm2022-06-17275-1018/+799
| | | | | Reported by: mhorne Discussed with: kib
* stress2: Added a syzkaller reproducer. Enable all reaper testsPeter Holm2022-06-142-7/+290
|
* Merge llvm-project release/14.x llvmorg-14.0.5-0-gc12386ae247cDimitry Andric2022-06-121-309/+309
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14.0.5-0-gc12386ae247c, aka 14.0.5 release. PR: 261742 MFC after: 3 days
* stress2: Added an explanation to failure modePeter Holm2022-06-121-0/+1
|
* Add SPLIT_KERNEL_DEBUG knobEd Maste2022-06-082-3/+5
| | | | | | | | | | | | | | | | | | | Prior to 9b6edf364eb0 WITHOUT_KERNEL_SYMBOLS split kernel debug data into standalone debug files at build time, but did not install those files. As of 9b6edf364eb0 it stopped splitting the debug data, leaving it in the kernel and modules (the default kernel configs include DEBUG=-g). Revert 9b6edf364eb0 and introduce a new build-time SPLIT_KERNEL_DEBUG knob, as some people rely on the pre-9b6edf364eb0 WITHOUT_KERNEL_SYMBOLS behaviour and that was imp's original intent. PR: 264433 Reviewed by: eugen, imp MFC after: 3 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35437
* Clarify WITHOUT_KERNEL_SYMBOLS descriptionEd Maste2022-06-071-1/+3
| | | | | | | | | | | | | Debug data is enabled via `makeoptions DEBUG=-g` in the kernel config file (e.g. GENERIC). If debug data is enabled and WITHOUT_KERNEL_SYMBOLS is set then debug data is included in the kernel and module files. PR: 264433 Discussed with: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Add more old clang files to (Optional)ObsoleteFiles.incDimitry Andric2022-06-051-0/+3
| | | | | | | There were a few more libclang_rt libraries added recently, but not yet listed in the ObsoleteFiles.inc lists. MFC after: 3 days
* Update rest of llvm-project build glue for 14.0.4Dimitry Andric2022-06-051-306/+306
| | | | | | | | | I completely forgot about updating the generated llvm-project config files, which also contain version numbers, etc. Sorry for the churn. PR: 261742 Fixes: ab9d54731f43 MFC after: 3 days
* stress2: Updated the exclude list and sorted itPeter Holm2022-06-011-8/+17
|
* stress2: Added syzkaller reproducersPeter Holm2022-06-013-0/+788
|
* stress2: Added procctl(2) PROC_REAP_KILL regression testsPeter Holm2022-06-016-0/+1110
|
* src.conf.5: Update the WITHOUT_ZFS descriptionMark Johnston2022-05-301-1/+8
| | | | | | | | | | ... to take into account programs and libraries which might implement some ZFS-specific features without being exclusive to ZFS. Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35337
* Add several sanitizer ignore lists under /usr/lib/clangDimitry Andric2022-05-281-0/+4
| | | | | | | | | | | Some of the sanitizers from compiler-rt can use ignore lists, which are loosely modeled on valgrind's example. Upstream provides default lists for AddressSanitizer, CFI, and MemorySanitizer, so install these in the expected location, /usr/lib/clang/14.0.3/share. Reviewed by: emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D35338
* stress2: Added a syzkaler reproducerPeter Holm2022-05-271-0/+298
|
* Remove referenes to net.inet.tcp.local_slowstart_flightsizeMateusz Piotrowski2022-05-241-3/+0
| | | | Fixes: 9ec4a4cca5d9 Remove the ss_fltsz and ss_fltsz_local
* Remove remaining net.tcp.inflight* references from srcMateusz Piotrowski2022-05-241-44/+0
| | | | | Fixes: d8b03e05a9ef The inflight bandwidth limiter was removed in r212765.
* Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfbDimitry Andric2022-05-141-300/+302
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14.0.3-0-g1f9140064dfb. PR: 261742 MFC after: 2 weeks
* Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012Dimitry Andric2022-05-141-0/+4
| | | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before the upstream release/14.x branch was created. PR: 261742 MFC after: 2 weeks
* Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35Dimitry Andric2022-05-141-2/+41
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-17616-g024a1fab5c35. PR: 261742 MFC after: 2 weeks
* Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71Dimitry Andric2022-05-141-4/+57
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-11187-g222442ec2d71. PR: 261742 MFC after: 2 weeks
* Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3Dimitry Andric2022-05-141-297/+369
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14-init-10223-g401b76fdf2b3. PR: 261742 MFC after: 2 weeks
* stress2: Added a test scenarioPeter Holm2022-05-082-0/+56
|
* mfc-candidates.sh: Set default target branch for portsJoseph Mingrone2022-05-041-13/+26
| | | | | | Approved by: emaste, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35096
* Remove stray .Pp from WITH_LOADER_EFI_SECUREBOOT descriptionEd Maste2022-05-021-1/+0
| | | | | | MFC after: 3 days Fixes: 13ea0450a9c8 ("Extend libsecureboot(old libve) to...") Sponsored by: The FreeBSD Foundation
* Update UNIFIED_OBJDIR descriptionsEd Maste2022-05-022-2/+4
| | | | | | | | | | | src.conf(5) previously stated they would be removed before FreeBSD 12.0, but that did not happen. Change it to "a future version of FreeBSD." Also pick up LOADER_KBOOT change (enabled on x86) in src.conf regen. Reported by: jhb MFC after: 3 days Sponsored by: The FreeBSD Foundation