Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:COMPAT_SYSCALL_DEFINE3

Proto:COMPAT_SYSCALL_DEFINE3(setitimer, int, which, struct old_itimerval32 __user *, value, struct old_itimerval32 __user *, ovalue)

Type:

Parameter:Nothing

389  If value Then
390  error = get_old_itimerval32( & set_buffer, value)
391  If error Then Return error
393  Else
394  memset( & set_buffer, 0, size of set_buffer )
395  Print a one-time message (analogous to WARN_ONCE() et al):(warning conditions "%s calls setitimer() with new_value NULL pointer. Misfeature support will be removed\n", comm)
400  error = do_setitimer(which, & set_buffer, ovalue ? & get_buffer : NULL)
401  If error || Not ovalue Then Return error
403  If put_old_itimerval32(ovalue, & get_buffer) Then Return -EFAULT
405  Return 0