1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2023 Huawei Device Co., Ltd. 4 */ 5 6 #ifndef _CED_PERMISSION_H 7 #define _CED_PERMISSION_H 8 9 #include <linux/cred.h> 10 #include <linux/sched.h> 11 12 void switch_task_namespaces_permission_hook(const struct nsproxy *new, int *ret); 13 14 #endif /* _CED_PERMISSION_H */