Function report |
Source Code:include\linux\capability.h |
Create Date:2022-07-28 05:39:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:has_ns_capability
Proto:static inline bool has_ns_capability(struct task_struct *t, struct user_namespace *ns, int cap)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | t | |
struct user_namespace * | ns | |
int | cap |
222 | Return true |
Name | Describe |
---|---|
cap_ptrace_traceme | ap_ptrace_traceme - Determine whether another process may trace the current*@parent: The task proposed to be the tracer* If parent is in the same or an ancestor user_ns and has all current's* capabilities, then ptrace access is allowed |
yama_ptrace_traceme | yama_ptrace_traceme - validate PTRACE_TRACEME calls*@parent: task that will become the ptracer of the current task* Returns 0 if following the ptrace is allowed, -ve on error. |
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 |