freebsd-dev/usr.bin
Ed Schouten 1f3bbfd875 Replace the CloudABI system call table by a machine generated version.
The type definitions and constants that were used by COMPAT_CLOUDABI64
are a literal copy of some headers stored inside of CloudABI's C
library, cloudlibc. What is annoying is that we can't make use of
cloudlibc's system call list, as the format is completely different and
doesn't provide enough information. It had to be synced in manually.

We recently decided to solve this (and some other problems) by moving
the ABI definitions into a separate file:

	https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt

This file is processed by a pile of Python scripts to generate the
header files like before, documentation (markdown), but in our case more
importantly: a FreeBSD system call table.

This change discards the old files in sys/contrib/cloudabi and replaces
them by the latest copies, which requires some minor changes here and
there. Because cloudabi.txt also enforces consistent names of the system
call arguments, we have to patch up a small number of system call
implementations to use the new argument names.

The new header files can also be included directly in FreeBSD kernel
space without needing any includes/defines, so we can now remove
cloudabi_syscalldefs.h and cloudabi64_syscalldefs.h. Patch up the
sources to include the definitions directly from sys/contrib/cloudabi
instead.
2016-03-24 21:47:15 +00:00
..
addr2line
alias
apply DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
ar DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
asa
at
atm
awk DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
banner
basename DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
bc DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
biff
bluetooth
bmake Update to bmake-20160315 2016-03-18 20:03:09 +00:00
brandelf
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
cap_mkdb Remove O_SYNC from the options passed to dbmopen(). 2016-02-19 08:42:13 +00:00
catman
chat
checknr
chkey
chpass
cksum
clang DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
cmp DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
col DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
colcrt
colldef DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
colrm
column
comm DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
compile_et DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
compress
cpio DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
cpuset
csplit
ctags
ctlstat
cut DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
cxxfilt
dc
dirname DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
dpv Bump copyright 2016-01-27 00:03:43 +00:00
drill
dtc
du
ee
elf2aout
elfcopy DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
elfdump elfdump: handle STT_SPARC_REGISTER 2016-01-25 04:22:01 +00:00
enigma
env
expand
factor
false
fetch Update fetch.1 and fetch.3 to reflect libfetch's actual use of CA bundles 2016-03-19 11:55:21 +00:00
file
file2c DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
find DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
finger Do not truncate office phones in finger's summary listing 2016-03-14 22:20:22 +00:00
fmt
fold
fortune
from
fstat
fsync
ftp
gcore
gencat
getconf DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
getent
getopt
gprof
grdc
grep Fix a bug in bsdgrep that caused the program to hang in a tight loop for 2016-03-13 14:53:12 +00:00
gzip DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
head
hesinfo
hexdump Fix a bug that caused nothing to be skipped when skipping exactly the 2016-02-14 14:23:56 +00:00
host
iconv
id
ident DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
indent
ipcrm
ipcs
iscsictl DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
join DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
jot DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
kdump Fix reporting of the CloudABI ABI in kdump. 2016-03-09 18:38:30 +00:00
keylogin
keylogout
killall
ktrace
ktrdump
lam
last
lastcomm DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
ldd We don't support a.out executables on RISC-V. 2016-01-24 15:15:57 +00:00
leave
less
lessecho
lesskey
lex DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
limits Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add 2016-03-12 14:54:34 +00:00
locale
localedef localedef(1): minor sorting to match Illumos. 2016-03-20 03:27:06 +00:00
locate
lock
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4 DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
mail Fix naive use of ftell(3). 2016-02-16 21:39:19 +00:00
makewhatis Fix installation of makewhatis.local(1) since r283777. 2016-02-18 00:26:21 +00:00
man
mandoc
mesg
minigzip
ministat
mkcsmapper DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkcsmapper_static DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkdep
mkesdb DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkesdb_static DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkfifo
mkimg DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
mklocale DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkstr
mktemp
mkuzip In the de-duplication mode, when found matching md5 checksum also read 2016-03-13 21:09:08 +00:00
morse
msgs
mt
nc
ncal DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
netstat Print running TCP connection counts with TCP statistics. 2016-03-15 00:19:30 +00:00
newgrp
newkey
nfsstat
nice
nl
nm
nohup
numactl
number
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
pr
primes
printenv
printf DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
procstat Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
protect
quota
random
rctl
readelf
renice
rev
revoke
rlogin
rpcgen
rpcinfo
rs
rsh
rup
ruptime
rusers
rwall
rwho
script Record command exit status in the typescript file when running simple commands. 2016-03-08 18:05:23 +00:00
sed DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
send-pr
seq
setchannel
shar
showmount Make the autofs(5) -hosts map more robust, primarily to make it correctly 2016-03-23 12:13:53 +00:00
size
smbutil
sockstat
soelim DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
sort
split
ssh-copy-id
stat
stdbuf
strings
su
svn
systat Augment struct tcpstat with tcps_states[], which is used for book-keeping 2016-01-27 00:45:46 +00:00
tabs
tail
talk talk(1): Replace select(2) with poll(2) 2016-02-25 19:06:44 +00:00
tar DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
tcopy
tee
telnet
tests DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
tftp
time
timeout DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
tip
top DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
touch
tput
tr DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
true
truncate DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
truss Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
unvis
unzip
usbhidaction
usbhidctl
users
uudecode DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
uuencode DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
vacation DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
vgrind
vi
vis
vmstat
vtfontcvt vtfontcvt: support .hex fonts with characters beyond the Unicode BMP 2016-03-15 21:32:46 +00:00
w
wall
wc
what
whereis
which
who
whois Fix a regression in the .de and .dk whois special cases 2016-01-23 01:20:58 +00:00
write
xargs DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
xinstall
xlint DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
xo xo_config.h no longer in contrib, so -I's needed 2016-03-17 04:21:57 +00:00
xstr
xz
xzdec
yacc DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Obsolete mkulzma(8) and geom_uncompress(4), their functionality 2016-02-24 00:39:36 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64