Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_socket_unix_may_send

Proto:static int selinux_socket_unix_may_send(struct socket *sock, struct socket *other)

Type:int

Parameter:

TypeParameterName
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  Return avc_has_perm - Check permissions and perform any appropriate auditing