函数逻辑报告 | 
Source Code:kernel\seccomp.c | 
Create Date:2022-07-27 12:50:59 | 
| Last Modify:2022-05-19 16:58:48 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Common entry point for both prctl and syscall.
函数原型:static long do_seccomp(unsigned int op, unsigned int flags, void __user *uargs)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | op | |
| unsigned int | flags | |
| void __user * | uargs | 
| 1411 | 当:op恒等于SECCOMP_SET_MODE_FILTER | 
| 1412 | 返回:seccomp_set_mode_filter(flags, uargs) | 
| 1413 | 当:op恒等于SECCOMP_GET_ACTION_AVAIL | 
| 1417 | 返回:seccomp_get_action_avail(uargs) | 
| 1418 | 当:op恒等于SECCOMP_GET_NOTIF_SIZES | 
| 1422 | 返回:seccomp_get_notif_sizes(uargs) | 
| 1423 | 默认 | 
| 1424 | 返回:负EINVAL | 
| 名称 | 描述 | 
|---|---|
| prctl_set_seccomp | prctl_set_seccomp: configures current->seccomp.mode*@seccomp_mode: requested mode to use*@filter: optional struct sock_fprog for use with SECCOMP_MODE_FILTER* Returns 0 on success or -EINVAL on failure. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |