函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-27 21:05:54
Last Modify:2020-03-18 09:15:18 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static __poll_t tomoyo_poll_query(struct file *file, poll_table *wait)

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
2189  如果非链表为空则返回:Epoll event masks 按位或EPOLLRDNORM
2191  poll_wait(file, & Wait queue for kernel -> userspace notification. , wait)
2192  如果非链表为空则返回:Epoll event masks 按位或EPOLLRDNORM
2194  返回:0