libexec: 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 -
libexec: 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 ...
More -Wmissing-variable-declarations fixes.In addition to adding `static' where possible:- bin/date: Move `retval' into extern.h to make it visible to date.c.- bin/ed: Move globally used variabl
More -Wmissing-variable-declarations fixes.In addition to adding `static' where possible:- bin/date: Move `retval' into extern.h to make it visible to date.c.- bin/ed: Move globally used variables into ed.h.- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.- usr.bin/calendar: Remove unneeded variables.- usr.bin/chat: Make `line' local instead of global.- usr.bin/elfdump: Comment out unneeded function.- usr.bin/rlogin: Use _Noreturn instead of __dead2.- usr.bin/tset: Pull `Ospeed' into extern.h.- usr.sbin/mfiutil: Put global variables in mfiutil.h.- usr.sbin/pkg: Remove unused `os_corres'.- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
Spelling fixes for libexec/
ANSIfy ldconfig and the aout bits it still uses from rtld-aout.(Why is aout support still there?)
64-bit clean + WARNS=6: - Convert the (char *) cast+cast backs magic to memcpy(3). Without this, the resulting code is potentially risky with higher optimization levels. - Avoid same name
64-bit clean + WARNS=6: - Convert the (char *) cast+cast backs magic to memcpy(3). Without this, the resulting code is potentially risky with higher optimization levels. - Avoid same name when calling local variables, as well as global symbols. This reduces confusion for both human and compiler. - Add necessary casts, consts - Use new style function defination. - Minor style.Makefile(5) tweak - Bump WARNS?= from 0 to 6** for the aout code: changes are intentionally limited to ease maintaince.
Restore these files to make ldconfig(8) happy.
Remove a.out runtime linker. It doesn't build and was removed from thebuild over two years ago by peter.The binary a.out version of ld.so can be obtained from misc/compat22 orsrc/lib/compat/comp
Remove a.out runtime linker. It doesn't build and was removed from thebuild over two years ago by peter.The binary a.out version of ld.so can be obtained from misc/compat22 orsrc/lib/compat/compat22.Discussed on: -archVoted yes: jhb, ru, linimon, delphij
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarto PRECIOUSLIB from bsd.lib.mk. The side effect of thisis making installing the world under jail(8) possible byusing another knob, NOFSCHG.
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarto PRECIOUSLIB from bsd.lib.mk. The side effect of thisis making installing the world under jail(8) possible byusing another knob, NOFSCHG.Reviewed by: oliver
Mechanically kill hard sentence breaks.
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,especially in troff files.
Uniformly refer to a file system as "file system".Approved by: re
Initiate deorbit burn for the i386-only a.out related support. Moves areunder way to move the remnants of the a.out toolchain to ports. As thecomment in src/Makefile said, this stuff is deprecate
Initiate deorbit burn for the i386-only a.out related support. Moves areunder way to move the remnants of the a.out toolchain to ports. As thecomment in src/Makefile said, this stuff is deprecated and one should notexpect this to remain beyond 4.0-REL. It has already lasted WAY beyondthat.Notable exceptions:gcc - I have not touched the a.out generation stuff there.ldd/ldconfig - still have some code to interface with a.out rtld.old as/ld/etc - I have not removed these yet, pending their move to ports.some includes - necessary for ldd/ldconfig for now.Tested on: i386 (extensively), alpha
Assume __STDC__, remove non-__STDC__ code.
Change brk's prototype from char *brk(const char *) to int brk(const void *)and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).This makes us more consistant with NetBSD and standard
Change brk's prototype from char *brk(const char *) to int brk(const void *)and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).This makes us more consistant with NetBSD and standards which includethese functions. Bruce pointed out that ptrdiff_t would probablyhave been better than intptr_t, but this doesn't match otherimplimentations.Also remove local declarations of sbrk and unnecessary casting.PR: 32296Tested by: Harti Brandt <[email protected]>MFC after: 1 month
Fixed some of style bugs.
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thedefinitions are more readable, and it's possible that they'remore portable to pathalogical platforms.Submitted by: David Hill <da
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thedefinitions are more readable, and it's possible that they'remore portable to pathalogical platforms.Submitted by: David Hill <[email protected]>
mdoc(7) police: removed HISTORY info from the .Os call.
- Backout botched attempt to intoduce MANSECT feature.- MAN[1-9] -> MAN.
mdoc(7) police: simplify construct.
mdoc(7) police: split punctuation characters + misc fixes.
Prepare for mdoc(7)NG.
Add `_PATH_DEVZERO'.Use _PATH_* where where possible.
Move the man pages for the a.out dynamic linker into the 1aoutsection. I created rtld.1aout earlier with a repository copy.This clears the way for the ELF dynamic linker man page, which Iwill co
Move the man pages for the a.out dynamic linker into the 1aoutsection. I created rtld.1aout earlier with a repository copy.This clears the way for the ELF dynamic linker man page, which Iwill commit next.
.Nm += "rtld"apropos(1) now knows about rtld(1) manpage.
12345