freebsd-skq/bin
Jilles Tjoelker 7cca93e61a sh: Do not import IFS's value from the environment.
Per Austin group issue #884, always set IFS to $' \t\n'. As before, IFS will
be exported iff it was in the environment.

Most shells (e.g. bash, ksh93 and mksh) already did this. This change
improves predictability, in that scripts can simply rely on the default
value.

However, the effect on security is little, since applications should not be
calling the shell with attacker-controlled environment variable names in the
first place and other security-sensitive variables such as PATH should be
and are imported by the shell.

When using a new sh with an old (before 10.2) libc wordexp(), IFS is no
longer passed on. Otherwise, wordexp() continues to pass along IFS from the
environment per its documentation.

Discussed with:	pfg
Relnotes:	yes
2016-10-08 13:40:12 +00:00
..
cat Implement multibyte encoding support for -v with fallback 2016-09-15 17:24:39 +00:00
chflags Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
chio Document where chio(1) originated from & which version of FreeBSD first included it. 2016-10-05 18:26:39 +00:00
chmod "POSIX doesn't specify -h." - r1.27 from NetBSD 2016-10-02 14:27:18 +00:00
cp Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
csh WITH_META_MODE: Fix bin/csh rebuilding tc.const.h 2016-06-14 16:19:49 +00:00
date Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
dd Add history section for dd(1) 2016-10-05 18:38:38 +00:00
df df(1): Allow duplicate -l flags gracefully 2016-08-31 18:10:41 +00:00
domainname Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
echo Add history section for echo(1) 2016-10-05 19:16:55 +00:00
ed Use .At macro instead of specifying AT&T UNIX literaly. 2016-10-02 14:22:09 +00:00
expr Document origins of expr & authors 2016-10-05 19:26:35 +00:00
freebsd-version MFH 2016-04-04 23:55:32 +00:00
getfacl Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
hostname Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
kenv Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
kill In v3 UNIX, the kill utility is documented in category 8, not 1. 2016-10-02 23:13:46 +00:00
ln Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
ls Skip ls tests that use sparse files if these are not supported. 2016-08-24 10:10:26 +00:00
mkdir Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
mv Close from_fd if malloc() fails to avoid a file descriptor leak. 2016-05-25 02:51:15 +00:00
pax Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:11:23 +00:00
pkill Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ps Remove description of P_FOLLOWFORK as this flag was removed. 2016-08-12 16:13:50 +00:00
pwait Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
pwd Add history section of pwd(1) 2016-10-05 19:31:29 +00:00
rcp MFH 2016-04-12 17:00:13 +00:00
realpath Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
rm Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
rmail MFH 2016-03-02 16:14:46 +00:00
rmdir Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
setfacl Explicitly NUL terminate the buffer filled by fread(). 2016-06-08 05:32:39 +00:00
sh sh: Do not import IFS's value from the environment. 2016-10-08 13:40:12 +00:00
sleep Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
stty Add history section for stty(1) 2016-10-05 19:37:46 +00:00
sync Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
test Add history section for test(1) 2016-10-05 19:47:02 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
uuidgen uuid_to_string(3) is allocating memory and can fail on that. 2016-08-03 18:04:08 +00:00
Makefile Start using the fact that SUBDIR.yes is added to SUBDIR 2015-10-05 21:41:55 +00:00
Makefile.inc