Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracingpolicy: add observer arm/disarm kprobes operations
Output: "function_name": "disarm_kprobe_ftrace", "args": [ { "kprobe_arg": { "offset": 0, "symbol": "__pfx_security_bprm_committing_creds" } } ], "action": "KPROBE_ACTION_POST", "policy_name": "kprobes-observe", "return_action": "KPROBE_ACTION_POST", "message": "Disable a kprobe (kernel probe)" "function_name": "disarm_kprobe_ftrace", "args": [ { "kprobe_arg": { "offset": 0, "symbol": "__pfx_wake_up_new_task" } } ], "action": "KPROBE_ACTION_POST", "policy_name": "kprobes-observe", "return_action": "KPROBE_ACTION_POST", "message": "Disable a kprobe (kernel probe)" "function_name": "disarm_kprobe_ftrace", "args": [ { "kprobe_arg": { "offset": 0, "symbol": "__pfx_acct_process" } } ], "action": "KPROBE_ACTION_POST", "policy_name": "kprobes-observe", "return_action": "KPROBE_ACTION_POST", "message": "Disable a kprobe (kernel probe)" Signed-off-by: Djalal Harouni <tixxdz@gmail.com>
- Loading branch information