函数逻辑报告 |
Source Code:security\smack\smack.h |
Create Date:2022-07-27 20:48:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_of_task_struct
函数原型:static inline struct smack_known *smk_of_task_struct(const struct task_struct *t)
返回类型:struct smack_known
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_struct * | t |
414 | 返回:skp |
名称 | 描述 |
---|---|
smack_ptrace_access_check | smack_ptrace_access_check - Smack approval on PTRACE_ATTACH*@ctp: child task pointer*@mode: ptrace attachment mode (PTRACE_MODE_*)* Returns 0 if access is OK, an error code otherwise* Do the capability checks. |
smk_curacc_on_task | smk_curacc_on_task - helper to log task related access*@p: the task object*@access: the access requested*@caller: name of the calling function for audit* Return 0 if access is permitted |
smack_task_getsecid | smack_task_getsecid - get the secid of the task*@p: the object task*@secid: where to put the result* Sets the secid to contain a u32 version of the smack label. |
smack_task_kill | smack_task_kill - Smack check on signal delivery*@p: the task object*@info: unused*@sig: unused*@cred: identifies the cred to use in lieu of current's* Return 0 if write access is permitted |
smack_task_to_inode | smack_task_to_inode - copy task smack into the inode blob*@p: task to copy from*@inode: inode to copy to* Sets the smack pointer in the inode security blob |
smack_getprocattr | smack_getprocattr - Smack process attribute access*@p: the object task*@name: the name of the attribute in /proc/.../attr*@value: where to put the result* Places a copy of the task Smack into value* Returns the length of the smack label or an error code |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |