Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n)

Type:struct rb_node

Parameter:

TypeParameterName
struct seq_file *p
struct rb_node *n
66  user_ns = seq_user_ns(p)
68  n = rb_next(n)
69  When n cycle
70  key = rb_entry(n, structkey, serial_node)
71  If kuid_has_mapping(user_ns, uid) Then Break
73  n = rb_next(n)
75  Return n
Caller
NameDescribe
proc_keys_next