Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:36:43
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_poll_query - poll() for /sys/kernel/security/tomoyo/query.*@file: Pointer to "struct file".*@wait: Pointer to "poll_table".* Returns EPOLLIN | EPOLLRDNORM when ready to read, 0 otherwise.

Proto:static __poll_t tomoyo_poll_query(struct file *file, poll_table *wait)

Type:__poll_t

Parameter:

TypeParameterName
struct file *file
poll_table *wait
2189  If Not list_empty - tests whether a list is empty*@head: the list to test. Then Return Epoll event masks | EPOLLRDNORM
2191  poll_wait(file, & Wait queue for kernel -> userspace notification. , wait)
2192  If Not list_empty - tests whether a list is empty*@head: the list to test. Then Return Epoll event masks | EPOLLRDNORM
2194  Return 0