Function report |
Source Code:kernel\sys.c |
Create Date:2022-07-28 09:19:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns true if current's euid is same as p's uid or euid,* or has CAP_SYS_NICE to p's user_ns.* Called with rcu_read_lock, creds are safe
Proto:static bool set_one_prio_perm(struct task_struct *p)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p |
| 160 | If uid_eq( real UID of the task , effective UID of the task ) || uid_eq( effective UID of the task , effective UID of the task ) Then Return true |
| 163 | If ns_capable( user_ns the caps and keyrings are relative to. , Allow setting cpu affinity on other processes ) Then Return true |
| 165 | Return false |
| Name | Describe |
|---|---|
| set_one_prio | set the priority of a task* - the caller must hold the RCU read lock |
| 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 |