Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define TRACE_SYSTEM avc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #if !defined(_TRACE_HOOK_AVC_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _TRACE_HOOK_AVC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * Following tracepoints are not exported in tracefs and provide a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * mechanism for vendor modules to hook and extend functionality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct avc_node;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) DECLARE_HOOK(android_vh_selinux_avc_insert,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	TP_PROTO(const struct avc_node *node),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	TP_ARGS(node));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) DECLARE_HOOK(android_vh_selinux_avc_node_delete,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	TP_PROTO(const struct avc_node *node),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	TP_ARGS(node));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) DECLARE_HOOK(android_vh_selinux_avc_node_replace,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	TP_PROTO(const struct avc_node *old, const struct avc_node *new),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	TP_ARGS(old, new));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) DECLARE_HOOK(android_vh_selinux_avc_lookup,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	TP_PROTO(const struct avc_node *node, u32 ssid, u32 tsid, u16 tclass),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	TP_ARGS(node, ssid, tsid, tclass));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #endif /* _TRACE_HOOK_AVC_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #include <trace/define_trace.h>