函数逻辑报告 |
Source Code:kernel\seccomp.c |
Create Date:2022-07-27 12:50:55 |
Last Modify:2022-05-19 16:58:48 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static long seccomp_set_mode_strict(void)
返回类型:long
参数:无
972 | spin_lock_irq( & siglock) |
974 | 如果非seccomp_may_assign_mode(seccomp_mode)则转到:out |
978 | disable_TSC() |
980 | seccomp_assign_mode(当前进程, seccomp_mode, 0) |
981 | ret等于0 |
983 | out : |
984 | spin_unlock_irq( & siglock) |
986 | 返回:ret |
名称 | 描述 |
---|---|
do_seccomp | Common entry point for both prctl and syscall. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |