Function report | 
Source Code:security\smack\smack_access.c | 
Create Date:2022-07-28 19:25:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smk_tskacc - determine if a task has a specific access to an object*@tsp: a pointer to the subject's task*@obj_known: a pointer to the object's label entry*@mode: the access requested, in "MAY" format*@a : common audit data* This function checks the
Proto:int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, unsigned int mode, struct smk_audit_info *a)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_smack * | tsp | |
| struct smack_known * | obj_known | |
| unsigned int | mode | |
| struct smk_audit_info * | a | 
| 230 | If rc >= 0 Then | 
| 251 | out_audit : | 
| 257 | Return rc | 
| Name | Describe | 
|---|---|
| smack_file_open | smack_file_open - Smack dentry open processing*@file: the object* Set the security blob in the file structure.* Allow the open only if the task has read access. There are* many read operations (e.g. fstat) that you can do with an | 
| smk_curacc | smk_curacc - determine if current has a specific access to an object*@obj_known: a pointer to the object's Smack label entry*@mode: the access requested, in "MAY" format*@a : common audit data* This function checks the current subject label/object label | 
| smk_ptrace_rule_check | smk_ptrace_rule_check - helper for ptrace access*@tracer: tracer process*@tracee_known: label entry of the process that's about to be traced*@mode: ptrace attachment mode (PTRACE_MODE_*)*@func: name of the function that called us, used for audit* Returns | 
| 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  |