Function report | 
Source Code:block\ioprio.c | 
Create Date:2022-07-28 17:21:43 | 
| Last Modify:2020-03-17 23:21:05 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set_task_ioprio
Proto:int set_task_ioprio(struct task_struct *task, int ioprio)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | task | |
| int | ioprio | 
| 40 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() | 
| 44 | If Not uid_eq( real UID of the task , effective UID of the task ) && Not uid_eq( real UID of the task , real UID of the task ) && Not Check operation authority Then | 
| 47 | Return -EPERM | 
| 51 | err = security_task_setioprio(task, ioprio) | 
| 56 | If ioc Then | 
| 61 | Return err | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE3 | 
| 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  |