Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\aio.c Create Date:2022-07-28 20:21:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:COMPAT_SYSCALL_DEFINE6

Proto:COMPAT_SYSCALL_DEFINE6(io_pgetevents_time64, compat_aio_context_t, ctx_id, compat_long_t, min_nr, compat_long_t, nr, struct io_event __user *, events, struct __kernel_timespec __user *, timeout, const struct __compat_aio_sigset __user *, usig)

Type:

Parameter:Nothing

2247  struct __compat_aio_sigset ksig = {0, }
2252  If timeout && get_timespec64( & t, timeout) Then Return -EFAULT
2255  If usig && copy_from_user( & ksig, usig, size of ksig ) Then Return -EFAULT
2258  ret = set_compat_user_sigmask(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)
2259  If ret Then Return ret
2262  ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? & t : NULL)
2264  interrupted = signal_pending(current process)
2265  restore_saved_sigmask_unless(interrupted)
2266  If interrupted && Not ret Then ret = -start if no handler..
2269  Return ret