From e389cde2d93b0d51985b8d35930a16f7d3384e55 Mon Sep 17 00:00:00 2001 From: "QCQCQC@Ubuntu" <1220204124@zust.edu.cn> Date: Mon, 7 Apr 2025 19:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E4=BD=99=E7=9A=84include?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 3 ++- execve_intercept.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7aaec4c..2e29463 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "*.wxss": "css", "*.wxs": "javascript", "*.json": "jsonc", - "string.h": "c" + "string.h": "c", + "shm.h": "c" } } \ No newline at end of file diff --git a/execve_intercept.c b/execve_intercept.c index 64c8ca6..f4dbf88 100644 --- a/execve_intercept.c +++ b/execve_intercept.c @@ -3,7 +3,6 @@ #include #include // 添加 errno 相关定义 #include -#include // 添加 fcntl 相关定义 #include #include // 添加 SIGCHLD 相关定义 #include // 引入 bool 类型 @@ -17,7 +16,6 @@ #include #include #include -#include #ifdef DEBUG