Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:remove_notification

Proto:static void remove_notification(struct mqueue_inode_info *info)

Type:void

Parameter:

TypeParameterName
struct mqueue_inode_info *info
760  If notify_owner != NULL && sigev_notify == deliver via thread creation Then
762  set_cookie(notify_cookie, NOTIFY_REMOVED)
763  netlink_sendskb(notify_sock, notify_cookie)
765  put_pid(notify_owner)
766  put_user_ns(notify_user_ns)
767  notify_owner = NULL
768  notify_user_ns = NULL
Caller
NameDescribe
mqueue_flush_file
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.