函数逻辑报告 |
Source Code:kernel\seccomp.c |
Create Date:2022-07-27 12:50:48 |
Last Modify:2022-05-19 16:58:48 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:seccomp_assign_mode
函数原型:static inline void seccomp_assign_mode(struct task_struct *task, unsigned long seccomp_mode, unsigned long flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果flags按位与SECCOMP_FILTER_FLAG_SPEC_ALLOW的值恒等于0则arch_seccomp_spec_mitigate(task) |
312 | Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |