Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:LSM hook implementation that checks and/or returns the xfrm sid for the* incoming packet.

Proto:int selinux_xfrm_decode_session(struct sk_buff *skb, unsigned int *sid, int ckall)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
unsigned int *sid
intckall
263  If (skb == NULL) Then
264  sid = unspecified SID
265  Return 0
267  Return selinux_xfrm_skb_sid_ingress(skb, sid, ckall)