General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier f
General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.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.Special thanks to Wind River for providing access to "The Duke ofHighlander" tool: an older (2014) run over FreeBSD tree was useful as astarting point.
show more ...
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Renumber copyright clause 4Renumber cluase 4 to 3, per what everybody else did when BSD grantedthem permission to remove clause 3. My insistance on keeping the samenumbering for legal reasons is
Renumber copyright clause 4Renumber cluase 4 to 3, per what everybody else did when BSD grantedthem permission to remove clause 3. My insistance on keeping the samenumbering for legal reasons is too pedantic, so give up on that point.Submitted by: Jan Schaumann <[email protected]>Pull Request: https://github.com/freebsd/freebsd/pull/96
Remove O_SYNC from the options passed to dbmopen().The output file is created as a temporary file that is moved over theexisting file after completion. Thus there is no need to immediatelyflush a
Remove O_SYNC from the options passed to dbmopen().The output file is created as a temporary file that is moved over theexisting file after completion. Thus there is no need to immediatelyflush all created db records to the temporary file.This speeds up creation of the termcap db by a factor of 40 on myZFS based /etc filesytem (from 25 seconds to 0.6 seconds).I have compared multiple output files created with and without O_SYNCand they came out identical each time. Nonetheless it might be bestto MFC this change and the similar one for services_mkdb (r295465) atthe same time when the changes to hash.c in review D5186 are merged.MFC: 1 week
Make cap_mkdb and services_mkdb file operations syncSimilar fix was done for passwd and group operations in r285050. When atemporary file is created and then renamed to replace official file there
Make cap_mkdb and services_mkdb file operations syncSimilar fix was done for passwd and group operations in r285050. When atemporary file is created and then renamed to replace official file thereare no checks to make sure data was written to disk and if a power cyclehappens at this time, system can end up with a 0 length fileApproved by: baptMFC after: 1 weekSponsored by: NetgateDifferential Revision: https://reviews.freebsd.org/D2982
Fix typo when deregistering the VLAN unconfig event handlerSubmitted by: Masao Uebayashi <[email protected]>MFC after: 3 days
dirdeps.mk now sets DEP_RELDIR
Updated dependencies
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Requested by: Simon Gerraty <[email protected]>
Add missing static keywords to cap_mkdb(1)
Remove the advertising clause from UCB copyrighted files in usr.bin. Thisis in accordance with the information provided atftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.ChangeAlso add $F
Remove the advertising clause from UCB copyrighted files in usr.bin. Thisis in accordance with the information provided atftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.ChangeAlso add $FreeBSD$ to a few files to keep svn happy.Discussed with: imp, rwatson
Add endianness support to cap_mkdb(1), useful for cross builds.
Fixate the hash bucket size to 4K. We were using the default,which is stat.st_blksize (i.e., PAGE_SIZE).This change causes the .db files that were cross-compiled onanother platform to be identic
Fixate the hash bucket size to 4K. We were using the default,which is stat.st_blksize (i.e., PAGE_SIZE).This change causes the .db files that were cross-compiled onanother platform to be identical to the natively built ones.Tested on: alpha->amd64 build
Expand *n't contractions.
Added the EXIT STATUS section where appropriate.
ANSIify function definitions to avoid a warning.
Use `The .Nm utility'
remove __P
Remove leaf node WARNS?=2 (that mainly I added). This shouldhelp the GCC3 transition and CURRENT in general.
Style improvements recommended by Bruce as a follow up to someof the recent WARNS commits. The idea is:1) FreeBSD id tags should follow vendor tags.2) Vendor tags should not be compiled (though c
Style improvements recommended by Bruce as a follow up to someof the recent WARNS commits. The idea is:1) FreeBSD id tags should follow vendor tags.2) Vendor tags should not be compiled (though copyrights probably should).3) There should be no blank line between including cdefs and __FBSDIF.
Use __FBSDID().
mdoc(7) police: utilize the new .Ex macro.
12