函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlabel.h Create Date:2022-07-27 20:19:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lbl_secattr_free - Frees a netlbl_lsm_secattr struct*@secattr: the struct to free* Description:* Frees @secattr including all of the internal buffers.

函数原型:static inline void netlbl_secattr_free(struct netlbl_lsm_secattr *secattr)

返回类型:void

参数:

类型参数名称
struct netlbl_lsm_secattr *secattr
395  lbl_secattr_destroy - Clears a netlbl_lsm_secattr struct*@secattr: the struct to clear* Description:* Destroys the @secattr struct, including freeing all of the internal buffers.* The struct must be reset with a call to netlbl_secattr_init() before reuse.
396  释放内存
调用者
名称描述
selinux_netlbl_sock_genattrselinux_netlbl_sock_genattr - Generate the NetLabel socket secattr*@sk: the socket* Description:* Generate the NetLabel security attributes for a socket, making full use of* the socket's attribute cache. Returns a pointer to the security attributes
selinux_netlbl_sk_security_freeselinux_netlbl_sk_security_free - Free the NetLabel fields*@sksec: the sk_security_struct* Description:* Free all of the memory in the NetLabel fields of a sk_security_struct.