Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:11 |
| Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_fs
Proto:static int copy_fs(unsigned long clone_flags, struct task_struct *tsk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | clone_flags | |
| struct task_struct * | tsk |
| 1432 | If clone_flags & set if fs info shared between processes Then |
| 1435 | If in_exec Then |
| 1436 | spin_unlock( & lock) |
| 1437 | Return -EAGAIN |
| 1439 | users++ |
| 1440 | spin_unlock( & lock) |
| 1441 | Return 0 |
| 1443 | Filesystem information: = copy_fs_struct(fs) |
| 1444 | If Not Filesystem information: Then Return -ENOMEM |
| 1446 | Return 0 |
| Name | Describe |
|---|---|
| copy_process | Create a new process |
| 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 |