Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_profile - Find a profile.*@ns: Pointer to "struct tomoyo_policy_namespace".*@profile: Profile number to find.* Returns pointer to "struct tomoyo_profile".

Proto:struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns, const u8 profile)

Type:struct tomoyo_profile

Parameter:

TypeParameterName
const struct tomoyo_policy_namespace *ns
const u8profile
538  ptr = Profile table. Memory is allocated as needed. [profile]
540  If Not ptr Then ptr = tomoyo_null_profile
542  Return ptr
Caller
NameDescribe
tomoyo_get_modemoyo_get_mode - Get MAC mode.*@ns: Pointer to "struct tomoyo_policy_namespace".*@profile: Profile number.*@index: Index number of functionality.* Returns mode.
tomoyo_domain_quota_is_okmoyo_domain_quota_is_ok - Check for domain's quota.*@r: Pointer to "struct tomoyo_request_info".* Returns true if the domain is not exceeded quota, false otherwise.* Caller holds tomoyo_read_lock().