forked from luck/tmp_suning_uos_patched
18 lines
332 B
C
18 lines
332 B
C
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2020 Google LLC.
|
||
|
*/
|
||
|
|
||
|
#include <linux/filter.h>
|
||
|
#include <linux/bpf.h>
|
||
|
#include <linux/btf.h>
|
||
|
|
||
|
const struct bpf_prog_ops lsm_prog_ops = {
|
||
|
};
|
||
|
|
||
|
const struct bpf_verifier_ops lsm_verifier_ops = {
|
||
|
.get_func_proto = bpf_tracing_func_proto,
|
||
|
.is_valid_access = btf_ctx_access,
|
||
|
};
|