Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_msg_queue_msgsnd - Smack access check for msg_queue*@isp: the object*@msg: unused*@target: unused*@type: unused*@mode: unused* Returns 0 if current has read and write access, error code otherwise

Proto:static int smack_msg_queue_msgrcv(struct kern_ipc_perm *isp, struct msg_msg *msg, struct task_struct *target, long type, int mode)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *isp
struct msg_msg *msg
struct task_struct *target
longtype
intmode
3216  Return smk_curacc_msq : helper to check if current has access on msq*@isp : the msq*@access : access requested* return 0 if current has access, error otherwise