From b803944b58cdc273bc8da9d09d9902e3ffa99904 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 15 Jan 2020 16:52:52 +0100 Subject: prog: don't add fallback coverage after prctl The same reason as with seccomp. --- sys/test/gen/64.go | 4 +++- sys/test/test.txt | 1 + sys/test/test_64.const | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/test/gen/64.go b/sys/test/gen/64.go index 5e0bdea01..20453ad98 100644 --- a/sys/test/gen/64.go +++ b/sys/test/gen/64.go @@ -1059,6 +1059,7 @@ var syscalls_64 = []*Syscall{ {Name: "mutate8", CallName: "mutate8", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a0", TypeSize: 8, IsOptional: true}}, ValuesStart: 100, ValuesPerProc: 4}, }}, + {Name: "prctl$PR_SET_SECCOMP", CallName: "prctl"}, {Name: "seccomp", CallName: "seccomp"}, {Name: "serialize0", CallName: "serialize0", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "a", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "serialize0_struct"}}}, @@ -1433,6 +1434,7 @@ var consts_64 = []ConstValue{ {Name: "SYS_mutate6"}, {Name: "SYS_mutate7"}, {Name: "SYS_mutate8"}, + {Name: "SYS_prctl"}, {Name: "SYS_seccomp"}, {Name: "SYS_serialize0"}, {Name: "SYS_serialize1"}, @@ -1440,4 +1442,4 @@ var consts_64 = []ConstValue{ {Name: "SYS_unsupported"}, } -const revision_64 = "70ed4d89f5c1baa13983ab0123304d124539e73f" +const revision_64 = "d0f62693719adf6dcc3c1b8507f98115b0e870a0" diff --git a/sys/test/test.txt b/sys/test/test.txt index 44ff228df..2bae67c1e 100644 --- a/sys/test/test.txt +++ b/sys/test/test.txt @@ -787,6 +787,7 @@ foo$arch_specific_const_as_array_size(a ptr[in, array[int8, ARCH_64_SPECIFIC_CON fallback$0() fd fallback$1(a fd) seccomp() +prctl$PR_SET_SECCOMP() # AUTO diff --git a/sys/test/test_64.const b/sys/test/test_64.const index f487af8fb..299b36219 100644 --- a/sys/test/test_64.const +++ b/sys/test/test_64.const @@ -16,6 +16,7 @@ SYS_test = 0 SYS_unsupported = 0 SYS_fallback = 0 SYS_seccomp = 0 +SYS_prctl = 0 IPPROTO_ICMPV6 = 58 IPPROTO_TCP = 6 -- cgit mrf-deployment