Function report |
Source Code:fs\file.c |
Create Date:2022-07-28 20:08:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:replace_fd
Proto:int replace_fd(unsigned fd, struct file *file, unsigned flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned | fd | |
struct file * | file | |
unsigned | flags |
892 | If Not file Then Return The same warnings as for __alloc_fd()/__fd_install() apply here... |
895 | If fd >= rlimit(RLIMIT_NOFILE) Then Return -EBADF |
900 | If Value for the false possibility is greater at compile time(err < 0) Then Go to out_unlock |
904 | out_unlock : |
906 | Return err |
Name | Describe |
---|---|
umh_pipe_setup | |
aa_inherit_files | ased on selinux's flush_unauthorized_files |
umh_pipe_setup | 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. |
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 |