函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:proc_key_users_show

函数原型:static int proc_key_users_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
303  _p等于v
304  user等于rb_entry(_p, structkey_user, node)
305  maxkeys等于如果uid_eq(uid, GLOBAL_ROOT_UID)则's key count quota 否则general key count quota
307  maxbytes等于如果uid_eq(uid, GLOBAL_ROOT_UID)则's key space quota 否则general key space quota
310  seq_printf(m, "%5u: %5d %d/%d %d/%d %d/%d\n", m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid., _read - get a refcount's value*@r: the refcount* Return: the refcount's value, atomic_read( & umber of keys ), atomic_read( & umber of instantiated keys ), umber of keys allocated to this user , maxkeys, umber of bytes allocated to this user , maxbytes)
320  返回:0