Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_audit_net_log - Audit network log.*@r: Pointer to "struct tomoyo_request_info".*@family: Name of socket family ("inet" or "unix").*@protocol: Name of protocol in @family.*@operation: Name of socket operation.*@address: Name of address.

Proto:static int tomoyo_audit_net_log(struct tomoyo_request_info *r, const char *family, const u8 protocol, const u8 operation, const char *address)

Type:int

Parameter:

TypeParameterName
struct tomoyo_request_info *r
const char *family
const u8protocol
const u8operation
const char *address
367  Return moyo_supervisor - Ask for the supervisor's decision
Caller
NameDescribe
tomoyo_audit_inet_logmoyo_audit_inet_log - Audit INET network log.*@r: Pointer to "struct tomoyo_request_info".* Returns 0 on success, negative value otherwise.
tomoyo_audit_unix_logmoyo_audit_unix_log - Audit UNIX network log.*@r: Pointer to "struct tomoyo_request_info".* Returns 0 on success, negative value otherwise.