1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/usr.bin
deraadt 3aaa63eb46 When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
2019-06-28 13:34:58 +00:00
..
apply With malloc option J, the first realloc(3) in apply(1) would return 2018-04-01 17:45:05 +00:00
arch delete duplicate RCS IDs; found with mandoc -Tlint 2017-07-06 16:50:58 +00:00
at When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
aucat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
audioctl When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
awk use proper crossreferences 2019-05-26 01:16:08 +00:00
banner
basename
bc Jan Stary convinced me 4 * a(1) is a better example 2017-10-09 06:59:07 +00:00
bgplg correct example; from pierre emeriaud 2019-03-17 10:43:24 +00:00
biff When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
cal
calendar When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
cap_mkdb atexit() returns -1 on failure 2019-06-28 05:33:35 +00:00
cdio When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
chpass add unveil(2): 2019-04-30 18:28:45 +00:00
cmp Stricter checking for skip1 and skip2. 2018-03-05 16:57:37 +00:00
col
colrm
column Remove unused function. 2018-06-22 12:27:00 +00:00
comm
compress When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
cpp
crontab
csplit
ctags Ensure that the tag and line number are always separated by at least a single 2017-10-11 07:26:40 +00:00
ctfconv Use getopts instead of getopt(1) 2019-05-27 09:31:08 +00:00
ctfdump Remove leftover elf.c 2019-05-14 03:20:11 +00:00
cu When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
cut Remove rpath from pledge when only stdin is used. 2019-02-07 19:11:23 +00:00
cvs When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
dc small optimization in bexp; from kshe 2017-12-29 08:16:55 +00:00
deroff add missing HISTORY; based on CVS logs and release announcements 2017-10-17 22:47:58 +00:00
diff When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
diff3 I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
dirname I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
doas add an example hint that shows how original path can be retained 2019-06-24 14:45:52 +00:00
du
encrypt The first unveil userland commit! 2018-08-03 04:47:56 +00:00
env
expand
false
fgen
file asprintf returns -1, not an arbitrary value < 0. Also upon error the 2019-06-28 05:44:09 +00:00
find When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
finger When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
fmt Fix not accounting for NUL for allocation size and move to reallocarray 2018-10-18 05:04:52 +00:00
fold
from An early pledge takes away many risk factors during spool opening/parsing. 2018-08-08 17:52:46 +00:00
fstat fix Bl; 2019-03-31 06:40:26 +00:00
ftp When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
gencat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
getcap I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
getconf The code path were we pass `pathname' in the arguments is already limited 2018-10-26 17:11:32 +00:00
getent Prefer user names over numeric user IDs 2018-11-02 10:21:29 +00:00
getopt improve markup quality in the cases found by the new "--" style message 2018-03-16 16:58:26 +00:00
gprof Prefer <elf.h> to the non portable <sys/exec_elf.h>. 2017-10-29 08:45:53 +00:00
grep convert fgetln to getline. this improves portability and sets a good 2019-01-31 01:30:46 +00:00
head
hexdump Use <fcntl.h> instead of <sys/file.h> for open() and friends. 2018-04-26 12:42:50 +00:00
htpasswd htpasswd(1) when in batch mode (-I) and 1 argument is used, or when not in 2018-10-31 07:39:10 +00:00
id
indent When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
infocmp mark files as BUILDFIRST, or write explicit dependencies, so that most 2017-06-16 10:25:54 +00:00
ipcrm
ipcs When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
join Remove slurpit definition. Leftover from earlier cleanup by otto@. 2018-11-14 15:16:09 +00:00
jot Some asprintf() calls were checked < 0, rather than the precise == -1. 2019-06-27 18:03:36 +00:00
kdump improve wrong markup and poor wording regarding the -t argument 2019-05-15 15:36:59 +00:00
keynote remove redundant variable declarations in Makefiles, since those are 2017-07-09 21:23:18 +00:00
ktrace When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
lam UTF-8 support: use wcwidth(3) when calculating column widths; 2018-07-29 11:27:14 +00:00
last When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
lastcomm Stop mentionning/testing the for the ASU bit (S flag). 2018-02-27 07:58:29 +00:00
ldap The BER API is currently used by ldap, ldapd, ldapctl, ypldap, snmpd, and 2019-05-11 17:46:02 +00:00
leave Add & update author credits for Mary Ann Horton. 2018-07-13 16:59:46 +00:00
less When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
lex Remove unused variable; no binary change. 2017-08-30 02:54:07 +00:00
libtool Drop two unused settings. 2019-01-03 21:50:26 +00:00
lndir When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
locale
locate delete some historic $Id that have been chewed on by cvs 2019-01-17 06:15:44 +00:00
lock After recent changes, we need to clear hash, not s1. 2017-09-06 21:02:31 +00:00
logger Add -c option for passing LOG_CONS to syslog(3). 2019-06-17 00:23:03 +00:00
login When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
logname
look When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
lorder Remove -S from install commands 2019-02-24 12:57:13 +00:00
m4 mkstemp() returns -1 on failure 2019-06-28 05:35:34 +00:00
mail When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
make document brk_string slightly better 2019-05-21 17:21:02 +00:00
mandoc Fix mandoc_normdate() and the way it is used. 2019-06-27 15:05:14 +00:00
mesg When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
mg When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
midicat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
mixerctl When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
mkdep
mklocale remove misc. depend and yacc nits that no longer matter. 2017-07-10 21:30:37 +00:00
mktemp mkstemp() returns -1 on failure 2019-06-28 05:35:34 +00:00
nc When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
netstat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
newsyslog When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
nfsstat Adjust references for sysctl(3) to sysctl(2) 2018-01-12 04:36:44 +00:00
nice
nl pledge "stdio" after opening file and before doing operations 2019-04-21 01:08:46 +00:00
nm on malloc(3) failure, gracefully abort processing of the current file 2019-03-03 16:07:39 +00:00
nohup Do not leak a file descriptor when opening nohup.out. Make sure 2018-09-14 18:17:46 +00:00
openssl When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
pagesize
passwd When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
paste fix a glitch in rev. 1.24: getline(3) returns ssize_t, not size_t; 2018-08-04 19:19:37 +00:00
patch When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
pctr When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
pkg-config add support for defining variables through the environment 2019-02-04 20:18:11 +00:00
pkill When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
pr When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
printenv
printf Fix incorrect character escape. 2019-06-02 06:16:37 +00:00
quota Use <fcntl.h> instead of <sys/file.h> for open() and friends. 2018-04-26 12:42:50 +00:00
radioctl When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rcs When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rdist When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rdistd When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
readlink When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
renice I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
rev
rpcgen When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rpcinfo When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rs
rsync When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rup
rusers When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
rwall
script When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
sdiff Add unveil(2) to sdiff(1) to the following files: 2018-09-28 18:21:52 +00:00
sed correct inaccurate and misplaced information in CAVEATS 2018-12-10 17:12:24 +00:00
sendbug Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), 2017-08-21 21:41:13 +00:00
shar
showmount Use <fcntl.h> instead of <sys/file.h> for open() and friends. 2018-04-26 12:42:50 +00:00
signify xr to sysupgrade 2019-05-08 17:55:41 +00:00
skey I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
skeyaudit When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
skeyinfo I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
skeyinit When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
sndiod When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
sort When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
spell Delete useless call to setlocale(3): 2019-03-10 20:45:11 +00:00
split
ssh When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
stat Fix typo in previous: group_from_gid(st->st_gid, 1), not st_uid. 2018-09-18 15:14:06 +00:00
su When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
systat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
tail When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
talk When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
tcpbench If tpcbench(8) is startet with -r0 it does not print statistics. 2018-09-28 19:01:52 +00:00
tee Replace manual list with SLIST. 2017-07-11 13:14:59 +00:00
telnet When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
tftp fix indentation 2018-09-20 11:42:42 +00:00
tic When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
time the granularity of microprocessors has likely improved since this note 2019-01-01 16:17:03 +00:00
tmux When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
top When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
touch Delete a useless call to setlocale(3): strptime(3) is only called 2019-03-10 15:11:52 +00:00
tput I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
tr
true remove redundant variable declarations in Makefiles, since those are 2017-07-09 21:23:18 +00:00
tset When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
tsort missing dots after ".%P pp"; the case of btree(3) was 2019-04-23 18:13:11 +00:00
tty unveil of _PATH_DEVDB "/var/run/dev.db" can be done before pledge for 2018-08-03 06:55:41 +00:00
ul More HISTORY and AUTHORS, in part from Jonathan de Boyne Pollard 2017-10-29 22:00:22 +00:00
uname
unexpand
unifdef When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
uniq KNF 2018-07-31 02:55:57 +00:00
units update currency exchange rates; 2019-06-01 06:38:33 +00:00
unvis
usbhidaction When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
usbhidctl When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
users unveil _PATH_UTMP at startup. Time for a commentary: 2018-08-03 16:02:53 +00:00
uudecode When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
uuencode Delete useless calls to setlocale(3): 2019-03-10 20:49:24 +00:00
vacation When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
vi Also apply stricter pledge when secure mode is set via rc file or command. 2019-05-21 09:24:58 +00:00
vis
vmstat When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
w When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
wall When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
wc When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
what merge weird BUGS section into HISTORY; 2019-01-20 14:03:19 +00:00
which I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
who pledge with "unveil" at the top, so that the various modes can unveil 2018-08-08 22:55:14 +00:00
whois Plug getaddrinfo(3) memory leak 2018-06-19 11:28:11 +00:00
write When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
x99token
xargs Use sizeof(char *) not sizeof(char **) when allocating an array 2018-06-12 15:24:31 +00:00
xinstall When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
yacc
yes
ypcat rm a few more $Id which cannot be useful 2019-01-17 06:18:27 +00:00
ypmatch rm a few more $Id which cannot be useful 2019-01-17 06:18:27 +00:00
ypwhich rm a few more $Id which cannot be useful 2019-01-17 06:18:27 +00:00
Makefile install rsync as openrsync, so that people can easily familiarize 2019-03-18 04:32:31 +00:00
Makefile.inc