函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\capability.h Create Date:2022-07-27 06:41:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:has_capability_noaudit

函数原型:static inline bool has_capability_noaudit(struct task_struct *t, int cap)

返回类型:bool

参数:

类型参数名称
struct task_struct *t
intcap
226  返回:true
调用者
名称描述
restricted_pointer
kallsyms_show_valueWe show kallsyms information even to normal users if we've enabled* kernel profiling and are explicitly not paranoid (so kptr_restrict* is clear, and sysctl_perf_event_paranoid isn't set).* Otherwise, require CAP_SYSLOG (assuming kptr_restrict isn't set to
ima_match_rulesma_match_rules - determine whether an inode matches the policy rule