函数逻辑报告 |
Source Code:security\safesetid\lsm.c |
Create Date:2022-07-27 21:50:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Compute a decision for a transition from @src to @dst under the active* policy.
函数原型:static enum sid_policy_type setuid_policy_lookup(kuid_t src, kuid_t dst)
返回类型:enum sid_policy_type
参数:
类型 | 参数 | 名称 |
---|---|---|
kuid_t | src | |
kuid_t | dst |
60 | 返回:result |
名称 | 描述 |
---|---|
safesetid_security_capable | |
uid_permitted_for_cred | Check whether a caller with old credentials @old is allowed to switch to* credentials that contain @new_uid. |
safesetid_task_fix_setuid | Check whether there is either an exception for user under old cred struct to* set*uid to user under new cred struct, or the UID transition is allowed (by* Linux set*uid rules) even without CAP_SETUID. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |