Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\ldt.c Create Date:2022-07-28 07:35:39
Last Modify:2022-05-18 16:20:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:read_default_ldt

Proto:static int read_default_ldt(void __user *ptr, unsigned long bytecount)

Type:int

Parameter:

TypeParameterName
void __user *ptr
unsigned longbytecount
453  size = 5 * sizeof(structdesc_struct)
457  If bytecount > size Then bytecount = size
459  If lear_user - Zero a block of memory in user space.*@to: Destination address, in user space.*@n: Number of bytes to zero.* Zero a block of memory in user space.* Return: number of bytes that could not be cleared.* On success, this will be zero. Then Return -EFAULT
461  Return bytecount