Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_close_control - close() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer".

Proto:void tomoyo_close_control(struct tomoyo_io_buffer *head)

Type:void

Parameter:

TypeParameterName
struct tomoyo_io_buffer *head
2764  If Type of this interface. == TOMOYO_QUERY && atomic_dec_and_test( & Number of "struct file" referring /sys/kernel/security/tomoyo/query* interface.) Then wake_up_all( & Wait queue for userspace -> kernel notification. )
2767  tomoyo_notify_gc(head, false)
Caller
NameDescribe
tomoyo_releasemoyo_release - close() for /sys/kernel/security/tomoyo/ interface.*@file: Pointer to "struct file".