diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-02 19:47:32 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-02 19:47:32 +0200 |
| commit | 5b7e23bb61bbc406adfc5c89c0d02cb4fea9f7a4 (patch) | |
| tree | 0e0a8a45b5a82e13f9c6a70fcab20f3e8fb7a348 | |
| parent | 41beddb6da0f05efc541676cd98bdf29be7cdeda (diff) | |
sys/akaros: remove /dev/cons
Presumably it causes corrupted console output.
| -rw-r--r-- | executor/defs.h | 2 | ||||
| -rw-r--r-- | executor/syscalls.h | 2 | ||||
| -rw-r--r-- | sys/akaros/dev.txt | 2 | ||||
| -rw-r--r-- | sys/akaros/gen/amd64.go | 16 |
4 files changed, 2 insertions, 20 deletions
diff --git a/executor/defs.h b/executor/defs.h index a60c68b3d..c3165c558 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -5,7 +5,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "0dd50d0ed02c0d84fb296a804d96c2f758c18e11" +#define SYZ_REVISION "44785e2dac3e0f922841ab905a8c4e7838585083" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 9fb55019f..d027f88ed 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -47,8 +47,6 @@ const call_t syscalls[] = { {"openat$dev_caphash", 102}, {"openat$dev_capuse", 102}, {"openat$dev_config", 102}, - {"openat$dev_cons", 102}, - {"openat$dev_consctl", 102}, {"openat$dev_cputime", 102}, {"openat$dev_drivers", 102}, {"openat$dev_empty", 102}, diff --git a/sys/akaros/dev.txt b/sys/akaros/dev.txt index 9b4529fae..c06e47191 100644 --- a/sys/akaros/dev.txt +++ b/sys/akaros/dev.txt @@ -8,8 +8,6 @@ openat$dev_random(fromfd const[AT_FDCWD], path ptr[in, string["/dev/random"]], p openat$dev_urandom(fromfd const[AT_FDCWD], path ptr[in, string["/dev/urandom"]], path_l len[path], oflag const[O_RDONLY], mode const[0]) fd openat$dev_bintime(fromfd const[AT_FDCWD], path ptr[in, string["/dev/bintime"]], path_l len[path], oflag const[O_RDWR], mode const[0]) fd openat$dev_config(fromfd const[AT_FDCWD], path ptr[in, string["/dev/config"]], path_l len[path], oflag const[O_RDONLY], mode const[0]) fd -openat$dev_cons(fromfd const[AT_FDCWD], path ptr[in, string["/dev/cons"]], path_l len[path], oflag const[O_RDWR], mode const[0]) fd -openat$dev_consctl(fromfd const[AT_FDCWD], path ptr[in, string["/dev/consctl"]], path_l len[path], oflag const[O_RDWR], mode const[0]) fd openat$dev_killkid(fromfd const[AT_FDCWD], path ptr[in, string["/dev/killkid"]], path_l len[path], oflag const[O_RDWR], mode const[0]) fd openat$dev_cputime(fromfd const[AT_FDCWD], path ptr[in, string["/dev/cputime"]], path_l len[path], oflag const[O_RDONLY], mode const[0]) fd openat$dev_drivers(fromfd const[AT_FDCWD], path ptr[in, string["/dev/drivers"]], path_l len[path], oflag const[O_RDONLY], mode const[0]) fd diff --git a/sys/akaros/gen/amd64.go b/sys/akaros/gen/amd64.go index 2ea6c588a..52089bc66 100644 --- a/sys/akaros/gen/amd64.go +++ b/sys/akaros/gen/amd64.go @@ -263,20 +263,6 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "oflag", TypeSize: 8}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 102, Name: "openat$dev_cons", CallName: "openat", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fromfd", TypeSize: 8}}, Val: 18446744073709551516}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/cons\x00"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "path_l", TypeSize: 8}}, Buf: "path"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "oflag", TypeSize: 8}}, Val: 3}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 102, Name: "openat$dev_consctl", CallName: "openat", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fromfd", TypeSize: 8}}, Val: 18446744073709551516}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/consctl\x00"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "path_l", TypeSize: 8}}, Buf: "path"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "oflag", TypeSize: 8}}, Val: 3}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 102, Name: "openat$dev_cputime", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fromfd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/cputime\x00"}}}, @@ -1540,4 +1526,4 @@ var consts_amd64 = []ConstValue{ {Name: "WUNTRACED", Value: 2}, } -const revision_amd64 = "0dd50d0ed02c0d84fb296a804d96c2f758c18e11" +const revision_amd64 = "44785e2dac3e0f922841ab905a8c4e7838585083" |
