函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kallsyms_open

函数原型:static int kallsyms_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
672  iter等于__seq_open_private(file, & kallsyms_op, iter的长度)
673  如果非iter则返回:负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  返回:0