Function report |
Source Code:fs\dcookies.c |
Create Date:2022-07-28 20:34:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:And here is where the userspace process can look up the cookie value* to retrieve the path.
Proto:static int do_lookup_dcookie(u64 cookie64, char __user *buf, size_t len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
u64 | cookie64 | |
char __user * | buf | |
size_t | len |
162 | If Not Check operation authority Then Return -EPERM |
165 | mutex_lock( & dcookie_mutex) |
167 | If Not is_live() Then |
172 | If Not (dcs = find_dcookie(cookie)) Then Go to out |
176 | kbuf = Allocation memory |
181 | path = d_path - return the path of a dentry*@path: path to report*@buf: buffer to return value in*@buflen: buffer length* Convert a dentry into an ASCII path name |
199 | out_free : |
201 | Return err |
202 | out : |
204 | Return err |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | |
COMPAT_SYSCALL_DEFINE4 |
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 |