]> granicus.if.org Git - strace/commitdiff
tests: rename seccomp.test to prctl-seccomp-filter-v.test
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Apr 2016 15:16:30 +0000 (15:16 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 11 Apr 2016 15:16:30 +0000 (15:16 +0000)
* tests/.gitignore: Replace seccomp with prctl-seccomp-filter-v.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Replace seccomp.test with prctl-seccomp-filter-v.test.
* tests/seccomp.c: Rename to tests/prctl-seccomp-filter-v.c.
* tests/seccomp.test: Rename to tests/prctl-seccomp-filter-v.test.

tests/.gitignore
tests/Makefile.am
tests/prctl-seccomp-filter-v.c [moved from tests/seccomp.c with 98% similarity]
tests/prctl-seccomp-filter-v.test [moved from tests/seccomp.test with 52% similarity]

index 12b0c5336db5297f50a4c055557e2c7f808af98e..01b623624367343d08d970d324650ab6977c46a1 100644 (file)
@@ -100,6 +100,7 @@ personality
 pipe
 poll
 ppoll
+prctl-seccomp-filter-v
 prctl-seccomp-strict
 pread64-pwrite64
 preadv
@@ -127,7 +128,6 @@ sched_xetattr
 sched_xetparam
 sched_xetscheduler
 scm_rights
-seccomp
 seccomp-strict
 select
 sendfile
index 1e492f535e1d502db5c5ec5b86ff0cd38ad08834..95720154541d0fb742446611d5da6deac816a3b5 100644 (file)
@@ -149,6 +149,7 @@ check_PROGRAMS = \
        pipe \
        poll \
        ppoll \
+       prctl-seccomp-filter-v \
        prctl-seccomp-strict \
        pread64-pwrite64 \
        preadv \
@@ -176,7 +177,6 @@ check_PROGRAMS = \
        sched_xetparam \
        sched_xetscheduler \
        scm_rights \
-       seccomp \
        seccomp-strict \
        select \
        sendfile \
@@ -348,6 +348,7 @@ DECODER_TESTS = \
        pipe.test \
        poll.test \
        ppoll.test \
+       prctl-seccomp-filter-v.test \
        prctl-seccomp-strict.test \
        pread64-pwrite64.test \
        preadv-pwritev.test \
@@ -375,7 +376,6 @@ DECODER_TESTS = \
        sched_xetscheduler.test \
        scm_rights-fd.test \
        seccomp-strict.test \
-       seccomp.test \
        select.test \
        sendfile.test \
        sendfile64.test \
similarity index 98%
rename from tests/seccomp.c
rename to tests/prctl-seccomp-filter-v.c
index f8d1370e16790f5193d85b730ff1dbf93d2abbfa..cb70dac92af82bf92f5ce21b686b9e4c69cdf9d4 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Check verbose decoding of prctl PR_SET_SECCOMP SECCOMP_MODE_FILTER.
+ *
  * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
  * All rights reserved.
  *
similarity index 52%
rename from tests/seccomp.test
rename to tests/prctl-seccomp-filter-v.test
index 1c9579acd48ab7049f57a2b51128c1ed7b8ab463..84dfeab535bfbf907124f80bab63edb1dbcb453a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Check how SECCOMP_MODE_FILTER is decoded.
+# Check verbose decoding of prctl PR_SET_SECCOMP SECCOMP_MODE_FILTER.
 
 . "${srcdir=.}/init.sh"
 run_strace_match_diff -v -e trace=prctl