Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_inet_sys_rcv_skb

Proto:static int selinux_inet_sys_rcv_skb(struct net *ns, int ifindex, char *addrp, u16 family, unsigned int peer_sid, struct common_audit_data *ad)

Type:int

Parameter:

TypeParameterName
struct net *ns
intifindex
char *addrp
u16family
unsigned intpeer_sid
struct common_audit_data *ad
4949  err = sel_netif_sid(ns, ifindex, & if_sid)
4950  If err Then Return err
4952  err = avc_has_perm - Check permissions and perform any appropriate auditing
4955  If err Then Return err
4958  err = sel_netnode_sid(addrp, family, & node_sid)
4959  If err Then Return err
4961  Return avc_has_perm - Check permissions and perform any appropriate auditing
Caller
NameDescribe
selinux_socket_sock_rcv_skb