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 Be more precise. 2016-03-14 09:53:37 +00:00
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 Update SYNOPSIS to reflect that y and n options are mutually exclusive. 2016-12-20 08:21:32 +00:00
bthset use correct offset for channel in SDP record 2016-03-06 21:12:07 +00:00
btkey Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
btpin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
bzip2
bzip2recover
c11 Minor improvements, add more markup. 2016-10-03 08:20:12 +00:00
c89 this are our's not gnu 2016-01-14 04:27:26 +00:00
c99 this are our's not gnu 2016-01-14 04:27:26 +00:00
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 Change some standard exit status text to ".Ex -std" 2014-04-13 01:45:34 +00:00
cdplay more stray \n 2015-06-17 00:01:59 +00:00
checknr Add more __dead. 2013-08-12 14:03:18 +00:00
chflags In all man pages that say: 2013-12-17 09:54:08 +00:00
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 Move .Op macro to its own line. Fix SYNOPSIS rendering with mandoc. 2013-04-26 17:12:10 +00:00
cmp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
col PR/49291: Henning Petersen: Problem with half-line feeds in input stream. 2014-10-18 14:56:14 +00:00
colcrt - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
colrm
column Move information about exit values from DESCRIPTION to EXIT STATUS section. 2016-10-02 21:06:18 +00:00
comm Change some standard exit status text to ".Ex -std" 2014-04-13 01:45:34 +00:00
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 From Igor Sobrado in private email (based on his OpenBSD commit): 2014-02-03 20:22:19 +00:00
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 Drop main() prototype. 2016-09-05 00:40:28 +00:00
elf2aout Sort options in usage. 2019-05-19 09:14:13 +00:00
elf2ecoff fix printf format 2017-02-24 17:19:14 +00:00
env
error can't happen, but gcc can't figure it out. 2019-10-13 20:43:25 +00:00
expand Drop main() prototype. 2016-09-05 00:40:28 +00:00
extattr Use returned size and not buffer max length when displaying attribute 2014-06-20 15:22:01 +00:00
false
fdformat Drop main() prototype. 2016-09-05 00:40:28 +00:00
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 Instead of saying "The finger displays information..." say "The finger utility" 2016-12-22 12:39:40 +00:00
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 fix some error handling. 2015-06-16 22:54:10 +00:00
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 - use just the basename for program name 2014-01-06 22:43:15 +00:00
gencat Use An -nosplit. Use Mt. Fix some mandoc lint. 2018-07-28 08:03:41 +00:00
getaddrinfo need bsd.own.mk 2014-04-29 01:21:02 +00:00
getconf Change some standard exit status text to ".Ex -std" 2014-04-13 01:45:34 +00:00
getent Remove superfluous Tn. 2017-10-23 01:06:05 +00:00
getopt
gettext From William Orr: 2015-07-12 11:40:52 +00:00
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 Drop main() prototype. 2016-09-05 00:40:28 +00:00
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 _ti_database now includes the database extension so don't duplicate it. 2017-05-16 09:21:54 +00:00
innetgr simplify __dead usage 2016-09-03 05:50:06 +00:00
ipcrm
ipcs Remove KVM support. 2014-06-11 14:57:55 +00:00
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 Omit no longer existing l, m from default trace points. 2015-01-08 22:03:42 +00:00
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 Drop main() prototype. 2016-09-05 00:40:28 +00:00
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 avoid assert() and simply return errors. 2017-06-03 21:31:14 +00:00
mixerctl Generate usage error for bad usage, before attempting any other operations. 2017-02-23 14:09:11 +00:00
mkcsmapper Infile is also optional. 2016-06-28 09:23:09 +00:00
mkdep deconst -> __UNCONST to avoid null pointer arithmetic 2018-05-23 21:20:20 +00:00
mkesdb Sync usage with program. Add RCS Id. Increase column width. Fix macro usage. Improve wording. 2016-06-28 09:25:21 +00:00
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 simplify __dead usage 2016-09-03 05:58:30 +00:00
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 PR/48426: Dimitris Karagkasidis: Make nfsstat use unsigned numbers. 2014-04-24 18:40:35 +00:00
nice
nl Improve description. 2013-09-24 22:08:06 +00:00
nohup
pagesize
passwd add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts 2018-02-25 00:16:48 +00:00
paste Remove second NetBSD RCS Id. 2013-04-07 17:43:01 +00:00
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 Retry read() on EINTR. Fixes premature exit of 2015-01-17 10:57:51 +00:00
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 Use Nm to refer the program name. 2017-02-22 14:01:40 +00:00
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 emove duplicate RCS Id. Bump date for previous. 2012-12-06 07:52:12 +00:00
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 With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not 2017-05-11 04:33:14 +00:00
rump_dhcpclient Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_halt Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_server Deal with fallout from the addition of 2019-06-01 06:59:17 +00:00
rump_wmd Clarify that -l params must be given after options. 2014-01-28 14:02:54 +00:00
rup introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ruptime Remove second copy for RCS Id. 2014-01-04 15:43:27 +00:00
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 Fix casts which are inconsistent with *printf() formats and remove the 2015-04-10 09:34:43 +00:00
shmif_dumpbus Use autoconf for rump kernel posix hypercall layer. 2014-11-04 19:05:17 +00:00
showmount introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
shuffle Fix misuse of arc4random by using arc4random_uniform. 2017-02-06 02:26:44 +00:00
skey Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
skeyinfo
skeyinit Fix capitalisation (again, last time the wrong sentence). 2013-05-06 13:44:17 +00:00
sockstat sockstat: Add indirection of symbols to remove clash with sanitizers 2019-08-18 04:13:24 +00:00
soelim Drop main() prototype. 2016-09-05 00:40:28 +00:00
sort introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
sortinfo Free the buffer allocated by getline(3). 2017-04-30 13:45:06 +00:00
spell s/orignal/original/ 2019-12-27 10:20:01 +00:00
split needs <sys/stat.h> 2017-01-10 21:14:13 +00:00
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 fix some error handling. 2015-06-16 22:54:10 +00:00
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 typo 2016-10-13 06:22:26 +00:00
tip check speed argument conversion (Thierry Laronde) 2019-08-18 14:16:02 +00:00
touch Update the description of the -t option to bring it in sync with IEEE 1003.1 -2008. 2016-12-24 15:49:18 +00:00
tput Use putp(3) to output our strings. 2013-02-05 11:31:56 +00:00
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 RFC 1866 does not define any "URI encoding". It defines HTML 2.0 that 2012-12-15 02:08:13 +00:00
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 Drop main() prototype. 2016-09-05 00:40:28 +00:00
utoppya introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uudecode Support both "-" and "/dev/stdout" as references to standard 2013-01-28 19:50:30 +00:00
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 Add -N (VIS_NOLOCALE), sort. 2015-05-24 19:42:39 +00:00
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 Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
who use memcpy() for strings that are not C strings. 2019-10-05 23:35:57 +00:00
whois It helps to separate arguments from the query. 2013-02-20 09:27:52 +00:00
write write was in v1 2019-09-01 18:48:01 +00:00
xargs
xinstall Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the 2016-05-31 06:55:02 +00:00
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