blob: 3802e82332891613528b17e97f49447addb2ba49 [file] [log] [blame]
Todd Kjosb9ac3292022-09-21 21:36:04 +00001// 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
16EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_selinux_is_initialized);
17
18/*
19 * For type visibility
20 */
21struct selinux_state *GKI_struct_selinux_state;
22EXPORT_SYMBOL_GPL(GKI_struct_selinux_state);