Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:proc_key_users_show

Proto:static int proc_key_users_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
303  _p = v
304  user = rb_entry(_p, structkey_user, node)
305  maxkeys = If uid_eq(uid, GLOBAL_ROOT_UID) Then 's key count quota Else general key count quota
307  maxbytes = If uid_eq(uid, GLOBAL_ROOT_UID) Then 's key space quota Else 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  Return 0