函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:selinux_socket_unix_may_send

函数原型:static int selinux_socket_unix_may_send(struct socket *sock, struct socket *other)

返回类型:int

参数:

类型参数名称
struct socket *sock
struct socket *other
4927  ssec等于sk_security
4928  osec等于sk_security
4930  struct lsm_network_audit net = {0, }
4932  type等于LSM_AUDIT_DATA_NET
4933  net等于net
4934  sk等于sk
4936  返回:avc_has_perm - Check permissions and perform any appropriate auditing