Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\network.c Create Date:2022-07-28 19:45:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_kernel_service - Check whether I'm kernel service or not.* Returns true if I'm kernel service, false otherwise.

Proto:static bool tomoyo_kernel_service(void)

Type:bool

Parameter:Nothing

616  Return uaccess_kernel()
Caller
NameDescribe
tomoyo_sock_familymoyo_sock_family - Get socket's family.*@sk: Pointer to "struct sock".* Returns one of PF_INET, PF_INET6, PF_UNIX or 0.