mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-28 03:59:59 -04:00
35b430f47b
Signed-off-by: xiacong <xiacong4@huawei.com> Change-Id: Ib9a158b9bf965bcf1cd28786c25a50fe718a6690 Signed-off-by: xiacong <xiacong4@huawei.com>
16 lines
386 B
C
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 */ |