Files
kernel_linux_common_modules/container_escape_detection/include/ced_detection.h
T
xiacong 35b430f47b 新增容器逃逸检测模块
Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: Ib9a158b9bf965bcf1cd28786c25a50fe718a6690
Signed-off-by: xiacong <xiacong4@huawei.com>
2023-11-17 14:49:48 +08:00

16 lines
386 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*/
#ifndef _CED_DETECTION_H
#define _CED_DETECTION_H
#include <linux/cred.h>
#include <linux/sched.h>
void detection_hook(struct task_struct *task);
void switch_task_namespaces_hook(const struct nsproxy *new);
void commit_creds_hook(const struct cred *new);
#endif /* _CED_DETECTION_H */