syzkaller/sys/freebsd
Mark Johnston 4fc2fa55ac sys/freebsd: avoid mangling syscall names
syz-extract was removing certain prefixes from syscall names, but this
caused some problems:
- freebsd* prefixes are for compatibility syscalls when the syscall ABI
  has changed.  For instance, we have both fstat() and
  freebsd11_fstat(), and it is desirable to fuzz them both.
- Stripping prefixes may leave us with undefined SYS_ constants.  This
  resulted in some test failures in pkg/csource, which emitted code
  referencing SYS_semctl when it should have been SYS___semctl.

Fix the problem by updating syscall descriptions to match the names
given by the FreeBSD kernel.  Add some new descriptions for
compatibility syscalls, fix the mknodat() description (dev_t is now 64
bits wide on FreeBSD), and remove mknod$loop, which appears to be
Linux-specific.
2019-03-07 19:46:55 +01:00
..
gen sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
init.go Makefile: don't compile all targets into target binaries 2018-08-02 19:07:22 +02:00
ipc_amd64.const sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
ipc.txt sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
posix_fs_amd64.const sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
posix_fs.txt sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
posix_mm_amd64.const sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
posix_mm.txt sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
socket_amd64.const sys/freebsd: Improve socket related tests for FreeBSD. 2018-12-08 11:33:41 +01:00
socket_inet6_amd64.const sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet6.txt sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet_amd64.const sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet_icmp_amd64.const sys/freebsd: remove linux specific include files for ICMP 2018-12-05 10:51:02 +00:00
socket_inet_icmp.txt sys/freebsd: remove linux specific include files for ICMP 2018-12-05 10:51:02 +00:00
socket_inet_sctp_amd64.const sys/freebsd: add SCTP syscalls 2019-01-16 18:12:07 +01:00
socket_inet_sctp.txt sys/freebsd: add SCTP syscalls 2019-01-16 18:12:07 +01:00
socket_inet_tcp_amd64.const sys/freebsd: improve TCP tests 2018-12-05 06:57:20 +00:00
socket_inet_tcp.txt sys/freebsd: improve TCP tests 2018-12-05 06:57:20 +00:00
socket_inet_udp_amd64.const sys/freebsd: improve udp tests 2018-12-04 14:15:42 +00:00
socket_inet_udp.txt sys/freebsd: improve udp tests 2018-12-04 14:15:42 +00:00
socket_inet_udplite_amd64.const sys/freebsd: add UDP-Lite descriptions 2018-12-03 13:52:09 +00:00
socket_inet_udplite.txt sys/freebsd: add UDP-Lite descriptions 2018-12-03 13:52:09 +00:00
socket_inet.txt sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_unix_amd64.const sys/freebsd: more syscall descriptions 2017-10-17 13:50:05 +02:00
socket_unix.txt pkg/compiler: add check that len does not refer to array with varlen elements 2017-11-28 14:55:21 +01:00
socket.txt sys/freebsd: fix socketpair usage 2018-12-09 15:31:32 +01:00
sys_amd64.const sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
sys.txt sys/freebsd: avoid mangling syscall names 2019-03-07 19:46:55 +01:00
vnet.txt executor: add support for tap interfaces on FreeBSD 2018-12-01 10:22:39 +00:00