various: general adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
various: general adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified 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.No functional change intended.
show more ...
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
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]>
Close fd in initattr() and showattr().Reviewed by: rwatson
The last big commit: let usr.sbin/ use WARNS=6 by default.
ANSIfy some more tools in usr.sbin/.Most of these tools build with WARNS=6, except for their use of K&Rfunction declarations.
Fixed the misplaced $FreeBSD$.
When giving examples of how to use extattrctl(8) to configure UFS1attributes, use the current convention for attribute directory namesso that UFS_EXTATTR_AUTOSTART will work with them.Approved by
When giving examples of how to use extattrctl(8) to configure UFS1attributes, use the current convention for attribute directory namesso that UFS_EXTATTR_AUTOSTART will work with them.Approved by: re (scottl)
style.Makefile(5)
The .Nm utility
Cross-reference with ffs(7).Sponsored by: DARPA, NAI Labs
Make it clear that this applies only to UFS1 file systems, as UFS2 willhave native extended attributes rather than stacked extended attributes.While I'm at it, make sure UFS_EXTATTR is not spelt FF
Make it clear that this applies only to UFS1 file systems, as UFS2 willhave native extended attributes rather than stacked extended attributes.While I'm at it, make sure UFS_EXTATTR is not spelt FFS_EXTATTR.Sponsored by: DARPA, NAI LabsObtained from: TrustedBSD Project
Clean up usage message: don't put optional parameter's in brackets.Update copyright date.Obtained from: TrustedBSD ProjectSponsored by: DARPA, NAI LabsExtracted from: green
Simplify and optimize. This speeds up 'initattr' enormously for smallattribute sizes (up to two orders of magnitude!)
o Add a 'showattr' function the extattrctl, allowing a backing file to be inspected to show the maximum attribute size and file.
Make extattrctl WARNS?=2-safe:o remove extraneous extern'so prototype functionso combine multiple return (0)'s into a single return (0) at the end of main()Approved by: rwatsonObtained from:
Make extattrctl WARNS?=2-safe:o remove extraneous extern'so prototype functionso combine multiple return (0)'s into a single return (0) at the end of main()Approved by: rwatsonObtained from: TrustedBSD Project
o Reflect moving of extattr_namespace calls to libc from libutil; no longer need to link libutil into command-line extended attribute utilities.Obtained from: TrustedBSD Project
o Update copyright dates, comments...Obtained from: TrustedBSD Project
o extattrctl initattr, when pre-allocating store for extended attributes, computed a a chunksize that didn't include the extended attribute header. This was a non-fatal error, in that it was jus
o extattrctl initattr, when pre-allocating store for extended attributes, computed a a chunksize that didn't include the extended attribute header. This was a non-fatal error, in that it was just writing out zeros anyway, but did have the effect of not pre-allocating the right amount of disk space. This fix calculates chunksize to include the attribute header.Submitted by: Dale RahnSponsored by: DARPA, UPenn POSSE ProjectObtained from: OpenBSD
123