mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
ecb386fe6f
Currently when we get target consts with target.ConstMap["name"] during target initialization, we just get 0 for missing consts. This is error-prone as we can mis-type a const, or a const may be undefined only on some archs (as we have common unix code shared between several OSes). Check that all the consts are actually defined. The check detects several violations, to fix them: 1. move mremap to linux as it's only defined on linux 2. move S_IFMT to openbsd, as it's only defined and used on openbsd 3. define missing MAP_ANONYMOUS for freebsd and netbsd 4. fix extract for netbsd |
||
---|---|---|
.. | ||
gen | ||
fs_amd64.const | ||
fs.txt | ||
init.go | ||
ipc_amd64.const | ||
ipc.txt | ||
mm_amd64.const | ||
mm.txt | ||
socket_amd64.const | ||
socket_inet6_amd64.const | ||
socket_inet6.txt | ||
socket_inet_amd64.const | ||
socket_inet.txt | ||
socket_unix_amd64.const | ||
socket_unix.txt | ||
socket.txt | ||
sys_amd64.const | ||
sys.txt |