Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-28 16:52:18
Last Modify:2020-03-17 23:00:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mq_init_ns

Proto:int mq_init_ns(struct ipc_namespace *ns)

Type:int

Parameter:

TypeParameterName
struct ipc_namespace *ns
1591  mq_queues_count = 0
1592  mq_queues_max = POSIX Message Queue default values:* MIN_*: Lowest value an admin can set the maximum unprivileged limit to* DFLT_*MAX: Default values for the maximum unprivileged limits* DFLT_{MSG,MSGSIZE}: Default values used when the user doesn't supply* an attribute
1593  mq_msg_max = DFLT_MSGMAX
1594  mq_msgsize_max = DFLT_MSGSIZEMAX
1595  mq_msg_default = DFLT_MSG
1596  mq_msgsize_default = DFLT_MSGSIZE
1598  m = mq_create_mount(ns)
1599  If IS_ERR(m) Then Return PTR_ERR(m)
1601  mq_mnt = m
1602  Return 0
Caller
NameDescribe
init_mqueue_fs
create_ipc_ns