Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-28 20:07:07
Last Modify:2020-03-18 10:25:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:COMPAT_SYSCALL_DEFINE6

Proto:COMPAT_SYSCALL_DEFINE6(pselect6_time64, int, n, compat_ulong_t __user *, inp, compat_ulong_t __user *, outp, compat_ulong_t __user *, exp, struct __kernel_timespec __user *, tsp, void __user *, sig)

Type:

Parameter:Nothing

1332  sigsetsize = 0
1333  up = 0
1335  If sig Then
1336  If Not access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(sig, sizeof(compat_uptr_t) + sizeof(compat_size_t)) || Get a simple variable from user space, with less checking(up, (compat_uptr_t__user * )sig) || Get a simple variable from user space, with less checking(sigsetsize, (compat_size_t__user * )(sig + size of up )) Then Return -EFAULT
1344  Return do_compat_pselect(n, inp, outp, exp, tsp, A pointer passed in from user mode. This should not* be used for syscall parameters, just declare them* as pointers because the syscall entry code will have* appropriately converted them already., sigsetsize, PT_TIMESPEC)