sortix-mirror/utils
Ralph Holmes 5d774cce1d Fix execl(3) sentinel undefined behaviour.
execl(3) and its variants use a sentinel to terminate the variadic
argument list, in the form of a null pointer constant of type pointer to
char. POSIX mandates that NULL is a null pointer constant of type
pointer to void, which is not of an equivalent type to that required by
execl(3) and its variants, resulting in undefined behaviour.

This commit casts all such instances of NULL to pointer to char type.
For consistency, it also adds const-qualification to any such instances
which had already been casted, and were not const-qualified.
2016-09-30 23:36:49 +02:00
..
.gitignore Add readlink(1). 2016-09-29 20:10:58 -05:00
Makefile Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
basename.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
cat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chkblayout.1 Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
chkblayout.c Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
chmod.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chroot.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
chvideomode.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
clear.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
colormake.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
column.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
command-not-found.c Add suggestion to use vim(1) if installed. 2016-09-29 00:01:41 +02:00
cp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
date.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
df.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dirname.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
du.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
echo.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
env.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
expr.c Check overflow in expr(1). 2016-05-15 22:43:29 +02:00
false.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
find.c Add -type option to find(1). 2016-03-27 14:51:44 +02:00
head.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
help.c Fix execl(3) sentinel undefined behaviour. 2016-09-30 23:36:49 +02:00
id.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernelinfo.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kill.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ln.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ls.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
memstat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mktemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pager.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
passwd.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ps.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pstree.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pwd.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readlink.1 Add readlink(1). 2016-09-29 20:10:58 -05:00
readlink.c Add readlink(1). 2016-09-29 20:10:58 -05:00
realpath.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rm.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rmdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sleep.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sort.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
stat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tail.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
tee.c Add tee(1). 2016-09-25 20:07:27 -05:00
time.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
touch.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tr.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
true.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
type.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uname.c Remove uname -i and -o options. 2016-05-15 22:43:29 +02:00
uniq.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
unmount.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uptime.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
which.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
xinstall.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
yes.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00