diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-03-18 13:35:11 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-18 13:35:11 +0100 |
| commit | 61f9c92f3a465025d2b9d91f429aaec968aeaa2a (patch) | |
| tree | 5a39a30d81fcf123c62bbb86cb4df0beed7f0ab4 /sys/linux/gen/amd64.go | |
| parent | 13026d10f09f0e801c342e6c009ff580d49b894b (diff) | |
sys/linux: restrict SYSLOG_ACTION_CONSOLE_LEVEL
Fuzzer must not mess with console, turn it on/off, change log level, etc.
Otherwise it turns off kernel output on console.
Diffstat (limited to 'sys/linux/gen/amd64.go')
| -rw-r--r-- | sys/linux/gen/amd64.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 3cb5e48b7..cadc8c817 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -39741,7 +39741,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "info", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, }}, {NR: 103, Name: "syslog", CallName: "syslog", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "syslog_cmd", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 7, 6, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "syslog_cmd", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 9, 10}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, }}, @@ -45894,6 +45894,7 @@ var consts_amd64 = []ConstValue{ {Name: "SYNC_FILE_RANGE_WRITE", Value: 2}, {Name: "SYSLOG_ACTION_CLEAR", Value: 5}, {Name: "SYSLOG_ACTION_CLOSE"}, + {Name: "SYSLOG_ACTION_CONSOLE_LEVEL", Value: 8}, {Name: "SYSLOG_ACTION_CONSOLE_OFF", Value: 6}, {Name: "SYSLOG_ACTION_CONSOLE_ON", Value: 7}, {Name: "SYSLOG_ACTION_OPEN", Value: 1}, @@ -48350,4 +48351,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "1b83c687dd66fb52ff98e92e84b0de9a91d3a769" +const revision_amd64 = "e2ace21303f7bc2a5b8faae08d0cf9ab50ccc8a9" |
