Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kallsyms.c Create Date:2022-07-28 11:00:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:We 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

Proto:int kallsyms_show_value(void)

Type:int

Parameter:Nothing

651  Case kptr_restrict == 0
652  If kallsyms_for_perf() Then Return 1
655  Case kptr_restrict == 1
656  If has_capability_noaudit(current process, Allow configuring the kernel's syslog (printk behaviour) ) Then Return 1
659  Default
660  Return 0
Caller
NameDescribe
kallsyms_open