函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Implement "/proc/keys" to provide a list of the keys on the system that* grant View permission to the caller.

函数原型:static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n)

返回类型:struct rb_node

参数:

类型参数名称
struct seq_file *p
struct rb_node *n
66  user_ns等于seq_user_ns(p)
68  n等于rb_next(n)
69 n循环
70  key等于rb_entry(n, structkey, serial_node)
71  如果kuid_has_mapping(user_ns, uid)则退出
73  n等于rb_next(n)
75  返回:n
调用者
名称描述
proc_keys_next