Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\seccomp.c Create Date:2022-07-28 11:46:08
Last Modify:2022-05-19 16:58:48 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seccomp_log

Proto:static inline void seccomp_log(unsigned long syscall, long signr, unsigned int action, bool requested)

Type:void

Parameter:

TypeParameterName
unsigned longsyscall
longsignr
unsigned intaction
boolrequested
638  bool log = false
641  Case action == allow
642  Break
643  Case action == disallow and force a SIGSYS
644  log = requested && seccomp_actions_logged & SECCOMP_LOG_TRAP
645  Break
646  Case action == urns an errno
647  log = requested && seccomp_actions_logged & SECCOMP_LOG_ERRNO
648  Break
649  Case action == pass to a tracer or disallow
650  log = requested && seccomp_actions_logged & SECCOMP_LOG_TRACE
651  Break
652  Case action == ifies userspace
653  log = requested && seccomp_actions_logged & SECCOMP_LOG_USER_NOTIF
654  Break
655  Case action == allow after logging
656  log = seccomp_actions_logged & SECCOMP_LOG_LOG
657  Break
658  Case action == kill the thread
659  log = seccomp_actions_logged & SECCOMP_LOG_KILL_THREAD
660  Break
661  Case action == kill the process
662  Default
663  log = seccomp_actions_logged & For use with seccomp_actions_logged
672  If Not log Then Return
675  audit_seccomp - record information about a seccomp action*@syscall: syscall number*@signr: signal value*@code: the seccomp action* Record the information associated with a seccomp action. Event filtering for
Caller
NameDescribe
__secure_computing_strict