Function report |
Source Code:fs\stat.c |
Create Date:2022-07-28 20:03:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_readlinkat
Proto:static int do_readlinkat(int dfd, const char __user *pathname, char __user *buf, int bufsiz)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| const char __user * | pathname | |
| char __user * | buf | |
| int | bufsiz |
| 392 | empty = 0 |
| 398 | retry : |
| 399 | error = user_path_at_empty(dfd, pathname, lookup_flags, & path, & empty) |
| 400 | If Not error Then |
| 407 | If d_is_symlink(dentry) || readlink Then |
| 408 | error = security_inode_readlink(dentry) |
| 409 | If Not error Then |
| 410 | touch_atime( & path) |
| 411 | error = vfs_readlink(dentry, buf, bufsiz) |
| 417 | Go to retry |
| 420 | Return error |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE4 | |
| SYSCALL_DEFINE3 |
| 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 |