freebsd-dev/usr.bin
Konstantin Belousov fa50a3552d Implement Address Space Layout Randomization (ASLR)
With this change, randomization can be enabled for all non-fixed
mappings.  It means that the base address for the mapping is selected
with a guaranteed amount of entropy (bits). If the mapping was
requested to be superpage aligned, the randomization honours the
superpage attributes.

Although the value of ASLR is diminshing over time as exploit authors
work out simple ASLR bypass techniques, it elimintates the trivial
exploitation of certain vulnerabilities, at least in theory.  This
implementation is relatively small and happens at the correct
architectural level.  Also, it is not expected to introduce
regressions in existing cases when turned off (default for now), or
cause any significant maintaince burden.

The randomization is done on a best-effort basis - that is, the
allocator falls back to a first fit strategy if fragmentation prevents
entropy injection.  It is trivial to implement a strong mode where
failure to guarantee the requested amount of entropy results in
mapping request failure, but I do not consider that to be usable.

I have not fine-tuned the amount of entropy injected right now. It is
only a quantitive change that will not change the implementation.  The
current amount is controlled by aslr_pages_rnd.

To not spoil coalescing optimizations, to reduce the page table
fragmentation inherent to ASLR, and to keep the transient superpage
promotion for the malloced memory, locality clustering is implemented
for anonymous private mappings, which are automatically grouped until
fragmentation kicks in.  The initial location for the anon group range
is, of course, randomized.  This is controlled by vm.cluster_anon,
enabled by default.

The default mode keeps the sbrk area unpopulated by other mappings,
but this can be turned off, which gives much more breathing bits on
architectures with small address space, such as i386.  This is tied
with the question of following an application's hint about the mmap(2)
base address. Testing shows that ignoring the hint does not affect the
function of common applications, but I would expect more demanding
code could break. By default sbrk is preserved and mmap hints are
satisfied, which can be changed by using the
kern.elf{32,64}.aslr.honor_sbrk sysctl.

ASLR is enabled on per-ABI basis, and currently it is only allowed on
FreeBSD native i386 and amd64 (including compat 32bit) ABIs.  Support
for additional architectures will be added after further testing.

Both per-process and per-image controls are implemented:
- procctl(2) adds PROC_ASLR_CTL/PROC_ASLR_STATUS;
- NT_FREEBSD_FCTL_ASLR_DISABLE feature control note bit makes it possible
  to force ASLR off for the given binary.  (A tool to edit the feature
  control note is in development.)
Global controls are:
- kern.elf{32,64}.aslr.enable - for non-fixed mappings done by mmap(2);
- kern.elf{32,64}.aslr.pie_enable - for PIE image activation mappings;
- kern.elf{32,64}.aslr.honor_sbrk - allow to use sbrk area for mmap(2);
- vm.cluster_anon - enables anon mapping clustering.

