函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kallsyms.c Create Date:2022-07-27 12:01:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int kallsyms_show_value(void)

返回类型:int

参数:

651  :kptr_restrict恒等于0
652  如果kallsyms_for_perf()则返回:1
655  :kptr_restrict恒等于1
656  如果has_capability_noaudit(当前进程, Allow configuring the kernel's syslog (printk behaviour) )则返回:1
659  默认
660  返回:0
调用者
名称描述
kallsyms_open