Function report | 
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 activity | Download SCCT | Chinese | 
Name:seccomp_log
Proto:static inline void seccomp_log(unsigned long syscall, long signr, unsigned int action, bool requested)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | syscall | |
| long | signr | |
| unsigned int | action | |
| bool | requested | 
| 638 | bool log = false | 
| 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 | 
| 660 | Break | 
| 661 | Case action == kill the process | 
| 662 | Default | 
| 672 | If Not log Then Return | 
| Name | Describe | 
|---|---|
| __secure_computing_strict | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |