Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlabel.h Create Date:2022-07-28 18:46:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline void netlbl_secattr_free(struct netlbl_lsm_secattr *secattr)

Type:void

Parameter:

TypeParameterName
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  kfree(secattr)
Caller
NameDescribe
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.