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
sbin: normalize paths using SRCTOP-relative paths or :H when possibleThis simplifies make logic/outputMFC after: 1 monthSponsored by: Dell EMC Isilon
Re-ident lines.Requested by: pfgMFC after: 2 weeks.
Use nitems() from sys/param.h.MFC after: 2 weeks.
META_MODE: Remove DEP_MACHINE from Makefile.depend files.This has not been needed since r246865 in projects/bmake.Sponsored by: EMC / Isilon Storage Division
META_MODE: Remove DEP_RELDIR from Makefile.depend files.This has not been needed since r284171 in projects/bmake.Sponsored by: EMC / Isilon Storage Division
Fix typo when deregistering the VLAN unconfig event handlerSubmitted by: Masao Uebayashi <[email protected]>MFC after: 3 days
Fix a lock up where we enter swapper() with interrupts disabled.In smp_rendezvous_cpus we expect to wait for all cpus to entersmp_rendezvous_action. If we call this holding a proc lock swapper may
Fix a lock up where we enter swapper() with interrupts disabled.In smp_rendezvous_cpus we expect to wait for all cpus to entersmp_rendezvous_action. If we call this holding a proc lock swapper mayattempt to also lock it, however as interrupts are disabled the cpu neverhandles the ipi. Because smp_rendezvous_action waits for all signaledcpus before contining it may get caught waiting for the cpu running swapperas the proc mutex will be unlocked after smp_rendezvous_cpus finishes.The fix is to enable interrupts in the configure stage as we should bedoing.MFC after: 1 week
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Requested by: Simon Gerraty <[email protected]>
mdoc: fix column names, indentation, column separation within each row, andquotation. Also make sure we have the same amount of columns in each row asthe number of columns we specify in the head ar
mdoc: fix column names, indentation, column separation within each row, andquotation. Also make sure we have the same amount of columns in each row asthe number of columns we specify in the head arguments.Reviewed by: brueffer
mdoc: drop even more redundant .Pp callsNo change in rendered output, less mandoc lint warnings.Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
MFtbemd:Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you wantto test of all the CPUs of a given family conform.
Fix typos and spelling mistakes.
Spelling fixes.
Bump WARNS where possible.Checked by: make universeApproved by: ed (co-mentor)
Fix grammar error caused by my previous edit.While being here, also update the copyright year.Submitted by: ru
Support VTOC volume names. This can be useful to distinguish multipledisks in a system. Solaris' format(1m) displays the volume names inthe disk overview.MFC after: 1 month
Fix grammar error.
Fix indentation of continuation lines to (hopefully) comply withstyle(9).Reminded by: bde
Cast the arguments to make_h_number() to uintmax_t before multiplyingthem... Otherwise the result will be truncated anyway.
ru's mdoc(7) style police was here.Submitted by: ru
Major overhaul of sunlabel(8).. Implement option -c, all partition sizes will be calculated in cylinders as opposed to sectors. Since the Sun label is inherently cylinder-based, this makes the
Major overhaul of sunlabel(8).. Implement option -c, all partition sizes will be calculated in cylinders as opposed to sectors. Since the Sun label is inherently cylinder-based, this makes the job a little easier.. Implement option -h, print the label in `human readable' size/offset format.. Implement SVR4-compatible VTOC-style elements. They are fully optional, defaulting to the current behaviour where no VTOC-style table will be written to disk. However, if desired, the full functionality of the partitioning menu of Solaris' format(1m) is now offered (and even more).. When editing the label, do not loop around edit_label() where a new template file is generated for each turn, this used to be annoying in that any possible syntax error caused a complaint, but then the template was created anew, so the user had to perform all their editing again. Rather loop inside edit_label(), similar to bsdlabel(8), so in case of errors, the user will be presented their previous template file again.. If VTOC-style elements are present, the overlap checks are made less stringent. Overlaps will still be warned about, but overlaps of `unmountable' partitions against other ones are no longer fatal. That way, e. g. VxVM encapsulated disk labels can be fully edited in FreeBSD (but not in Solaris ;-).. In print_label(), generate the editing hints only if the -e flag is in effect. Additionally, print a hint about the total number of sectors in the (hardware) medium.. When editing a label, allow for changing the geometry emulation (and textual name) by modifying the "text:" line on top. That way, a more effective emulation can be chosen.. When editing/reading a label, additionally allow for the suffixes `s' (512-byte sectors), and `c' (cylinders) in the partition size field.. Finally, turn the stub man page into something that really explains the entire thing.
Correct existing usage lines, add two more.
When editing a Sun label, make the search for a valid partition lineviolate POLA a little less by not requiring exactly two spaces in frontof the entry (and silently discarding any non-matching ent
When editing a Sun label, make the search for a valid partition lineviolate POLA a little less by not requiring exactly two spaces in frontof the entry (and silently discarding any non-matching entry). We nowrecognize anything starting with a letter followed by a colon as thefirst non-space chars as a partition entry.
12