Function report | 
Source Code:kernel\seccomp.c | 
Create Date:2022-07-28 11:46:06 | 
| Last Modify:2022-05-19 16:58:48 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:seccomp_assign_mode
Proto:static inline void seccomp_assign_mode(struct task_struct *task, unsigned long seccomp_mode, unsigned long flags)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | task | |
| unsigned long | seccomp_mode | |
| unsigned long | flags | 
| 301 | assert_spin_locked( & siglock) | 
| 303 | mode = seccomp_mode | 
| 308 | smp_mb__before_atomic() | 
| 310 | If (flags & SECCOMP_FILTER_FLAG_SPEC_ALLOW) == 0 Then arch_seccomp_spec_mitigate(task) | 
| 312 | Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: | 
| Name | Describe | 
|---|---|
| seccomp_set_mode_strict | seccomp_set_mode_strict: internal function for setting strict seccomp* Once current->seccomp.mode is non-zero, it may not be changed.* Returns 0 on success or -EINVAL on failure. | 
| 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  |