diff options
author | Xiaotian Wu <wuxiaotian@loongson.cn> | 2022-10-23 14:36:42 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-02-18 22:07:24 -0500 |
commit | 315f7b9ec6d8992035a2c0f652949ee34843db32 (patch) | |
tree | e9a26867f492261b1c88b854636694777032ff1d /tests/06-sim-actions.c | |
parent | b9633de506eec837a9f91d4e98dedf5101fd5227 (diff) | |
download | libseccomp-315f7b9ec6d8992035a2c0f652949ee34843db32.tar.gz |
tests: add fstatfs() syscall in the 06-sim-actions
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/06-sim-actions.c')
-rw-r--r-- | tests/06-sim-actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/06-sim-actions.c b/tests/06-sim-actions.c index da636c9..56a60fd 100644 --- a/tests/06-sim-actions.c +++ b/tests/06-sim-actions.c @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) if (rc != 0) goto out; - rc = seccomp_rule_add(ctx, SCMP_ACT_KILL_PROCESS, SCMP_SYS(fstat), 0); + rc = seccomp_rule_add(ctx, SCMP_ACT_KILL_PROCESS, SCMP_SYS(fstatfs), 0); if (rc != 0) goto out; |