Function report |
Source Code:include\net\scm.h |
Create Date:2022-07-28 06:02:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:scm_send
Proto:static inline int scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, bool forcecreds)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct socket * | sock | |
| struct msghdr * | msg | |
| struct scm_cookie * | scm | |
| bool | forcecreds |
| 82 | uid = INVALID_UID |
| 83 | gid = INVALID_GID |
| 84 | If forcecreds Then scm_set_cred(scm, task_tgid(current process), current_uid(), current_gid()) |
| 87 | If ancillary data buffer length <= 0 Then Return 0 |
| 89 | Return __scm_send(sock, msg, scm) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |