Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:21:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int smk_curacc_on_task(struct task_struct *p, int access, const char *caller)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
int | access | |
const char * | caller |
2045 | skp = smk_of_task_struct(p) |
2049 | smk_ad_setfield_u_tsk( & ad, p) |
2051 | rc = smk_bu_task(p, access, rc) |
2052 | Return rc |
Name | Describe |
---|---|
smack_task_setpgid | smack_task_setpgid - Smack check on setting pgid*@p: the task object*@pgid: unused* Return 0 if write access is permitted |
smack_task_getpgid | smack_task_getpgid - Smack access check for getpgid*@p: the object task* Returns 0 if current can read the object task, error code otherwise |
smack_task_getsid | smack_task_getsid - Smack access check for getsid*@p: the object task* Returns 0 if current can read the object task, error code otherwise |
smack_task_setnice | smack_task_setnice - Smack check on setting nice*@p: the task object*@nice: unused* Return 0 if write access is permitted |
smack_task_setioprio | smack_task_setioprio - Smack check on setting ioprio*@p: the task object*@ioprio: unused* Return 0 if write access is permitted |
smack_task_getioprio | smack_task_getioprio - Smack check on reading ioprio*@p: the task object* Return 0 if read access is permitted |
smack_task_setscheduler | smack_task_setscheduler - Smack check on setting scheduler*@p: the task object* Return 0 if read access is permitted |
smack_task_getscheduler | smack_task_getscheduler - Smack check on reading scheduler*@p: the task object* Return 0 if read access is permitted |
smack_task_movememory | smack_task_movememory - Smack check on moving memory*@p: the task object* Return 0 if write access is permitted |
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 |