Function report |
Source Code:security\smack\smack.h |
Create Date:2022-07-28 19:19:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_of_task_struct
Proto:static inline struct smack_known *smk_of_task_struct(const struct task_struct *t)
Type:struct smack_known
Parameter:
Type | Parameter | Name |
---|---|---|
const struct task_struct * | t |
414 | Return skp |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |