Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lbl_secattr_alloc - Allocate and initialize a netlbl_lsm_secattr struct*@flags: the memory allocation flags* Description:* Allocate and initialize a netlbl_lsm_secattr struct. Returns a valid* pointer on success, or NULL on failure.

Proto:static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags)

Type:struct netlbl_lsm_secattr

Parameter:

TypeParameterName
gfp_tflags
382  Return kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
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