Function report |
Source Code:fs\coredump.c |
Create Date:2022-07-28 20:30:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mh_pipe_setup* helper function to customize the process used* to collect the core in userspace. Specifically* it sets up a pipe and installs it as fd 0 (stdin)* for the process. Returns 0 on success, or* PTR_ERR on failure.
Proto:static int umh_pipe_setup(struct subprocess_info *info, struct cred *new)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct subprocess_info * | info | |
| struct cred * | new |
| 551 | err = create_pipe_files(files, 0) |
| 557 | err = replace_fd(0, files[0], 0) |
| 560 | rlim[RLIMIT_CORE] = (struct rlimit){1, 1} |
| 562 | Return err |
| 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 |