aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-15 16:52:52 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-15 17:35:31 +0100
commitb803944b58cdc273bc8da9d09d9902e3ffa99904 (patch)
tree5a77bb1bdf2df79d745dc8159c3b2fc76bf184b4 /sys
parentba92288dcf9d20a05400b79fe74e1af585eebcdc (diff)
prog: don't add fallback coverage after prctl
The same reason as with seccomp.
Diffstat (limited to 'sys')
-rw-r--r--sys/test/gen/64.go4
-rw-r--r--sys/test/test.txt1
-rw-r--r--sys/test/test_64.const1
3 files changed, 5 insertions, 1 deletions
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