NetBSD/usr.bin
mrg 832d47522a introduce new GCC 12 warning disables and use them in a few places
this introduces 4 new warning disable flags:

   CC_WNO_MISSING_TEMPLATE_KEYWORD
   CC_WNO_REGISTER
   CC_WNO_STRINGOP_OVERREAD
   CC_WNO_ARRAY_BOUNDS

and documents them in README.warnings.  of these, the string op
and array bounds are both problematic (real bugs) and also spurious
(not real bugs), and the other 2 are mostly temporary for older
3rd party code.

add some new uses of CC_WNO_STRINGOP_OVERFLOW.

fix m68k build for gallium and GCC 12.
2023-08-08 06:27:31 +00:00
..
aiomixer Use ENVIRONMENT section 2023-07-01 10:47:12 +00:00
apply
apropos
asa new sentence, new line 2020-01-31 00:15:38 +00:00
at Revert parsedate(3) XXX as per discussion with kre@. 2021-04-03 04:33:08 +00:00
audio audioplay.1: fix sentence punctuation 2023-06-30 23:36:47 +00:00
audiocfg Also report precision from hwinfo. 2023-04-01 12:41:02 +00:00
banner Add history section 2020-04-07 17:57:33 +00:00
base64 reflect reality. 2021-08-28 10:29:15 +00:00
basename compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
bdes remove double/tripple o in comments, where it likely was not added on purpose. 2023-06-27 19:30:27 +00:00
biff
bthset
btkey btkey: fix lint warning about wrong call to tolower 2021-08-25 22:52:25 +00:00
btpin bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
bzip2
bzip2recover
c11
c89
c99
cal Use two-letter weekday abbreviations in the heading 2020-06-29 14:01:14 +00:00
calendar Add riscv port 2023-06-09 20:27:28 +00:00
cap_mkdb fix various typos in comments, log messages and documentation. 2021-12-03 13:27:37 +00:00
cdplay usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
checknr properly terminate a string after strncpy(). 2021-04-13 01:38:04 +00:00
chflags chflags(1): xref stat_flags(3) 2023-05-31 20:33:22 +00:00
chpass
cksum cksum.c: don't fault if the hash algorithm is fed invalid data 2022-06-25 02:22:42 +00:00
cleantags
cmp cmp.c: use C99 strtoll(3) instead of legacy strtoq(3) 2021-03-20 14:27:47 +00:00
col usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +00:00
colcrt - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
colrm
column Whitespace nit. 2020-08-27 01:52:04 +00:00
comm
compress uncompress: if the source is broken, don't delete the target 2022-05-22 21:39:44 +00:00
config bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
crunch crunchgen(1): Clear PaX flags instead of removing its ELF note section. 2023-06-23 02:13:03 +00:00
csplit
ctags ctags: fix pointer-sign issues 2023-07-20 20:00:07 +00:00
cut
cvslatest bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
db db(1): Don't lie in the usage message re: `-q` 2022-08-10 00:28:00 +00:00
dc Make this compile when BIGNUM limbs (BN_ULONG) are not the same 2023-06-26 17:47:04 +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 fix few typos in comments and log messages. 2023-03-06 21:39:06 +00:00
env Fix a typo (extra `s') 2020-02-08 11:10:08 +00:00
error fix various typos in comments. 2022-04-07 19:33:37 +00:00
expand
extattr fix various typos in comments. 2022-04-07 19:33:37 +00:00
false
fdformat usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
fgen fix typos in comments. 2022-01-17 20:38:49 +00:00
fincore
find Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@) 2023-08-03 14:56:36 +00:00
finger fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +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
fold
fpr
from
fsplit
fstat sys: Rename sys/miscfd.h -> sys/memfd.h. 2023-07-29 08:46:47 +00:00
ftp Fix HTTPS through Proxy. 2023-07-02 10:02:09 +00:00
gcore compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
genassym
gencat
getaddrinfo
getconf
getent
getopt
gettext
gprof
grep fix various typos in documentation and comments. 2022-10-15 21:53:21 +00:00
gzip Pull git commit way-etc-20140221.tar.bz2 by Xin Li from FreeBSD: 2023-06-10 04:45:25 +00:00
head Change back various occurrences of \*[Le], \*[Ge] (less/greater equal) 2022-08-28 10:48:15 +00:00
hesinfo
hexdump bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
iconv Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
id
indent indent: fix 'blank line above first statement in function body' 2023-06-27 04:41:23 +00:00
infocmp infocmp: don't crash when a terminfo description does not have an alias 2020-03-31 12:44:15 +00:00
innetgr
ipcrm
ipcs ipcs.c: do not #include sys/inttypes.h header which is not necessary 2021-03-18 19:34:05 +00:00
join join(1): convert realloc(x * y) to reallocarr and eliminate temporary 2021-11-02 10:05:49 +00:00
jot Generate format after setting the prec value 2020-06-14 01:26:46 +00:00
kdump bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER 2023-06-03 08:52:53 +00:00
klist
ktrace ktrace(1): tweak -c wording for clarity 2023-05-06 10:45:14 +00:00
ktruss bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER 2023-06-03 08:52:53 +00:00
lam In the lam(1) example with a literal newline, use newish sh syntax. 2021-01-25 20:07:55 +00:00
last
lastcomm
ldd avoid printing the latest error message if some ldd method worked. 2023-01-04 03:33:54 +00:00
leave
locale Fix spelling errors. 2020-04-28 22:29:32 +00:00
locate locate.updatedb: Add -- to the invocation of locate.code 2023-01-20 13:07:09 +00:00
lock
logger Remove superfluous Pp. 2020-06-26 15:46:28 +00:00
login bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
logname
look
lorder
m4 use strchr 2023-05-24 22:14:31 +00:00
machine
mail Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@) 2023-08-03 14:56:36 +00:00
make tests/make: show how to use indirect conditions in the '?:' modifier 2023-07-01 09:06:34 +00:00
man bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
menuc fix few typos. 2021-11-07 09:48:08 +00:00
mesg mesg was in v1 2019-09-01 18:26:01 +00:00
midiplay usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
midirecord log how much data is valid in debug mode. 2023-05-09 20:42:19 +00:00
mixerctl mixerctl: add colon after 'Usage', add space after comma 2021-12-26 15:36:49 +00:00
mkcsmapper
mkdep mkdep: avoid memory allocation in findcc 2021-08-20 06:36:10 +00:00
mkesdb
mkfifo
mklocale bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
mktemp Update to reflect current reality for template characters - the process 2021-07-25 08:52:03 +00:00
mkubootimage arm64_image_header->image_size must be included size of arm64_image_header. 2020-02-08 13:27:00 +00:00
moduli Handle OpenSSL-3.x 2023-05-09 20:02:59 +00:00
msgc msgc.1: fix typos 2021-10-11 18:08:12 +00:00
msgs bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
nbperf s/proceeedings/proceedings/ in comment. 2023-07-31 21:07:50 +00:00
nbsvtool fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
nc nc(1): Declare and initialize ``on'' ifdef SO_BINDANY. NFC yet for us. 2023-06-20 08:51:24 +00:00
netgroup
netstat bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
newgrp grutil.c: fix grammar in a comment 2022-10-26 21:18:49 +00:00
newsyslog adapt to ${CC_WNO_FORMAT_TRUNCATION} 2023-06-03 21:28:52 +00:00
nfsstat
nice
nl PR/55891 supress displaying separator when numbers supressed 2020-12-31 04:07:37 +00:00
nohup
pagesize
passwd usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +00:00
paste
patch Fix memory leak 2023-06-16 23:36:26 +00:00
pathchk
pkill introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
pmap Add -t option to print pmap as underlying RB tree. 2022-08-21 07:46:52 +00:00
pr s/boundries/boundaries/, s/itterate/iterate/ and few more typos. 2022-05-23 19:52:34 +00:00
printenv
printf s/chracter/character/ in documentation. 2023-02-13 23:02:27 +00:00
progress Add missing check for error returns from read(). Found by inspection 2021-08-17 07:18:43 +00:00
pwait
pwhash Update remarks on default parameters for Argon2. 2021-10-20 17:30:28 +00:00
qsubst
quota bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
radioctl
rdist avoid having addresses of local variable exist after a function returns. 2023-08-03 08:03:19 +00:00
realpath If it isn't possible to determine the realpath() of ".", then simply 2023-05-25 17:24:17 +00:00
renice renice: Make usage match man page more. 2020-10-23 16:16:10 +00:00
resize resize.c: use estrdup(3) with basename(3) 2023-04-20 22:23:53 +00:00
rev
revoke
rfcomm_sppd
rlogin revert rev 1.45: 2021-08-03 23:21:07 +00:00
rpcgen rpcgen: don't pass length of source to string copy operation 2023-08-07 21:12:02 +00:00
rpcinfo bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
rs Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@) 2023-08-03 14:56:36 +00:00
rsh more GCC 10 fixes. 2021-04-13 06:25:48 +00:00
rump_allserver rump_allserver: trim down the list of libraries 2023-04-24 18:54:22 +00:00
rump_dhcpclient fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
rump_halt Allow to set sanitizer flags for the rump build from the 2021-07-07 11:51:45 +00:00
rump_server Force at most partial RELRO for rump_server and related libraries 2021-11-01 21:37:32 +00:00
rump_wmd rump_wmd(1): there is no space in -lcomponent 2023-04-24 19:12:33 +00:00
rup bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
ruptime
rusers bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
rwall bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
rwho
scmdctl s/simular/similar/ 2022-04-11 21:23:07 +00:00
script Reset SIGCHLD handler to SIG_DFL. 2023-05-09 15:43:39 +00:00
sdiff sdiff: fix undefined behavior for ctype functions 2021-08-27 17:38:57 +00:00
sdpquery sdpquery: fix undefined behavior when calling ctype functions 2021-08-27 17:41:39 +00:00
sed s/delimeter/delimiter/ in comment. 2023-01-20 01:26:02 +00:00
seq seq(1): add more examples, improve wording 2022-02-28 13:49:50 +00:00
shar shar.1: remove false security claim 2023-01-25 19:52:14 +00:00
shlock appease gcc-9 2021-04-17 00:02:19 +00:00
shmif_dumpbus improve error messages, minor cleanups. 2020-04-01 21:04:34 +00:00
showmount bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
shuffle
skey We removed Mail before branching netbsd-9 2022-10-11 15:59:38 +00:00
skeyinfo
skeyinit
sockstat Adjust userland commands for struct inpcb integration 2022-10-28 05:24:07 +00:00
soelim
sort Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@) 2023-08-03 14:56:36 +00:00
sortinfo
spell spell(1): convert realloc(x * y) to reallocarr 2021-11-09 09:41:05 +00:00
split consistently use EXIT_FAILURE / EXIT_SUCCESS instead of 1 / 0 2023-02-14 18:58:55 +00:00
stat adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
su After a ':' (as in login:group or just :group) insist that there 2023-03-24 16:58:24 +00:00
sys_info show the verbose commands for bozohttpd and calendar too 2020-07-14 01:01:05 +00:00
systat bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
tabs tabs: fix lint warnings about ctype functions and conversions 2021-08-27 18:28:41 +00:00
tail tail: adjust misleading indentation in macro. NFC. 2023-08-07 19:11:25 +00:00
talk bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
tcopy
tee
telnet remove always-true part of condition. 2023-08-07 23:31:11 +00:00
tftp bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
tic terminfo: v3 records should create v3 aliases 2020-03-30 00:09:06 +00:00
time Since there is a -t option, and the option itself is documented, there 2021-04-05 23:01:55 +00:00
timeout POSIX is addint this utility in Issue 8 (whenever it appears). However 2022-12-13 13:25:36 +00:00
tip tip.1: s/Mail.1/mail.1/ ("Mail" was removed in 9) 2023-04-25 01:48:37 +00:00
touch
tput
tr add alphabetic to lower for consistency (nabijaczleweli) 2021-06-14 17:22:22 +00:00
true
tset
tsort tsort: fix typo in comment 2021-02-06 16:02:16 +00:00
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 bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
uniq remove unused label 2019-04-23 17:35:10 +00:00
units Extend units.lib with prefixes from Resolution 3 of the 27th meeting of CGPM. 2022-11-20 14:53:14 +00:00
unvis
unzip usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +00:00
usbhidaction increase the size of a buffer by 1 byte. 2021-04-13 02:07:35 +00:00
usbhidctl Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
users
utoppya bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +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 Make vacation(1) check 'Auto-Submitted:' (RFC 3834) in addition to 2023-04-11 10:34:52 +00:00
vgrind s/begining/beginning/ in comments and messages. 2022-01-24 09:14:36 +00:00
videoctl videoctl: remove unnecessary code for unknown option -h 2021-02-19 11:39:11 +00:00
vis fix URL 2021-02-20 09:31:51 +00:00
vmstat For vmstat -mW, add a total KB consumed column and widen a couple of 2023-08-01 04:20:14 +00:00
vndcompress Since vnconfig(8) was renamed (many years ago), update some cross-refs 2020-01-24 20:20:35 +00:00
w bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
wall bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
wc Document history 2019-09-01 18:44:06 +00:00
what what: use numeric exit status, as indicated by the comment 2021-12-07 18:38:50 +00:00
whatis
whereis remove unnecessary quotes 2022-09-11 20:18:30 +00:00
who PR/56013: Kouichi Hashikawa: Move setutent/setutxent right before the loops. 2021-02-26 02:45:43 +00:00
whois RIPE definition no longer exists in source 2020-03-01 02:45:04 +00:00
write write was in v1 2019-09-01 18:48:01 +00:00
xargs
xinstall tools: binstall can use posix_spawn() instead of vfork() 2023-07-20 16:21:23 +00:00
xlint lint: since C99, a non-void function must return a value 2023-08-06 19:44:50 +00:00
yes
ypcat ypcat(1): Convert realloc(x * y) to reallocarr. 2021-10-30 08:56:54 +00:00
ypmatch
ypwhich
Makefile obsolete mkstr(1) and xstr(1) 2023-05-24 13:00:14 +00:00
Makefile.inc usr.bin: enable lint checks for most programs in /usr/bin 2021-08-22 22:24:11 +00:00