函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Preparse a user defined key payload

函数原型:int user_preparse(struct key_preparsed_payload *prep)

返回类型:int

参数:

类型参数名称
struct key_preparsed_payload *prep
62  datalen等于Raw datalen
64  如果datalen小于等于0或datalen大于32767或非Raw data 则返回:负EINVAL
67  upayload等于开辟内存
68  如果非upayload则返回:负ENOMEM
72  Quota length for proposed payload 等于datalen
73  Raw data [0]等于upayload
74  length of this data 等于datalen
75  memcpy(actual data , Raw data , datalen)
76  返回:0