mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 09:41:18 -04:00
f21b8491ec
Signed-off-by: carmincol <changchen5@huawei.com> Change-Id: I45b71b20874d18cdb1a31a1038e1456f0a03d065 Signed-off-by: carmincol <changchen5@huawei.com>
22 lines
436 B
C
22 lines
436 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (c) 2023 Huawei Device Co., Ltd.
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include "jit_memory_module.h"
|
|
#include "hideaddr.h"
|
|
|
|
int __init mem_security_hooks_init(void)
|
|
{
|
|
hideaddr_header_prefix_lhck_register();
|
|
jit_memory_register_hooks();
|
|
return 0;
|
|
}
|
|
|
|
static void __exit mem_security_hooks_exit(void)
|
|
{
|
|
}
|
|
|
|
module_init(mem_security_hooks_init);
|
|
module_exit(mem_security_hooks_exit); |