kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
849 B
C
25 lines
849 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM sys
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
#if !defined(_TRACE_HOOK_SYS_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_SYS_H
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
|
|
struct task_struct;
|
|
DECLARE_HOOK(android_vh_syscall_prctl_finished,
|
|
TP_PROTO(int option, struct task_struct *task),
|
|
TP_ARGS(option, task));
|
|
DECLARE_HOOK(android_vh_security_audit_log_setid,
|
|
TP_PROTO(u32 type, u32 old_id, u32 new_id),
|
|
TP_ARGS(type, old_id, new_id));
|
|
|
|
DECLARE_RESTRICTED_HOOK(android_rvh_pr_set_vma_name_bypass,
|
|
TP_PROTO(struct mm_struct *mm, unsigned long addr, unsigned long size,
|
|
struct anon_vma_name *anon_name, int *error, bool *bypass),
|
|
TP_ARGS(mm, addr, size, anon_name, error, bypass), 1);
|
|
#endif
|
|
|
|
#include <trace/define_trace.h>
|