PR:	208580 (exp runs)
Exp-runs done by:	antoine
Reviewed by:	markj (previous version)
Discussed with:	emaste
Tested by:	pho
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D5603
2019-02-10 17:19:45 +00:00
..
addr2line DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
alias
apply apply(1): Fix magic number substitution with magic character ' ' 2018-08-08 21:21:28 +00:00
ar ar: detect and error out on 32-bit symbol table overflow 2018-12-28 22:47:55 +00:00
asa various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
at - Correct the description when jobs are executed related to load avg 2018-08-11 16:29:54 +00:00
atm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
awk awk(1): Don't install tests at all 2018-01-29 14:15:44 +00:00
banner General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
basename Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
bc Sync with OpenBSD. 2019-01-12 12:35:02 +00:00
biff General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
bluetooth various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bmake Merge bmake-20181221 2018-12-23 01:05:52 +00:00
brandelf brandelf: capsicumize it 2018-11-18 12:23:03 +00:00
bsdcat MFV r338519: 2018-09-11 20:51:34 +00:00
bsdiff bspatch: simplify capsicumization 2018-11-07 21:01:14 +00:00
bzip2 DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bzip2recover DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
c89 various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
c99 various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
caesar DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
calendar Add myself to committers-src.dot and calendar.freebsd 2019-02-09 16:53:39 +00:00
cap_mkdb General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
chat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
chkey DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
chpass chpass: reject change/expiry dates beyond y2106 2018-04-19 12:50:49 +00:00
cksum General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
clang Merge ^/head r340918 through r341763. 2018-12-09 11:39:45 +00:00
cmp Fix cmp(1) tests for "special" mode. 2019-01-21 03:57:49 +00:00
col Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
colldef various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
colrm General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
column Free data after we're done with it. 2017-12-28 05:33:44 +00:00
comm General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
compile_et DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
compress Fix descriptor/memory leak in compress(1) code 2019-01-18 00:26:25 +00:00
cpio MFV r338519: 2018-09-11 20:51:34 +00:00
cpuset Missed a bit of doc change from r335921. 2018-07-06 16:23:30 +00:00
csplit various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ctags General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ctlstat Remove hard coded number of lun definition 2017-12-11 14:54:42 +00:00
cut cut: Fix out of boundary write on illegal list argument 2018-05-23 09:16:20 +00:00
cxxfilt DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dc Make dc(1) buildable. 2018-09-19 07:08:27 +00:00
diff capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
diff3 capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
dirname Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
dpv Use full month in dpv(3), figpar(3), and bsdconfig(8) manuals 2018-03-14 19:09:06 +00:00
drill DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
dtc dtc(1): Update to 0892ec7; HACKING and implicit header fixes 2018-08-23 02:26:40 +00:00
du General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ee DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
elf2aout various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
elfdump elfdump: use designated array initialization for note types 2019-01-31 16:49:06 +00:00
enigma enigma(1) Remove reference to PGP; modernize a bit 2018-05-09 07:46:57 +00:00
env various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
etdump Update release version of FreeBSD. 2018-04-25 18:56:27 +00:00
expand [expand] add __dead2 annotation to usage 2018-05-11 06:55:02 +00:00
factor Make factor(6) buildable. 2018-09-19 07:09:09 +00:00
false General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
fetch Through a combination of insufficient variable initialization and 2018-09-10 19:39:20 +00:00
file DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
file2c DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
find Fix whiteout support in find(1) 2019-01-28 02:00:39 +00:00
finger various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fmt fmt(1): Fix usage of Nm macro 2017-12-01 21:44:23 +00:00
fold Add basic tests for ctfconvert(1), fold(1) and rs(1) 2017-11-27 20:01:58 +00:00
fortune A few corrections and clarifications to r343406. 2019-01-28 19:54:58 +00:00
from General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
fstat Print type designator 'D' for the KF_TYPE_DEV files. 2018-12-03 23:42:04 +00:00
fsync various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ftp DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
gcore Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
gencat SPDX: Fix some cases wrongly attributed to MIT. 2017-11-30 15:10:11 +00:00
getaddrinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
getconf Add Linux compatibility support for SC_NPROCESSORS_{CONF,ONLN} as _SC_NPROCESSORS_{CONF,ONLN} 2019-01-11 22:28:18 +00:00
getent various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
getopt Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
gprof .Xr pmcstat(8) from kgmon(8) and gprof(1). 2017-11-27 12:37:14 +00:00
grdc DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
grep Fix bsdgrep manpage clobbering grep(1) with default build options 2019-01-09 02:47:07 +00:00
gzip Correct documentation year. 2019-01-07 08:29:27 +00:00
head head: sandbox using capsicum 2018-11-12 17:59:15 +00:00
hesinfo
hexdump Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
host DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
iconv Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
id General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ident Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
indent capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
ipcrm Fix build post r330299 2018-03-02 23:31:55 +00:00
ipcs ipcs(1): drop obsolete error checking 2019-02-07 14:29:45 +00:00
iscsictl iscsictl.8: Add missing flag parameters 2018-12-27 14:44:01 +00:00
join General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
jot capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
kdump Use 'bool' instead of 'int' for various boolean flags. 2018-08-18 20:23:53 +00:00
keylogin DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
keylogout DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
killall various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ktrace Decode kevent structures logged via ktrace(2) in kdump. 2017-11-25 04:49:12 +00:00
ktrdump capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
lam The lam(1) man page is unclear about the uppercase versions of the flags 2019-01-04 02:48:43 +00:00
last A single comma was missing to separate the "see also" items in 2018-10-20 17:22:04 +00:00
lastcomm various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ldd Add an IMPLEMENTATION NOTES section to ldd.1. 2018-10-23 13:49:53 +00:00
leave General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
less MFV r326007: less v529. 2017-11-20 08:52:33 +00:00
lessecho DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
lesskey DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
lex Fix broken SPDX comment in usr.bin/lex/initparse.c 2018-02-07 17:09:12 +00:00
limits limits(1): fix always true condition 2018-01-21 08:48:26 +00:00
locale various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
localedef localedef: define characters in "space" class also as "print", except 2018-10-27 23:31:42 +00:00
locate Move install of locate.rc to usr.bin/locate/locate/ 2018-09-18 20:50:07 +00:00
lock Make lock(1) use PAM. This makes the -p option work again. (Well, kind of, 2018-02-11 13:35:31 +00:00
lockf various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
logger logger: fix memory leak and use-after-free 2018-05-28 02:40:06 +00:00
login Move fbtab, login.conf, and motd to usr.bin/login/ 2018-08-30 15:52:03 +00:00
logins various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
logname Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
look General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lorder General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lsvfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
lzmainfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
m4 m4: add annotations to various functions 2018-01-24 07:01:44 +00:00
mail Move mail.rc install to usr.bin/mail. 2018-09-18 20:47:06 +00:00
man Teach man(1) about C.UTF-8. 2018-11-04 16:58:55 +00:00
mandoc Import mandoc 1.14.4 2018-09-20 10:58:52 +00:00
mesg General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
minigzip DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ministat Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
mkcsmapper various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mkcsmapper_static DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkdep General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mkesdb various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mkesdb_static DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkfifo General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mkimg Remove unneeded headers. 2019-01-06 20:39:23 +00:00
mklocale General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mkstr General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mktemp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mkuzip various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
morse morse(6): update documentation 2018-01-06 15:52:28 +00:00
msgs Switch the default pager for most commands to less 2018-08-08 19:24:20 +00:00
mt General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
nc DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ncal ncal: correct history section 2018-06-09 04:40:17 +00:00
netstat Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00
newgrp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
newkey newkey(8): fix 'tmpname' memory leak (always) and input file descriptor leak 2019-02-08 14:31:44 +00:00
nfsstat Remove references to the "new" NFS clients and servers. The "old" 2018-10-01 18:26:41 +00:00
nice General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
nl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
nm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nohup Cross-reference nohup(1) and daemon(8). 2018-11-09 13:47:06 +00:00
number DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
objcopy remove doubled name in objcopy manpage 2018-09-11 20:32:57 +00:00
ofed Move mostly useless examples binaries from OFED, as well as the Subnet 2018-07-20 23:52:11 +00:00
opieinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
opiekey DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
opiepasswd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pagesize General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pamtest DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
passwd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
paste General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
patch patch(1): Don't check for NUL bytes in Plan A 2018-01-11 15:01:48 +00:00
pathchk various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
perror various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pom pom: Fix fencepost bugs. 2018-11-20 00:06:53 +00:00
pr Revert license change. 2017-12-01 03:22:40 +00:00
primes Remove unneeded assert.h (there is no assertion in this file). 2019-01-06 20:42:09 +00:00
printenv Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
printf printf: Add test for width and precision in %b format 2018-08-13 21:54:27 +00:00
proccontrol Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
procstat Temporarily skip flakey test cases 2018-12-06 09:22:35 +00:00
protect various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
quota This exposes ZFS user and group quotas via the normal 2018-07-05 22:56:13 +00:00
random DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rctl rctl: correct use of "vmem" instead of "vmemoryuse" 2018-05-25 13:40:07 +00:00
readelf DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
renice General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
resizewin DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rev General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
revoke various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rpcgen Free some variables before they go out of scope. 2017-12-28 05:33:34 +00:00
rpcinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rs Add basic tests for ctfconvert(1), fold(1) and rs(1) 2017-11-27 20:01:58 +00:00
rup rup: Fix -Wcast-align warnings 2018-07-03 19:09:46 +00:00
ruptime Fix indentation in ruptime command output for hosts in the "down" state. 2019-01-12 12:57:32 +00:00
rusers rusers: modernize a bit 2018-06-25 11:44:56 +00:00
rwall spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
rwho capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
script General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
sdiff sdiff(1) can now be built defaults warning level 2017-12-06 20:10:05 +00:00
sdiotool SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
sed usr.bin/sed/tests: fix one of the regression test cases by adding its 2018-10-31 15:04:41 +00:00
seq seq(1): Move long_opts up with globals 2018-05-02 01:04:13 +00:00
setchannel various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
shar Shar files may be seen as binary by grep. 2019-01-31 23:21:18 +00:00
showmount Free mp on a couple of error paths. 2017-12-28 05:34:34 +00:00
size DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
smbutil DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sockstat Make struct xinpcb and friends word-size independent. 2018-07-05 13:13:48 +00:00
soelim DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sort Don't use absolute path to sed when building usr.bin/join 2018-08-23 18:18:43 +00:00
split General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ssh-copy-id my copyright: some minor adjustments 2018-05-19 20:35:15 +00:00
stat stat(1): cache id->name resolution 2018-08-11 02:56:43 +00:00
stdbuf various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
strings DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
su su(1): build with WARNS=6 2018-06-22 09:10:50 +00:00
svn Update svn_private_config.h - I misread an autoconf change. 2018-05-08 21:01:04 +00:00
systat Fix systat's :only command parser for the multiple arguments case 2019-01-23 02:46:35 +00:00
tabs various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
tail tail(1): Address mandoc concern (space before punctuation after macro) 2018-04-10 14:42:24 +00:00
talk Use a private definition of osockaddr rather then relying on type 2019-01-18 21:30:06 +00:00
tar MFV r338519: 2018-09-11 20:51:34 +00:00
tcopy Free inb on error return. 2017-12-28 05:33:39 +00:00
tee capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
telnet DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tests
tftp tftp(1): switch default transfer mode to binary 2018-08-23 17:00:07 +00:00
time time(1): use the monotonic clock 2018-05-04 14:39:32 +00:00
timeout timeout.1: Try to improve clarity 2018-03-29 02:13:58 +00:00
tip Move remote & phones to usr.bin/tip/tip/ 2018-09-19 14:56:53 +00:00
top Fix the first couple of AddressSanitizer violations in usr.bin/top. 2019-02-10 13:44:36 +00:00
touch touch.1: Update to conform to POSIX 2004 2018-06-01 22:34:59 +00:00
tput General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tr Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
true General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
truncate truncate: delintify 2018-07-29 07:51:42 +00:00
truss Validate the string size parameter passed to -s. 2018-12-10 21:47:19 +00:00
tset General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tsort General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tty General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ul General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
uname spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
unexpand General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
unifdef various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uniq capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
units Correct a typo: was -> way. 2019-01-21 15:27:58 +00:00
unvis DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
unzip various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
usbhidaction various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
usbhidctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
users users(1): Use capsicum helpers for users 2018-06-25 11:44:41 +00:00
uudecode General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
uuencode Make outfile constant. 2018-11-12 07:14:34 +00:00
vacation DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vgrind Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is 2018-06-28 13:48:59 +00:00
vi Don't use CCACHE for linking. 2018-06-27 19:29:15 +00:00
vis DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vmstat Dynamically allocate IRQ ranges on x86. 2018-08-28 21:09:19 +00:00
vtfontcvt vtfontcvt: whitespace cleanup 2019-02-06 18:50:48 +00:00
w General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
wall Add RFC 5424 syslog message output to syslogd. 2018-04-15 08:34:16 +00:00
wc s/caph_enter_capser/caph_enter_casper/g 2018-11-12 18:43:51 +00:00
what General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
whereis Silence Clang Scan warnings regarding the use of strcp(). 2019-01-24 18:39:45 +00:00
which various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
who various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
whois General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
write Remove extraneous setutxent() calls in write(1). 2019-01-23 20:02:17 +00:00
xargs userland: Fix several typos and minor errors 2017-12-27 03:23:01 +00:00
xinstall install(1): Fix relative path calculation with partial common dest/src 2019-01-31 05:20:11 +00:00
xo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
xohtml Import libxo-0.9.0: 2018-05-23 01:20:31 +00:00
xolint
xopo
xstr General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
xz DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
xzdec DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
yacc DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
yes Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
ypcat various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypmatch various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypwhich various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zstd Update to Zstandard 1.3.8 2018-12-29 21:18:01 +00:00
Makefile Move trim(1) from usr.bin to usr.sbin to become trim(8). 2018-11-29 16:08:16 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64