From fa76878514ac086eb6e7fda4082a11b688f1b1a0 Mon Sep 17 00:00:00 2001 From: zzhcharmer Date: Thu, 31 Jul 2025 17:10:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dseccomp=20unittest=20custom?= =?UTF-8?q?=20=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zzhcharmer --- test/unittest/seccomp/seccomp_unittest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittest/seccomp/seccomp_unittest.cpp b/test/unittest/seccomp/seccomp_unittest.cpp index b1e79fd77..91ff298f0 100644 --- a/test/unittest/seccomp/seccomp_unittest.cpp +++ b/test/unittest/seccomp/seccomp_unittest.cpp @@ -758,8 +758,8 @@ public: int ret = CheckSyscall(APP, APP_CUSTOM, CheckGetpid, true); EXPECT_EQ(ret, 0); - // app custom blocklist - ret = CheckSyscall(APP, APP_CUSTOM, CheckSetuid, false); + // app custom allow blocklist + ret = CheckSyscall(APP, APP_CUSTOM, CheckSetuid, true); EXPECT_EQ(ret, 0); } #endif -- Gitee