Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kallsyms_open

Proto:static int kallsyms_open(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
672  iter = __seq_open_private(file, & kallsyms_op, size of iter )
673  If Not iter Then Return -ENOMEM
675  reset_iter(iter, 0)
677  show_value = 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
678  Return 0