函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:52:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_unix_stream_connect - Smack access on UDS*@sock: one sock*@other: the other sock*@newsk: unused* Return 0 if a subject with the smack of sock could access* an object with the smack of other, otherwise an error code
函数原型:static int smack_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sock * | sock | |
struct sock * | other | |
struct sock * | newsk |
3585 | ssp等于sk_security |
3586 | osp等于sk_security |
3587 | nsp等于sk_security |
3589 | rc等于0 |
3595 | skp等于 outbound label |
3596 | okp等于 inbound label |
3598 | smk_ad_init_net( & ad, __func__, LSM_AUDIT_DATA_NET, & net) |
3599 | smk_ad_setfield_u_net_sk( & ad, other) |
3603 | 如果rc恒等于0则 |
3604 | okp等于 outbound label |
3605 | skp等于 inbound label |
3615 | 如果rc恒等于0则 |
3616 | TCP peer label 等于 outbound label |
3617 | TCP peer label 等于 outbound label |
3620 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |