freebsd-skq/bin
Jilles Tjoelker e0f5c1387d sh: Allow more scripts without #!
Austin Group bugs #1226 and #1250 changed the requirements for shell scripts
without #! (POSIX does not specify #!; this is about the shell execution
when execve(2) returns an [ENOEXEC] error).

POSIX says we shall allow execution if the initial part intended to be
parsed by the shell consists of characters and does not contain the NUL
character.  This allows concatenating a shell script (ending with exec or
exit) and a binary payload.

In order to reject common binary files such as PNG images, check that there
is a lowercase letter or expansion before the last newline before the NUL
character, in addition to the check for the newline character suggested by
POSIX.
2020-05-30 16:00:49 +00:00
..
cat Allow building bin/cat on non-FreeBSD systems 2020-01-16 14:15:00 +00:00
chflags
chio
chmod
cp
csh
date
dd
df
domainname
echo
ed
expr
freebsd-version
getfacl
hostname
kenv
kill
ln
ls ls: fix WITHOUT_LS_COLORS build 2020-05-21 15:15:50 +00:00
mkdir
mv
pax
pkill
ps ps: extend the non-standard option -d (tree view) to work with -p 2020-05-07 16:56:18 +00:00
pwait Remove unused include. 2020-02-02 20:51:28 +00:00
pwd
realpath
rm Remove include of stdint.h. It was added in r241014 for uintmax_t, 2020-04-23 03:46:41 +00:00
rmail
rmdir
setfacl
sh sh: Allow more scripts without #! 2020-05-30 16:00:49 +00:00
sleep
stty
sync
test
tests
uuidgen
Makefile
Makefile.inc