函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-29 10:37:07
Last Modify:2020-03-18 10:25:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:COMPAT_SYSCALL_DEFINE6

函数原型: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)

返回类型:

参数:

1332  sigsetsize等于0
1333  up等于0
1335  如果sig
1336  如果非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_user - Get a simple variable from user space, with less checking(up, (compat_uptr_t__user * )sig)或__get_user - Get a simple variable from user space, with less checking(sigsetsize, (compat_size_t__user * )(sig + up的长度))则返回:负EFAULT
1344  返回: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)