NetBSD/usr.bin
christos 128e5f5e67 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
2019-12-29 18:26:16 +00:00
..
apply
apropos
asa Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
at PR bin/53986 from Christian Weisgerber 2019-02-16 17:56:57 +00:00
audio Remove list of audio drivers, moved to audio(4). 2019-11-12 12:50:30 +00:00
audiocfg Revert about index number changes. It breaks its usage and output format. 2019-08-24 07:39:42 +00:00
banner
base64 Provide MacOS/X compatible flags (where possible) 2018-07-25 03:45:34 +00:00
basename compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
bdes Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
biff
bthset
btkey
btpin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
bzip2
bzip2recover
c11
c89
c99
cal Remove superfluous Pp. 2018-05-29 08:37:33 +00:00
calendar Avoid the risk of being wrong and don't expand meaning of holiday. 2019-12-20 22:58:53 +00:00
cap_mkdb
cdplay
checknr
chflags
chpass Specify SANITIZER_RENAME_SYMBOL in chpass 2018-06-25 18:05:25 +00:00
cksum bump date 2019-12-15 04:50:28 +00:00
cleantags
cmp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
col
colcrt - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
colrm
column
comm
compress Add EXIT STATUS section. Use Ex. New sentence, new line. 2017-07-04 06:58:55 +00:00
config introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
crunch 1. Remove all the special handling of variables (-d -p -P -s -S) that 2019-12-29 18:26:16 +00:00
csplit Compare return value of fputs(3) with EOF instead of 0. 2017-07-30 23:02:53 +00:00
ctags - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
cut
cvslatest introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
db
dc dc was in v1 2019-09-01 18:15:57 +00:00
deroff - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
dirname
du du was in v1 2019-09-01 18:18:42 +00:00
eject
elf2aout Sort options in usage. 2019-05-19 09:14:13 +00:00
elf2ecoff
env
error can't happen, but gcc can't figure it out. 2019-10-13 20:43:25 +00:00
expand
extattr
false
fdformat
fgen Use more macros. 2017-07-04 07:07:23 +00:00
fincore
find Inspired by PR pkg/53543 2018-09-04 15:16:15 +00:00
finger
flock fix a bug gcc 8 picked up: use ~LOCK_NB to look for LOCK_UN, 2019-10-04 16:27:00 +00:00
fmt Wse wide functions to avoid file corruption. Q+D because it does not 2017-10-13 00:11:56 +00:00
fold
fpr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
from
fsplit
fstat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ftp trim down error checking if we are small. 2019-06-22 23:40:53 +00:00
gcore compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
genassym
gencat Use An -nosplit. Use Mt. Fix some mandoc lint. 2018-07-28 08:03:41 +00:00
getaddrinfo
getconf
getent Remove superfluous Tn. 2017-10-23 01:06:05 +00:00
getopt
gettext
gprof Restore the MKGROFF=bo MKCXX=yes build 2018-06-11 14:18:16 +00:00
grep Fix asan heap buffer overflow. from enh at google. 2019-04-05 13:34:41 +00:00
gzip use the data size in case stdout was a pipe (M. Levinson) 2018-11-11 01:42:36 +00:00
head Add EXIT STATUS section. Use Ex. 2017-07-04 06:59:34 +00:00
hesinfo
hexdump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
iconv Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
id Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
indent use stdarg, annotate function as __printflike and fix broken formats. 2019-10-19 15:44:31 +00:00
infocmp
innetgr
ipcrm
ipcs
join Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
jot - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
kdump kdump(1): Symbolic printing for MALLOC_OPTIONS="U". 2019-07-23 01:54:51 +00:00
klist
ktrace
ktruss Add a new member to struct vfsstat and grow the unused members 2019-09-22 22:59:37 +00:00
lam Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
last
lastcomm
ldd PR 54093: Align static TLS area to max_align_t. 2019-11-04 12:45:10 +00:00
leave
locale
locate fool gcc with strncpy. 2019-10-13 19:39:15 +00:00
lock
logger
login introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
logname Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
look Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
lorder
m4 Use correct printf format for (struct input_file *)->lineno 2019-03-26 23:31:45 +00:00
machine
mail fix sun2 2019-12-17 19:12:50 +00:00
make Revert the filemon removal in bmake, as pointed out by maya we do care 2019-12-19 07:14:07 +00:00
man introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
menuc Fix typo in ad clause. Ok perry@. 2019-12-03 01:45:34 +00:00
mesg mesg was in v1 2019-09-01 18:26:01 +00:00
midiplay make a fallthru comment GCC7 compatible. 2019-02-01 08:37:21 +00:00
midirecord
mixerctl
mkcsmapper
mkdep deconst -> __UNCONST to avoid null pointer arithmetic 2018-05-23 21:20:20 +00:00
mkesdb
mkfifo Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
mklocale use strlcpy instead of strncpy. 2019-10-13 21:12:32 +00:00
mkstr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mktemp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mkubootimage Sync usage with man page, merge single letter options. 2019-12-07 12:34:17 +00:00
moduli use BN_is_prime_ex 2018-02-06 19:32:49 +00:00
msgc msg_table_add(): fix mishap in the format safety changes in r1.45 2019-11-16 17:38:09 +00:00
msgs introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
nbperf Fix typo 2017-06-20 15:50:04 +00:00
nbsvtool mark old compat functions. 2018-02-06 20:15:39 +00:00
nc Skip options which rely on crypto support in getopt() argument list, if we're 2019-10-03 01:15:19 +00:00
netgroup
netstat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
newgrp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
newsyslog convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
nfsstat
nice
nl
nohup
pagesize
passwd add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts 2018-02-25 00:16:48 +00:00
paste
patch Keep things portable (requested by joerg) by not depending on reallocarr 2018-06-18 18:33:31 +00:00
pathchk
pkill Sort SEE ALSO. 2018-12-04 08:01:35 +00:00
pmap Expose struct namecache. 2019-09-13 13:56:04 +00:00
pr Document history 2019-09-01 18:31:37 +00:00
printenv
printf Amend the previous change: we can have (almost) the best of both 2019-07-22 17:34:31 +00:00
progress
pwait The proper way to validate a condition that's expected to be true is 2017-07-30 20:37:35 +00:00
pwhash adding argon2 support to libcrypt. argon2 user authentication now 2019-10-21 02:36:48 +00:00
qsubst
quota introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
radioctl
rdist introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
renice
rev
revoke
rfcomm_sppd fix offset/indent of list 2017-12-21 08:59:27 +00:00
rlogin msg: 2019-10-04 09:01:59 +00:00
rpcgen introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpcinfo introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rs - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
rsh Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
rump_allserver
rump_dhcpclient
rump_halt
rump_server Deal with fallout from the addition of 2019-06-01 06:59:17 +00:00
rump_wmd
rup introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ruptime
rusers introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwho
script
sdiff Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sdpquery Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
sed Recognize \oOOO \dDD \xXX plus the other regular 'C' backslash escapes like 2019-10-05 20:23:55 +00:00
seq - Default terminator to \n 2018-12-17 20:10:51 +00:00
shar Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
shlock
shmif_dumpbus
showmount introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
shuffle
skey Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
skeyinfo
skeyinit
sockstat sockstat: Add indirection of symbols to remove clash with sanitizers 2019-08-18 04:13:24 +00:00
soelim
sort introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
sortinfo
spell s/orignal/original/ 2019-12-27 10:20:01 +00:00
split
stat adjust fallthru comment. 2019-10-04 11:12:16 +00:00
su Remove superfluous Ns. 2019-09-01 19:12:16 +00:00
sys_info Also report versions of tcpdump, libpcap, and wpa_supplicant 2017-09-28 18:08:04 +00:00
systat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
tabs compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
tail [tail] Fix type of 'len' 2018-03-06 03:33:26 +00:00
talk
tcopy
tee Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
telnet introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
tftp turn off various warnings for various things: 2019-10-04 09:47:27 +00:00
tic unistd.h for close. 2017-10-02 21:53:55 +00:00
time Simplify. 2017-07-15 14:40:36 +00:00
timeout
tip check speed argument conversion (Thierry Laronde) 2019-08-18 14:16:02 +00:00
touch
tput
tr tr.1: add a "see also" xref to ctype(3) (to align with an inline 2019-05-29 11:27:34 +00:00
true
tset Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
tsort
tty Document history 2019-09-01 18:41:14 +00:00
ul - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
uname
unexpand Deduplicate some code I'd duplicated, shorten a couple of staircases, 2019-09-13 17:32:29 +00:00
unifdef introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uniq remove unused label 2019-04-23 17:35:10 +00:00
units s/ the the / the / 2019-03-08 08:12:39 +00:00
unvis
unzip Explicitly link against libpthread and liblzma to make static linking 2019-07-28 12:44:36 +00:00
usbhidaction Add an optional '-p pidfile' parameter. 2018-05-15 01:41:29 +00:00
usbhidctl Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
users
utoppya introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uudecode
uuencode When input is not a multiple of three bytes in size, pad null 2019-03-04 05:37:08 +00:00
uuidgen
vacation Sort SEE ALSO. 2019-05-06 06:56:07 +00:00
vgrind s/expresion/expression/ in comment. 2019-12-27 09:32:09 +00:00
videoctl
vis
vmstat s/sucess/success/ in comment. 2019-12-27 09:45:26 +00:00
vndcompress Clarify compile-time and run-time arithmetic safety assertions. 2017-07-29 21:04:07 +00:00
w Document the source of load average figures. 2018-12-06 19:15:35 +00:00
wall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
wc Document history 2019-09-01 18:44:06 +00:00
what Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
whatis
whereis
who use memcpy() for strings that are not C strings. 2019-10-05 23:35:57 +00:00
whois
write write was in v1 2019-09-01 18:48:01 +00:00
xargs
xinstall
xlint Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
xstr .Pp before .Bd is redundant. 2019-01-13 16:48:51 +00:00
yes
ypcat
ypmatch
ypwhich Remove spurious error(1) inserted compiler error message comments. 2017-08-11 20:32:34 +00:00
Makefile Tiny base64 encoder/decoder command patterned after the linux and the macosx 2018-07-24 15:26:16 +00:00
Makefile.inc