Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:has_capability_noaudit

Proto:static inline bool has_capability_noaudit(struct task_struct *t, int cap)

Type:bool

Parameter:

TypeParameterName
struct task_struct *t
intcap
226  Return true
Caller
NameDescribe
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