Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\security.c Create Date:2022-07-28 18:40:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:security_shm_alloc

Proto:int security_shm_alloc(struct kern_ipc_perm *shp)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *shp
1803  rc = lsm_ipc_alloc - allocate a composite ipc blob*@kip: the ipc that needs a blob* Allocate the ipc blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated.
1805  If Value for the false possibility is greater at compile time(rc) Then Return rc
1807  rc = call_int_hook(shm_alloc_security, 0, shp)
1808  If Value for the false possibility is greater at compile time(rc) Then security_shm_free(shp)
1810  Return rc