函数逻辑报告 | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-27 20:28:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:check_nnp_nosuid
函数原型:static int check_nnp_nosuid(const struct linux_binprm *bprm, const struct task_security_struct *old_tsec, const struct task_security_struct *new_tsec)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const struct linux_binprm * | bprm | |
| const struct task_security_struct * | old_tsec | |
| const struct task_security_struct * | new_tsec | 
| 2280 | nosuid等于非mnt_may_suid(mnt) | 
| 2287 | 如果 current SID 恒等于 current SID 则返回:0 | 
| 2296 | 如果selinux_policycap_nnp_nosuid_transition()则 | 
| 2297 | av等于0 | 
| 2298 | 如果nnp则av或等于PROCESS2__NNP_TRANSITION | 
| 2300 | 如果nosuid则av或等于PROCESS2__NOSUID_TRANSITION | 
| 2305 | 如果非rc则返回:0 | 
| 2314 | rc等于security_bounded_transition( & selinux_state, current SID , current SID ) | 
| 2316 | 如果非rc则返回:0 | 
| 2326 | 返回:负EACCES | 
| 名称 | 描述 | 
|---|---|
| selinux_bprm_set_creds | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |