Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\domain.c Create Date:2022-07-28 19:39:38
Last Modify:2022-05-23 20:14:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_last_word - Get last component of a domainname.*@name: Domainname to check.* Returns the last word of @domainname.

Proto:static const char *tomoyo_last_word(const char *name)

Type:char

Parameter:

TypeParameterName
const char *name
204  cp = strrchr - Find the last occurrence of a character in a string*@s: The string to be searched*@c: The character to search for
206  If cp Then Return cp + 1
208  Return name
Caller
NameDescribe
tomoyo_transition_typemoyo_transition_type - Get domain transition type