1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2023 Huawei Device Co., Ltd. 4 */ 5 6 #include <linux/module.h> 7 #include "jit_memory_module.h" 8 #include "hideaddr.h" 9 mem_security_hooks_init(void)10int __init mem_security_hooks_init(void) 11 { 12 hideaddr_header_prefix_lhck_register(); 13 jit_memory_register_hooks(); 14 return 0; 15 } 16 mem_security_hooks_exit(void)17static void __exit mem_security_hooks_exit(void) 18 { 19 } 20 21 module_init(mem_security_hooks_init); 22 module_exit(mem_security_hooks_exit);