Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:20 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check the target process has a UID that matches the current process's:
Proto:static bool check_same_owner(struct task_struct *p)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p |
4754 | 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.() |
4759 | match = uid_eq( effective UID of the task , effective UID of the task ) || uid_eq( effective UID of the task , real UID of the task ) |
4762 | Return match |
Name | Describe |
---|---|
__sched_setscheduler | |
sched_setaffinity |
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 |