Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smk_ad_setfield_u_net_sk

Proto:static inline void smk_ad_setfield_u_net_sk(struct smk_audit_info *a, struct sock *sk)

Type:void

Parameter:

TypeParameterName
struct smk_audit_info *a
struct sock *sk
491  sk = sk
Caller
NameDescribe
smack_unix_stream_connectsmack_unix_stream_connect - Smack access on UDS*@sock: one sock*@other: the other sock*@newsk: unused* Return 0 if a subject with the smack of sock could access* an object with the smack of other, otherwise an error code
smack_unix_may_sendsmack_unix_may_send - Smack access on UDS*@sock: one socket*@other: the other socket* Return 0 if a subject with the smack of sock could access* an object with the smack of other, otherwise an error code