Files
kernel_linux_common_modules/memory_security/include/jit_process.h
T
carmincol f21b8491ec Init
Signed-off-by: carmincol <changchen5@huawei.com>
Change-Id: I45b71b20874d18cdb1a31a1038e1456f0a03d065
Signed-off-by: carmincol <changchen5@huawei.com>
2023-12-09 18:56:41 +08:00

20 lines
563 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*/
#ifndef _JIT_PROCESS_H
#define _JIT_PROCESS_H
#include "jit_space_list.h"
struct result_of_find_process {
struct rb_node **node, *parent;
struct list_head *head;
};
struct result_of_find_process find_process_jit_space(struct rb_root *root, int pid);
struct list_head *update_process_jit_space(struct rb_root *root, int pid, unsigned long cookie, int *err);
struct jit_process *delete_process_jit_space(struct rb_root *root, int pid);
#endif // _JIT_PROCESS_H