函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:32:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_inet_sys_rcv_skb

函数原型: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)

返回类型:int

参数:

类型参数名称
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  如果err则返回:err
4952  err等于avc_has_perm - Check permissions and perform any appropriate auditing
4955  如果err则返回:err
4958  err等于sel_netnode_sid(addrp, family, & node_sid)
4959  如果err则返回:err
4961  返回:avc_has_perm - Check permissions and perform any appropriate auditing
调用者
名称描述
selinux_socket_sock_rcv_skb