include: 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
include: 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 ...
Fix typo when deregistering the VLAN unconfig event handlerSubmitted by: Masao Uebayashi <[email protected]>MFC after: 3 days
dirdeps.mk now sets DEP_RELDIR
Add proper prerequisites for even two more headers.Spotted by: http://hacks.owlfolio.org/header-survey/
Add static/const keywords to the arrays.This theoretically allows a compiler to optimize (parts of) the arrayaway if unused.While there, make the array size implicit and use a _Static_assert() t
Add static/const keywords to the arrays.This theoretically allows a compiler to optimize (parts of) the arrayaway if unused.While there, make the array size implicit and use a _Static_assert() toensure that the definition matches up with the number of elements in thelist.
Updated dependencies
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Requested by: Simon Gerraty <[email protected]>
Don't use ino_t in dumprestore protocol definition.Since ino_t size is about to change to 64-bits, replace ino_t used indump protocol definition with 32-bit dump_ino_t to preserve backwardcompati
Don't use ino_t in dumprestore protocol definition.Since ino_t size is about to change to 64-bits, replace ino_t used indump protocol definition with 32-bit dump_ino_t to preserve backwardcompatibility. At some point, it may be necessary to use spare fieldsin struct in order to fully support 64-bit inode numbers.Sponsored by: Google Summer of Code 2011
Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s.
Expand dump to allow MAX_INT dump levels.PR: bin/100732Submitted by: Matthew Vincenz <[email protected]>
Update the dump program to save extended attributes. Updatethe restore program to restore all dumped extended attributes.If the restore is running as root, it will always be ableto restore all ex
Update the dump program to save extended attributes. Updatethe restore program to restore all dumped extended attributes.If the restore is running as root, it will always be ableto restore all extended attributes. If it is not runningas root, it makes a best effort to set them. Using the -vcommand line flag or the `verbose' command in interactivemode will display all the extended attributes being set onfiles (and at the end on directories) that are being restored.It will note any extended attributes that could not be set.The extended attributes are placed on the dump image immediatelyfollowing each file's data. Older versions of restore can workwith the newer dump images. Old versions of restore willcorrectly restore the file data and then (silently) skipover the extended attribute data and proceed to the next file.This resolves PR 93085 which will be closed once the codehas been MFC'ed.Note that this code will not compile until these headerfiles have been updated: <protocols/dumprestore.h> and<sys/extattr.h>.PR: bin/93085Comments from: Poul-Henning Kamp and Robert WatsonMFC after: 3 weeks
Start the dreaded NOFOO -> NO_FOO conversion.OK'ed by: core
For variables that are only checked with defined(), don't provideany fake value.
Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.Update <protocols/routed.h> for the MD5 changes requested in bin/35843.Preserve local changes.Education by: obrien, mar
Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.Update <protocols/routed.h> for the MD5 changes requested in bin/35843.Preserve local changes.Education by: obrien, markm, pointy-stickPR: bin/35843 (and doubtless others)
Change utimes to set the file creation time (for filesystems thatsupport creation times such as UFS2) to the value of themodification time if the value of the modification time is olderthan the cu
Change utimes to set the file creation time (for filesystems thatsupport creation times such as UFS2) to the value of themodification time if the value of the modification time is olderthan the current creation time. See utimes(2) for further details.Sponsored by: DARPA & NAI Labs.
This commit adds basic support for the UFS2 filesystem. The UFS2filesystem expands the inode to 256 bytes to make space for 64-bitblock pointers. It also adds a file-creation time field, an ability
This commit adds basic support for the UFS2 filesystem. The UFS2filesystem expands the inode to 256 bytes to make space for 64-bitblock pointers. It also adds a file-creation time field, an abilityto use jumbo blocks per inode to allow extent like pointer density,and space for extended attributes (up to twice the filesystem blocksize worth of attributes, e.g., on a 16K filesystem, there is spacefor 32K of attributes). UFS2 fully supports and runs existing UFS1filesystems. New filesystems built using newfs can be built in eitherUFS1 or UFS2 format using the -O option. In this commit UFS1 isthe default format, so if you want to build UFS2 format filesystems,you must specify -O 2. This default will be changed to UFS2 whenUFS2 proves itself to be stable. In this commit the boot code forreading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)as there is insufficient space in the boot block. Once the size of theboot block is increased, this code can be defined.Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.The header file <ufs/ufs/dinode.h> must be included before<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t andufs_lbn_t.Still TODO:Verify that the first level bootstraps work for all the architectures.Convert the utility ffsinfo to understand UFS2 and test growfs.Add support for the extended attribute storage. Update soft updatesto ensure integrity of extended attribute storage. Switch thecurrent extended attribute interfaces to use the extended attributestorage. Add the extent like functionality (framework is there,but is currently never used).Sponsored by: DARPA & NAI Labs.Reviewed by: Poul-Henning Kamp <[email protected]>
Use explicitly sized fields for the tape format definition.Sponsored by: DARPA & NAI Labs.
Added new bsd.incs.mk which handles installing of header filesvia INCS. Implemented INCSLINKS (equivalent to SYMLINKS) tohandle symlinking include files. Allow for multiple groups ofinclude file
Added new bsd.incs.mk which handles installing of header filesvia INCS. Implemented INCSLINKS (equivalent to SYMLINKS) tohandle symlinking include files. Allow for multiple groups ofinclude files to be installed, with the powerful INCSGROUPS knob.Documentation to follow.Added standard `includes' and `incsinstall' targets, use themin Makefile.inc1. Headers from the following makefiles werenot installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/MakefileReplaced all `beforeinstall' targets for installing includeswith the INCS stuff.Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,and INCMODE.Consistently use INCLUDEDIR instead of /usr/include.gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changeswere only lightly tested due to the missing contrib/libstdc++-v3.I fully tested the pre-WIP_GCC31 version of this patch with thecontrib/libstdc++.295 stuff.These changes have been tested on i386 with the -DNO_WERROR "makeworld" and "make release".
WARNS-n and lint(1) silencer. Declare (const) strings properly as'const char *'.
Use fixed-size fields in the structure for the timed protocol. Thisincludes changing a struct timeval to an explicit structure of twoint32_t's. This requires using temporary timevals in several p
Use fixed-size fields in the structure for the timed protocol. Thisincludes changing a struct timeval to an explicit structure of twoint32_t's. This requires using temporary timevals in several placeswhen calling gettimeofday(), settimeofday(), etc. With this timed nowworks properly on 64-bit platforms such as Alpha.Obtained from: NetBSD
Make the protocol/dumprestore.h header match restore's idea of the dumpheader for the case where sizeof(time_t) != sizeof(int). dumprestore.hwas embedding time_t when it should have been embedding
Make the protocol/dumprestore.h header match restore's idea of the dumpheader for the case where sizeof(time_t) != sizeof(int). dumprestore.hwas embedding time_t when it should have been embedding int32_t.Use time_to_time32() and time32_to_time() to convert between theprotocoll/file-format time and time_t.
Zap $Revision$
$Id$ -> $FreeBSD$
Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').
16 characters for the device name in /etc/dumpdates is not longenough, particularly when using vinum. Allow 32 characters(arbitrary, I know) instead.PR: bin/11433
12