Use __SCSSID() for SCCS IDs.While here, fix $FreeBSD$ ID in ftime.c to use __FBSDID instead of a staticarray.
libcompat: Use %hu for unsigned shorts.Obtained from: DragonFlyBSD (git 82e1476a)
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorpr
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified 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.
show more ...
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.
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
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesThis simplifies pathing in make/displayed outputMFC after: 3 weeksSponsored by: Dell EMC Isilon
Fix Coverity CID 978183 Resource leak in rexec().Close the socket if connect() fails to avoid leaking it.Reported by: CoverityCID: 978183MFC after: 1 week
rexec(3): use NULL instead of zero for pointers.
First pass through library packaging.Sponsored by: The FreeBSD Foundation
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
Updated dependencies
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Requested by: Simon Gerraty <[email protected]>
Small style(9) fix: use tabs instead of spaces.
Remove unneeded functions from libcompat.Erwin fired up a ports build a couple of weeks ago and it seems thefollowing functions are not used by any of the 20k ports we have, whichmakes me believe
Remove unneeded functions from libcompat.Erwin fired up a ports build a couple of weeks ago and it seems thefollowing functions are not used by any of the 20k ports we have, whichmakes me believe they don't have any purpose. Just remove them.
mdoc: order prologue macros consistently by Dd/Dt/OsAlthough groff_mdoc(7) gives another impression, this is the orderingmost widely used and also required by mdocml/mandoc.Reviewed by: ruAppro
mdoc: order prologue macros consistently by Dd/Dt/OsAlthough groff_mdoc(7) gives another impression, this is the orderingmost widely used and also required by mdocml/mandoc.Reviewed by: ruApproved by: philip, ed (mentors)
Trim down libcompat by removing <regexp.h>.Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns outthe regexp library is almost entirely unused. In fact, it looks like itis someti
Trim down libcompat by removing <regexp.h>.Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns outthe regexp library is almost entirely unused. In fact, it looks like itis sometimes used by accident. Because these function names clash withlibc's <regex.h>, some application use both <regex.h> and libcompat,which means they link against the wrong regex library.This commit removes the regexp library and reimplements re_comp() andre_exec() using <regex.h>. It seems the grammar of the regularexpressions accepted by these functions is similar to POSIX EREs.After this commit, 1 low-profile port will be broken, but the maintaineralready has a patch for it sitting in his mailbox.
Small style(9) cleanups.
Add warnings to <regexp.h> and <sys/timeb.h>.These header files only provide functionality that can be used incombination with libcompat. In order to prevent people from includingthem without any
Add warnings to <regexp.h> and <sys/timeb.h>.These header files only provide functionality that can be used incombination with libcompat. In order to prevent people from includingthem without any actual use (which happens a lot with <sys/timeb.h>),put a warning here to make people more aware.This means we have to lower WARNS for libcompat, which is no big deal.
Build lib/ with WARNS=6 by default.Similar to libexec/, do the same with lib/. Make WARNS=6 the norm andlower it when needed.I'm setting WARNS?=0 for secure/. It seems secure/ includes theMakef
Build lib/ with WARNS=6 by default.Similar to libexec/, do the same with lib/. Make WARNS=6 the norm andlower it when needed.I'm setting WARNS?=0 for secure/. It seems secure/ includes theMakefile.inc provided by lib/. I'm not going to touch that directory.Most of the code there is contributed anyway.
K&R -> ANSI
Add a missing parameter to ruserpass(). According to C99 6.9.1p7K&R function is not a prototype but this is a bad style. GCC acceptsthis other compilers warn or reject this.Approved by: kib (ment
Add a missing parameter to ruserpass(). According to C99 6.9.1p7K&R function is not a prototype but this is a bad style. GCC acceptsthis other compilers warn or reject this.Approved by: kib (mentor)
Turn sgtty into a binary-only compatibility interface.sgtty was the original interface to configure terminal attributes on myUNIX-like operating systems. It has been deprecated by the POSIX termio
Turn sgtty into a binary-only compatibility interface.sgtty was the original interface to configure terminal attributes on myUNIX-like operating systems. It has been deprecated by the POSIX termiosinterface, which is implemented in almost any modern system.An advantage of turning this into a binary compatibility interface, isthat we can now eventually remove the COMPAT_43TTY switch from kernelconfigurations. This removes many ioctl()'s from the TTY layer.While there, increase the __FreeBSD_version, which may be useful for thepeople working on the Ports tree.Reviewed by: kibApproved by: philip (mentor)
Remove California Regent's clause 3, per letter
Expand contractions.
123