函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\msg.c Create Date:2022-07-27 18:17:32
Last Modify:2020-03-17 22:56:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ksys_msgsnd

函数原型:long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflg)

返回类型:long

参数:

类型参数名称
intmsqid
struct msgbuf __user *msgp
size_tmsgsz
intmsgflg
935  如果Careful: we have to cast the result to the type of the pointer* for sign reasons(mtype, & ype of message )则返回:负EFAULT
937  返回:do_msgsnd(msqid, mtype, message text , msgsz, msgflg)
调用者
名称描述
SYSCALL_DEFINE4
ksys_ipc