This page looks best with JavaScript enabled

linux security module

 ·  ☕ 1 min read

LSM_HOOK_INITcall_int_hook是linux kernel 的macro負責處理

舉例ptrace安全處理

security_ptrace_access_check

call_int_hook

LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check)

ftrace ptrace attach resault

1
2
3
cap_ptrace_access_check <-- security_ptrace_access_check
yama_ptrace_access_check <-- security_ptrace_access_check
apparmor_ptrace_access_check <-- security_ptrace_access_check
Share on

呂奕珣
WRITTEN BY
呂奕珣
SDN ML FINTECH HFT