Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:keyring_read_iterator

Proto:static int keyring_read_iterator(const void *object, void *data)

Type:int

Parameter:

TypeParameterName
const void *object
void *data
460  ctx = data
461  key = keyring_ptr_to_key(object)
464  kenter("{%s,%d},,{%zu/%zu}", name, key serial number , count, buflen)
467  If count >= buflen Then Return 1
470  ret = Write a simple value into user space( key serial number , buffer)
471  If ret < 0 Then Return ret
473  buffer++
474  count += size of key serial number
475  Return 0