1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
openbsd-src/usr.bin
dv 134d7b1ef9 rpcgen(1): default to "STDIN" as input file when compiling to headers.
FreeBSD, NetBSD, and GNU all use a variation of "STDIN" as the
default input filename when compiling to header files (-h) to prevent
a NULL-pointer deference. Adopt a similar approach.

ok millert@
2024-07-22 17:55:18 +00:00
..
apply
arch
at Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
aucat aucat: check for failled allocation 2024-07-08 16:10:34 +00:00
audioctl shorten SYNOPSIS from three versions to two (me) then one (ratchov), 2023-01-09 17:13:46 +00:00
awk Avoid unnecessary string traversals in u8_isutf() and substr(). 2024-06-04 14:40:46 +00:00
banner
basename
bc Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
bgplg missing save_errno dance inside non-terminal signal handler 2024-07-01 18:43:50 +00:00
biff userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
cal userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
calendar correct indentation; no functional change 2024-04-23 13:34:50 +00:00
cap_mkdb userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
cdio Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
chpass I forgot that chpass(1) and passwd(1) reach-around into libc for 2024-01-22 21:07:09 +00:00
cmp For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
col userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
colrm userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
column spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
comm userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
compress Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz" 2023-11-11 02:52:55 +00:00
cpp
crontab
csplit Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
ctags userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
ctfconv Recent ctfconv refactoring broke support for long double types, as 2024-02-27 06:58:19 +00:00
ctfdump Print the size of more objects (basic types and enums) based on their 2024-02-22 13:21:03 +00:00
cu If anything goes wrong with reading the 'sysctl hw.ucomnames', act 2024-02-10 15:29:04 +00:00
cut Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
cvs avoid potential use-after-free 2024-05-30 10:25:58 +00:00
dc correct indentation; no functional change 2024-04-23 13:34:50 +00:00
deroff Use a dynamically-allocated line buffer and resize as needed. 2023-09-27 21:06:33 +00:00
diff remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
diff3
dig IN_MULTICAST uses host byte order 2024-07-08 13:46:33 +00:00
dirname
doas change permit to be more bits away from deny, because rowhammer. 2024-02-15 18:57:58 +00:00
du userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
encrypt unveil _PATH_LOGIN_CONF_D 2022-02-10 13:06:46 +00:00
env
expand userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
false
fgen fix usage; Thomas Klausner will commit the same diff to NetBSD within the 2024-05-20 19:16:48 +00:00
file Use imsg_get_fd() and adjust cleanup code accordingly. 2024-01-16 13:07:29 +00:00
find Replace use of the old BSD st_*timespec members in struct stat with 2023-08-11 04:45:05 +00:00
finger finger/mail: two trivial functions were missed in earlier ansi passes 2023-02-08 08:24:29 +00:00
fmt
fold
from
fstat remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
ftp remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
gencat spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
getcap Fix the -f option when passed multiple files. 2022-02-09 15:53:35 +00:00
getconf userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
getent avoid arpa/nameser.h by improving the inet_pton/gethostbyaddr code to 2021-10-11 14:28:26 +00:00
getopt
gprof spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
grep procline: only reduce mcount once per line, not once per match. 2023-11-15 00:50:43 +00:00
head head(1): check for stdio errors 2022-02-07 17:19:57 +00:00
hexdump userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
htpasswd man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
id fail when an argument is given on 'id -R' 2023-05-30 16:44:16 +00:00
indent spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
infocmp Update ncurses and associated libraries (form, panel, menu) to 2023-10-17 09:52:08 +00:00
ipcrm Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
ipcs
join userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
jot
kdump remove unused vars 2024-06-29 11:32:35 +00:00
keynote
kstat print amps and watts 2024-03-26 00:54:24 +00:00
ktrace include KTRFAC_PINSYSCALL in the ktrace options 2023-12-19 16:31:50 +00:00
lam Fixed-size NOFILE_MAX (from sys/param.h of course) array is crazy, so 2021-12-03 15:15:22 +00:00
last For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
lastcomm New accounting flag ABTCFI to indicate signal SIGILL + code ILL_BTCFI 2024-02-25 00:07:13 +00:00
ldap 'e' is no longer an optional element for ober_scanf_elements. 2022-03-31 09:03:48 +00:00
leave
less remove externs for removed vars 2024-05-18 00:08:06 +00:00
lex delete whitespaces that end up in output files 2023-10-21 14:09:15 +00:00
libtool finish v5.36, UList was a bit more work 2023-07-10 09:29:48 +00:00
lndir
locale Actually, LANG only set the default. 2023-03-05 18:55:34 +00:00
locate Make LLVM 15 happier by changing from K&R to ANSI prototypes 2023-04-28 20:22:35 +00:00
lock
logger userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
login Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
logname If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
look userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
lorder
m4 remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
mail remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
make Quiet compiler warnings when built with WARNINGS=Yes 2024-06-18 02:11:03 +00:00
mandoc Add new argument for IEEE 1003.1-2024 aka POSIX.1 2024-06-16 18:33:05 +00:00
mesg userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
mg an universal -> a universal 2024-07-10 05:19:02 +00:00
midicat midicat(1): use err(3) everywhere 2022-12-02 22:36:34 +00:00
mixerctl
mkdep
mklocale
mktemp Clarify which part of the path name is considered for substitution. 2024-03-03 15:24:45 +00:00
nc Mention that port can be specified as 0 in some situations, so that the 2024-04-01 12:40:18 +00:00
netstat remove prototypes with no matching function 2024-05-18 07:10:16 +00:00
newsyslog newsyslog: allow the F flag to be used on its own. 2024-04-22 14:20:35 +00:00
nfsstat Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
nice
nl userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
nm remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
nohup
openssl Move the sigaction next to multi 2024-07-13 16:43:56 +00:00
pagesize
passwd typo: "pwdtries" -> "passwordtries"; ok millert@ 2024-05-24 13:32:03 +00:00
paste userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
patch add "-V none" to prevent making any backups 2024-03-22 19:22:23 +00:00
pctr
pkg-config In pkg-config, accept both "CFlags:" and "Cflags:" 2024-02-11 03:57:10 +00:00
pkill A couple commands don't need sys/param.h, but they do need sys/signal.h 2021-09-01 15:54:40 +00:00
pr Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
printenv
printf
quota
radioctl
rcs remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
rdist remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
rdistd spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
readlink Provide realpath(1) 2021-10-13 15:04:53 +00:00
realpath Provide realpath(1) 2021-10-13 15:04:53 +00:00
renice renice(8): don't succeed after 256 errors 2022-08-12 00:24:07 +00:00
rev rev(1): drop "rpath" promise in no-file branch. 2022-02-08 17:44:18 +00:00
rpcgen rpcgen(1): default to "STDIN" as input file when compiling to headers. 2024-07-22 17:55:18 +00:00
rpcinfo Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
rs
rsync remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
rup
rusers
rwall
script note the -c runs sh -c; from nabijaczleweli 2022-01-03 21:49:37 +00:00
sdiff If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
sed sed: use warn()/err() where appropriate 2024-07-17 20:57:15 +00:00
sendbug Add more missing archs to "categories": aarch64, mips64el and powerpc64 2022-04-10 17:47:54 +00:00
seq make history less verbose 2023-09-21 13:51:50 +00:00
shar
showmount we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
signify examples should show how to check the signature of the next release 2024-03-02 23:38:00 +00:00
skey man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
skeyaudit
skeyinfo
skeyinit man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
sndioctl sndio: Add a display string to the sioctl_open API 2024-05-24 15:10:26 +00:00
sndiod sndiod: Don't add/remove server.device entries in dev_{open,close}() 2024-06-01 09:44:10 +00:00
snmp correct indentation; no functional change 2024-04-23 13:34:50 +00:00
sort man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
spell spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
split Stop using MAXBSIZE to eliminate sys/param.h including (which injects a 2021-11-28 19:28:41 +00:00
ssh mention mux proxy mode 2024-07-18 01:47:27 +00:00
stat Prefer the POSIX standard st_*tim struct timespec members over the 2023-08-06 19:36:13 +00:00
su Denote multiple arguments with 'arg ...' not 'args' 2022-12-22 19:53:22 +00:00
systat remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
tail userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
talk
tcpbench Fix white space. OK tobhe@ 2024-03-21 16:46:04 +00:00
tee tee(1): explicitly check read(2) return value for 0 and -1 2023-03-04 00:00:25 +00:00
telnet remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
tftp correct indentation; no functional change 2024-04-23 13:34:50 +00:00
tic Update ncurses and associated libraries (form, panel, menu) to 2023-10-17 09:52:08 +00:00
time time(1): miscellaneous style(9) tweaks 2023-10-15 18:20:25 +00:00
timeout Add note about timeout(1)'s standards compliance 2024-06-16 18:33:56 +00:00
tmux Expand full array option values if no index is provided, GitHub issue 2024-07-22 15:27:42 +00:00
top remove prototypes with no matching function 2024-05-18 01:51:44 +00:00
touch touch(1): don't leak file descriptor if futimens(2) fails 2022-01-29 00:06:26 +00:00
tput install accidentally dropped tput(1) man page again 2024-04-29 13:23:19 +00:00
tr Straightforward conversion form K&R to ANSI function definitions 2023-05-04 16:08:29 +00:00
true
ts fix unintended sizeof pointer introduced in 1.10 2022-10-11 07:36:27 +00:00
tset Update ncurses and associated libraries (form, panel, menu) to 2023-10-17 09:52:08 +00:00
tsort fix macro to look more like a function, remove extraneous ; 2024-01-18 15:34:29 +00:00
tty tty(1): exit with status 2 if unveil(2) or pledge(2) fail 2024-05-06 16:49:46 +00:00
ul
uname OpenBSD intentionally does not print a flavor for -r. 2024-06-03 15:55:52 +00:00
unexpand
unifdef unifdef appeared in 4.1c before 2.9 2023-08-13 02:20:23 +00:00
uniq uniq(1): miscellaneous style(9)-ish stuff 2022-01-01 18:20:52 +00:00
units correct the entry for chilepeso; from jan stary 2023-04-12 15:26:26 +00:00
unvis userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
usbhidaction Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
usbhidctl Delete obsolete /* ARGSUSED1 */ lint comments. 2023-03-07 17:43:59 +00:00
users userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
uudecode Use BUFSIZ instead of PATH_MAX. Since it doesn't anything with a file 2022-08-30 16:06:09 +00:00
uuencode
vacation man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
vi Don't divide by zero (empty files) 2024-04-25 09:58:17 +00:00
vis userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
vmstat vmstat/dkstats.c: remove obfuscatory timerset() macro 2024-05-06 16:54:22 +00:00
w userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
wall Switch K&R function definition to ANSI to make clang 15 happier 2023-05-02 09:51:22 +00:00
wc userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
what Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
which
who remove whitespace 2021-11-11 08:48:48 +00:00
whois remove possibly bogus length check 2024-03-25 19:11:52 +00:00
write For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
x99token
xargs Suppress a spurious empty arg at EOF w/ "find -0" caused by the last commit. 2023-12-23 15:58:58 +00:00
xinstall userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
yacc remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Import ts(1) - a timestamp utility 2022-06-29 08:39:49 +00:00
Makefile.inc