Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tomoyo_find_domain_by_qid

Proto:static struct tomoyo_domain_info *tomoyo_find_domain_by_qid(unsigned int serial)

Type:struct tomoyo_domain_info

Parameter:

TypeParameterName
unsigned intserial
2164  struct tomoyo_domain_info * domain = NULL
2166  spin_lock( & Lock for manipulating tomoyo_query_list. )
2168  If serial != serial Then Continue
2170  domain = domain
2171  Break
2173  spin_unlock( & Lock for manipulating tomoyo_query_list. )
2174  Return domain
Caller
NameDescribe
tomoyo_select_domainmoyo_select_domain - Parse select command.*@head: Pointer to "struct tomoyo_io_buffer".*@data: String to parse.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().