函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_security_override_from_ctx - Set the security ID in a set of credentials*@new: The credentials to alter*@secctx: The LSM security context to generate the security ID from.* Set the LSM security ID in a set of credentials so that the subjective

函数原型:int set_security_override_from_ctx(struct cred *new, const char *secctx)

返回类型:int

参数:

类型参数名称
struct cred *new
const char *secctx
761  ret等于security_secctx_to_secid(secctx, strlen - Find the length of a string*@s: The string to be sized, & secid)
762  如果ret小于0则返回:ret
765  返回:set_security_override - Set the security ID in a set of credentials*@new: The credentials to alter*@secid: The LSM security ID to set* Set the LSM security ID in a set of credentials so that the subjective