mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-12 06:50:31 +00:00
sys/akaros: disable init_arsc syscall
It unconditionally crashes kernel now.
This commit is contained in:
parent
58293c9eb3
commit
7cfcfa6a73
@ -68,8 +68,8 @@ CONFIG_BETTER_BACKTRACE=y
|
||||
#
|
||||
# Misc/Old Options
|
||||
#
|
||||
CONFIG_ARSC_SERVER=y
|
||||
CONFIG_APPSERVER=y
|
||||
# CONFIG_ARSC_SERVER is not set
|
||||
# CONFIG_APPSERVER is not set
|
||||
# CONFIG_SERIAL_IO is not set
|
||||
# CONFIG_SINGLE_CORE is not set
|
||||
# CONFIG_BSD_ON_CORE0 is not set
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
#if defined(__x86_64__) || 0
|
||||
#define GOARCH "amd64"
|
||||
#define SYZ_REVISION "f6dc674ef2200959a7b03f71a281c2b60ebe0820"
|
||||
#define SYZ_REVISION "687c84c69215ebd90b47978898d8133e3aa86cbe"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER true
|
||||
#define SYZ_EXECUTOR_USES_SHMEM false
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 70
|
||||
#define SYZ_SYSCALL_COUNT 69
|
||||
const call_t syscalls[] = {
|
||||
{"abort_sysc", 31},
|
||||
{"abort_sysc_fd", 33},
|
||||
@ -36,7 +36,6 @@ const call_t syscalls[] = {
|
||||
{"getpcoreid", 7},
|
||||
{"getvcoreid", 8},
|
||||
{"halt_core", 27},
|
||||
{"init_arsc", 28},
|
||||
{"link", 112},
|
||||
{"llseek", 111},
|
||||
{"lstat", 106},
|
||||
|
@ -152,7 +152,6 @@ var syscalls_amd64 = []*Syscall{
|
||||
{NR: 27, Name: "halt_core", CallName: "halt_core", Args: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "usec", TypeSize: 8}}},
|
||||
}},
|
||||
{NR: 28, Name: "init_arsc", CallName: "init_arsc"},
|
||||
{NR: 112, Name: "link", CallName: "link", Args: []Type{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
|
||||
@ -446,7 +445,6 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "SYS_getpcoreid", Value: 7},
|
||||
{Name: "SYS_getvcoreid", Value: 8},
|
||||
{Name: "SYS_halt_core", Value: 27},
|
||||
{Name: "SYS_init_arsc", Value: 28},
|
||||
{Name: "SYS_link", Value: 112},
|
||||
{Name: "SYS_llseek", Value: 111},
|
||||
{Name: "SYS_lstat", Value: 106},
|
||||
@ -510,4 +508,4 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "WUNTRACED", Value: 2},
|
||||
}
|
||||
|
||||
const revision_amd64 = "f6dc674ef2200959a7b03f71a281c2b60ebe0820"
|
||||
const revision_amd64 = "687c84c69215ebd90b47978898d8133e3aa86cbe"
|
||||
|
@ -79,7 +79,6 @@ provision(target_pid pid, res_type const[RES_CORES], res_val intptr)
|
||||
notify(target_pid pid, ev_type flags[event_type], u_msg ptr[in, event_msg])
|
||||
self_notify(vcoreid int32, ev_type flags[event_type], u_msg ptr[in, event_msg], priv bool32)
|
||||
halt_core(usec intptr)
|
||||
init_arsc()
|
||||
change_to_m()
|
||||
poke_ksched(target_pid pid, res_type const[0])
|
||||
abort_sysc(syscall intptr)
|
||||
@ -101,6 +100,9 @@ nmount(fd fd, onto_path ptr[in, filename], onto_l len[onto_path], lag flags[bind
|
||||
nunmount(src_path ptr[in, filename], src_l len[src_path], onto_path ptr[in, filename], onto_l len[onto_path])
|
||||
fd2path(fd fd, u_buf ptr[out, array[int8]], len len[u_buf])
|
||||
|
||||
# Depends on deprecated CONFIG_ARSC_SERVER.
|
||||
#init_arsc()
|
||||
|
||||
vmm_ctl$VMM_CTL_GET_EXITS(cmd const[VMM_CTL_GET_EXITS])
|
||||
vmm_ctl$VMM_CTL_SET_EXITS(cmd const[VMM_CTL_SET_EXITS], arg flags[vmm_exits])
|
||||
vmm_ctl$VMM_CTL_GET_FLAGS(cmd const[VMM_CTL_GET_FLAGS])
|
||||
|
@ -97,7 +97,6 @@ SYS_getcwd = 117
|
||||
SYS_getpcoreid = 7
|
||||
SYS_getvcoreid = 8
|
||||
SYS_halt_core = 27
|
||||
SYS_init_arsc = 28
|
||||
SYS_link = 112
|
||||
SYS_llseek = 111
|
||||
SYS_lstat = 106
|
||||
|
Loading…
x
Reference in New Issue
Block a user