1 // SPDX-License-Identifier: GPL-2.0-only 2 /* vendor_hook.c 3 * 4 * Copyright 2022 Google LLC 5 */ 6 7 #ifndef __GENKSYMS__ 8 #include "security.h" 9 #endif 10 11 #define CREATE_TRACE_POINTS 12 #include <trace/hooks/vendor_hooks.h> 13 #include <linux/tracepoint.h> 14 #include <trace/hooks/selinux.h> 15 16 EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_selinux_is_initialized); 17 18 /* 19 * For type visibility 20 */ 21 struct selinux_state *GKI_struct_selinux_state; 22 EXPORT_SYMBOL_GPL(GKI_struct_selinux_state); 23