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:For backward compatibility? Maybe this should be moved* into arch/i386 instead?
Proto:static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user *statbuf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kstat * | stat | |
struct __old_kernel_stat __user * | statbuf |
211 | warncount = 5 |
214 | If warncount > 0 Then |
215 | warncount-- |
218 | Else if warncount < 0 Then |
220 | warncount = 0 |
223 | memset( & tmp, 0, sizeof(struct__old_kernel_stat)) |
224 | st_dev = old_encode_dev(dev) |
233 | SET_GID(st_gid, from_kgid_munged(current_user_ns(), gid)) |
234 | st_rdev = old_encode_dev(rdev) |
236 | If size > MAX_NON_LFS Then Return -EOVERFLOW |
243 | Return If copy_to_user(statbuf, & tmp, size of tmp ) Then -EFAULT Else 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | |
SYSCALL_DEFINE2 | |
SYSCALL_DEFINE2 |
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 |