Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
sys: Retire OPENZFS_CWARNFLAGS now that it is empty.Reviewed by: markj, emasteDifferential Revision: https://reviews.freebsd.org/D39217
openzfs: fix gcc kernel module builds - Suppress -Wredundant-decls. Ultimately this warning is harmless in any case, and it does not look like there is a simple way to avoid redundant declar
openzfs: fix gcc kernel module builds - Suppress -Wredundant-decls. Ultimately this warning is harmless in any case, and it does not look like there is a simple way to avoid redundant declarations in this case without a lot of header pollution (e.g. having openzfs's shim param.h pulling in sys/kernel.h for hz). - Suppress -Wnested-externs, which is useless anyway.Unfortunately it was not sufficient just to modify OPENZFS_CFLAGS,because the warning suppressions need to appear on the command lineafter they are explicitly enabled by CWARNFLAGS from sys/conf/kern.mk,but OPENZFS_CFLAGS get added before due to use of -I for the shims.Reviewed by: markjSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D27685
show more ...
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
Normalize SYSDIR on SRCTOP instead of .CURDIRThis is being done to simplify pathing for CFLAGS and source files.MFC after: 2 weeksSponsored by: Dell EMC Isilon
Add an experimental DTrace audit provider, which allows users of DTrace toinstrument security event auditing rather than relying on conventional BSMtrail files or audit pipes:- Add a set of per-e
Add an experimental DTrace audit provider, which allows users of DTrace toinstrument security event auditing rather than relying on conventional BSMtrail files or audit pipes:- Add a set of per-event 'commit' probes, which provide access to particular auditable events at the time of commit in system-call return. These probes gain access to audit data via the in-kernel audit_record data structure, providing convenient access to system-call arguments and return values in a single probe.- Add a set of per-event 'bsm' probes, which provide access to particular auditable events at the time of BSM record generation in the audit worker thread. These probes have access to the in-kernel audit_record data structure and BSM representation as would be written to a trail file or audit pipe -- i.e., asynchronously in the audit worker thread.DTrace probe arguments consist of the name of the audit event (to supportfuture mechanisms of instrumenting multiple events via a single probe --e.g., using classes), a pointer to the in-kernel audit record, and anoptional pointer to the BSM data and its length. For human convenience,upper-case audit event names (AUE_...) are converted to lower case inDTrace.DTrace scripts can now cause additional audit-based data to be collectedon system calls, and inspect internal and BSM representations of the data.They do not affect data captured in the audit trail or audit pipesconfigured in the system. auditd(8) must be configured and running inorder to provide a database of event information, as well as other auditconfiguration parameters (e.g., to capture command-line arguments orenvironmental variables) for the provider to operate.Reviewed by: gnn, jonathan, markjSponsored by: DARPA, AFRLMFC after: 3 weeksDifferential Revision: https://reviews.freebsd.org/D10149