Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
Remove -I flag for include path that doesn't existFound this while trying to get macOS bootstrap to work again after OpenZFS merge.Reviewed By: #zfs, freqlabsDifferential Revision: https://revie
Remove -I flag for include path that doesn't existFound this while trying to get macOS bootstrap to work again after OpenZFS merge.Reviewed By: #zfs, freqlabsDifferential Revision: https://reviews.freebsd.org/D26192
Merge OpenZFS support in to HEAD.The primary benefit is maintaining a completely sharedcode base with the community allowing FreeBSD to receivenew features sooner and with less effort.I would a
Merge OpenZFS support in to HEAD.The primary benefit is maintaining a completely sharedcode base with the community allowing FreeBSD to receivenew features sooner and with less effort.I would advise against doing 'zpool upgrade'or creating indispensable pools using newfeatures until this change has had a month+to soak.Work on merging FreeBSD support in to what wasat the time "ZFS on Linux" began in August 2018.I first publicly proposed transitioning FreeBSDto (new) OpenZFS on December 18th, 2018. FreeBSDsupport in OpenZFS was finally completed in December2019. A CFT for downstreaming OpenZFS support into FreeBSD was first issued on July 8th. All issuesthat were reported have been addressed or, fora couple of less critical matters there arepull requests in progress with OpenZFS. iXsystemshas tested and dogfooded extensively internally.The TrueNAS 12 release is based on OpenZFS withsome additional features that have not yet madeit upstream.Improvements include: project quotas, encrypted datasets, allocation classes, vectorized raidz, vectorized checksums, various command line improvements, zstd compression.Thanks to those who have helped along the way:Ryan Moeller, Allan Jude, Zack Welch, and manyothers.Sponsored by: iXsystems, Inc.Differential Revision: https://reviews.freebsd.org/D25872
Re-enable proc_test:symbol_lookup after r360979.PR: 244732MFC after: 2 weeksSponsored by: The FreeBSD Foundation
Temporarily skip 2 failing tests after llvm10 importPR: 244732Sponsored by: The FreeBSD Foundation
Update Makefile.depend filesUpdate a bunch of Makefile.depend files asa result of adding Makefile.depend.options filesReviewed by: bdreweryMFC after: 1 weekSponsored by: Juniper NetworksDi
Update Makefile.depend filesUpdate a bunch of Makefile.depend files asa result of adding Makefile.depend.options filesReviewed by: bdreweryMFC after: 1 weekSponsored by: Juniper NetworksDifferential Revision: https://reviews.freebsd.org/D22494
Add Makefile.depend.optionsLeaf directories that have dependencies impactedby options need a Makefile.depend.options fileto avoid churn in Makefile.dependDIRDEPS for cases such as OPENSSL, TCP_
Add Makefile.depend.optionsLeaf directories that have dependencies impactedby options need a Makefile.depend.options fileto avoid churn in Makefile.dependDIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etccan be set in local.dirdeps-options.mkwhich can add to those set in Makefile.depend.optionsSee share/mk/dirdeps-options.mkReviewed by: bdreweryMFC after: 1 weekSponsored by: Juniper NetworksDifferential Revision: https://reviews.freebsd.org/D22469
pkgbase: Create a FreeBSD-utilities package and make it the default oneThe default package use to be FreeBSD-runtime but it should only containbinaries and libs enough to boot to single user and r
pkgbase: Create a FreeBSD-utilities package and make it the default oneThe default package use to be FreeBSD-runtime but it should only containbinaries and libs enough to boot to single user and repair the system, itis also very handy to have a package that can be tranform to a small mfsroot.So create a new package named FreeBSD-utilities and make it the default one.Also move a few binaries and lib into this package when it make sense.Reviewed by: bapt, gjbDifferential Revision: https://reviews.freebsd.org/D21506
mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUMmachine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h viamachine/reg.h. Many of the regnum definitions are too shor
mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUMmachine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h viamachine/reg.h. Many of the regnum definitions are too short and too genericto be exposing to any userland application including one of these twoheaders. Moreover, these actively cause build failures in googletest(template <typename T1 ...> expanding to template <typename 9 ...>).Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all ofthe userland consumers to define as needed.Discussed with: imp, jhbReviewed by: imp, jhbMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D21330
mips: Fix register target for SP setting in libprocCopy-paste-o from r233042Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D21188
Be consistent about temporary variable use in adjacent loops.Obtained from: CheriBSDMFC after: 1 weekSponsored by: DARPA, AFRL
Remove an unneeded temporary variable in two functions.There is no need to convert an intptr_t to a long just to cast it to a(void *).Obtained from: CheriBSDMFC after: 1 weekSponsored by: DARP
Remove an unneeded temporary variable in two functions.There is no need to convert an intptr_t to a long just to cast it to a(void *).Obtained from: CheriBSDMFC after: 1 weekSponsored by: DARPA, AFRL
Detach from the child process before completing the test.Otherwise the child will receive SIGTRAP if the parent exits first.
Take the mapping's segment offset into account when resolving symbols.Reported by: Jenkins, via asomersMFC after: 2 weeks
Disable optimization of the libproc test program.Dead code elimination may remove symbols that are required by the tests.Reported by: Jenkins, via asomersMFC after: 1 week
Use a global extern declaration to appease gcc.Reported by: gjbX-MFC with: r326498
Add an envp argument to proc_create().This is needed to support dtrace's -x setenv option.MFC after: 2 weeks
Eliminate the last user of basename_r() in the base system.In this case it's fairly easy to make use of basename().
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorpr
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
Refine symtab sorting in libproc.Add some rules to more closely match what illumos does when an addressresolves to multiple symbols:- prefer non-local symbols- prefer symbols with fewer leading
Refine symtab sorting in libproc.Add some rules to more closely match what illumos does when an addressresolves to multiple symbols:- prefer non-local symbols- prefer symbols with fewer leading underscores and no leading '$'Add some regression tests to verify these rules.
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Avoid keeping a dangling pointer when the mappings array is resized.Sponsored by: Dell EMC Isilon
o Replace __riscv__ with __riscvo Replace __riscv64 with (__riscv && __riscv_xlen == 64)This is required to support new GCC 7.1 compiler.This is compatible with current GCC 6.1 compiler.RISC-V
o Replace __riscv__ with __riscvo Replace __riscv64 with (__riscv && __riscv_xlen == 64)This is required to support new GCC 7.1 compiler.This is compatible with current GCC 6.1 compiler.RISC-V is extensible ISA and the idea here is to have built-in defineper each extension, so together with __riscv we will have some subsetof these as well (depending on -march string passed to compiler):__riscv_compressed__riscv_atomic__riscv_mul__riscv_div__riscv_muldiv__riscv_fdiv__riscv_fsqrt__riscv_float_abi_soft__riscv_float_abi_single__riscv_float_abi_double__riscv_cmodel_medlow__riscv_cmodel_medany__riscv_cmodel_pic__riscv_xlenReviewed by: ngieSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D11901
Add HAS_TESTS to all Makefiles that are currently using the`SUBDIR.${MK_TESTS}+= tests` idiom.This is a follow up to r321912.
Convert traditional ${MK_TESTS} conditional idiom for including testdirectories to SUBDIR.${MK_TESTS} idiomThis is being done to pave the way for future work (and homogenity) in^/projects/make-ch
Convert traditional ${MK_TESTS} conditional idiom for including testdirectories to SUBDIR.${MK_TESTS} idiomThis is being done to pave the way for future work (and homogenity) in^/projects/make-check-sandbox .No functional change intended.MFC after: 1 weeks
12345