syzkaller/sys/freebsd
Dmitry Vyukov 365fba2440 executor: surround the data mapping with PROT_NONE pages
Surround the main data mapping with PROT_NONE pages to make virtual address layout more consistent
across different configurations (static/non-static build) and C repros.
One observed case before: executor had a mapping above the data mapping (output region),
while C repros did not have that mapping above, as the result in one case VMA had next link,
while in the other it didn't and it caused a bug to not reproduce with the C repro.

The bug that reproduces only with the mapping above:
https://lkml.org/lkml/2020/4/17/819
2020-04-18 14:43:29 +02:00
..
gen sys/freebsd: add Capsicum system calls 2020-03-27 05:51:58 +01:00
capsicum_386.const sys/freebsd: add Capsicum system calls 2020-03-27 05:51:58 +01:00
capsicum_amd64.const sys/freebsd: add Capsicum system calls 2020-03-27 05:51:58 +01:00
capsicum.txt sys/freebsd: add Capsicum system calls 2020-03-27 05:51:58 +01:00
init.go executor: surround the data mapping with PROT_NONE pages 2020-04-18 14:43:29 +02:00
ipc_386.const sys/freebsd: add POSIX shared memory system calls 2020-03-27 05:51:58 +01:00
ipc_amd64.const sys/freebsd: add POSIX shared memory system calls 2020-03-27 05:51:58 +01:00
ipc.txt sys/freebsd: add POSIX shared memory system calls 2020-03-27 05:51:58 +01:00
pf_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02:00
pf_amd64.const sys/freebsd: include ioccom.h in pf.txt 2019-04-30 17:55:00 +02:00
pf.txt tools: add script that checks copyright headers 2020-02-18 16:05:10 +01:00
posix_fs_386.const sys/freebsd: add posix_fadvise(2) and posix_fallocate(2) 2020-03-27 05:51:58 +01:00
posix_fs_amd64.const sys/freebsd: add posix_fadvise(2) and posix_fallocate(2) 2020-03-27 05:51:58 +01:00
posix_fs.txt sys/freebsd: add posix_fadvise(2) and posix_fallocate(2) 2020-03-27 05:51:58 +01:00
posix_mm_386.const sys/freebsd: add FreeBSD-specific madvise(2) flags 2020-03-27 05:51:58 +01:00
posix_mm_amd64.const sys/freebsd: add FreeBSD-specific madvise(2) flags 2020-03-27 05:51:58 +01:00
posix_mm.txt sys/freebsd: add FreeBSD-specific madvise(2) flags 2020-03-27 05:51:58 +01:00
socket_386.const sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
socket_amd64.const sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
socket_inet6_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02:00
socket_inet6_amd64.const sys/freebsd: Add pf ioctl()s 2019-04-23 15:55:07 +02:00
socket_inet6.txt sys/freebsd: fix sockaddr structures 2019-06-23 13:16:30 +02:00
socket_inet_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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: fix mode for socket_inet_sctp.txt 2020-03-27 05:51:58 +01:00
socket_inet_tcp_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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_386.const sys/freebsd: Add support for fuzzing FreeBSD/i386 2019-05-29 14:28:59 +02: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/freebsd: fix sockaddr structures 2019-06-23 13:16:30 +02:00
socket_unix_386.const sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
socket_unix_amd64.const sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
socket_unix.txt sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
socket.txt sys/freebsd: add bindat(2) 2020-03-27 05:51:58 +01:00
sys_386.const sys/freebsd: add __realpathat system call 2020-03-27 05:51:58 +01:00
sys_amd64.const sys/freebsd: add __realpathat system call 2020-03-27 05:51:58 +01:00
sys.txt sys/freebsd: add __realpathat system call 2020-03-27 05:51:58 +01:00
vnet_386.const sys/freebsd/vnet.txt: replace IPPROTO_SEP by IPPROTO_DCCP (#1401) 2019-09-16 09:51:17 +02:00
vnet_amd64.const sys/freebsd/vnet.txt: replace IPPROTO_SEP by IPPROTO_DCCP (#1401) 2019-09-16 09:51:17 +02:00
vnet.txt sys/freebsd: fix ipv6_packet name 2020-01-12 14:01:45 +01:00