Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_rmdir
Proto:long do_rmdir(int dfd, const char __user *pathname)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| const char __user * | pathname |
| 3842 | error = 0 |
| 3848 | lookup_flags = 0 |
| 3849 | retry : |
| 3850 | name = filename_parentat(dfd, getname(pathname), lookup_flags, & path, & last, & type) |
| 3856 | Case type == LAST_DOTDOT |
| 3867 | error = mnt_want_write(mnt) |
| 3876 | If Not Where the name belongs to - NULL is * negative Then |
| 3880 | error = security_path_rmdir( & path, dentry) |
| 3884 | exit3 : |
| 3886 | exit2 : |
| 3888 | mnt_drop_write(mnt) |
| 3889 | exit1 : |
| 3894 | Go to retry |
| 3896 | Return error |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE1 | |
| SYSCALL_DEFINE3 | |
| ksys_rmdir |
| 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 |