函数逻辑报告 |
Source Code:include\net\scm.h |
Create Date:2022-07-27 07:00:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:scm_recv
函数原型:static inline void scm_recv(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct socket * | sock | |
struct msghdr * | msg | |
struct scm_cookie * | scm | |
int | flags |
116 | 如果非ancillary data 则 |
117 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from或 Passed files 则lags on received message 或等于MSG_CTRUNC |
119 | scm_destroy(scm) |
120 | 返回 |
124 | current_ns等于current_user_ns() |
125 | struct ucred ucreds = {pid = pid, uid = from_kuid_munged(current_ns, uid), gid = from_kgid_munged(current_ns, gid), } |
130 | put_cmsg(msg, For setsockopt(2) , w: struct ucred , ucreds的长度, & ucreds) |
133 | scm_destroy_cred(scm) |
135 | scm_passec(sock, msg, scm) |
137 | 如果非 Passed files 则返回 |
140 | scm_detach_fds(msg, scm) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |