Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:18:09
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:siginfo_buildtime_checks

Proto:static inline void siginfo_buildtime_checks(void)

Type:void

Parameter:Nothing

4503  BUILD_BUG_ON - break compile if a condition is true(sizeof(structsiginfo) != SI_MAX_SIZE)
4510  Verify the offsets in the two siginfos match (How these fields are to be accessed.)
4511  Verify the offsets in the two siginfos match (si_uid)
4514  Verify the offsets in the two siginfos match (si_tid)
4515  Verify the offsets in the two siginfos match (si_overrun)
4516  Verify the offsets in the two siginfos match (si_value)
4519  Verify the offsets in the two siginfos match (How these fields are to be accessed.)
4520  Verify the offsets in the two siginfos match (si_uid)
4521  Verify the offsets in the two siginfos match (si_value)
4524  Verify the offsets in the two siginfos match (How these fields are to be accessed.)
4525  Verify the offsets in the two siginfos match (si_uid)
4526  Verify the offsets in the two siginfos match (si_status)
4527  Verify the offsets in the two siginfos match (si_utime)
4528  Verify the offsets in the two siginfos match (si_stime)
4531  Verify the offsets in the two siginfos match (si_addr)
4532  Verify the offsets in the two siginfos match (si_addr_lsb)
4533  Verify the offsets in the two siginfos match (si_lower)
4534  Verify the offsets in the two siginfos match (si_upper)
4535  Verify the offsets in the two siginfos match (si_pkey)
4538  Verify the offsets in the two siginfos match (si_band)
4539  Verify the offsets in the two siginfos match (si_fd)
4542  Verify the offsets in the two siginfos match (si_call_addr)
4543  Verify the offsets in the two siginfos match (si_syscall)
4544  Verify the offsets in the two siginfos match (si_arch)
4548  BUILD_BUG_ON - break compile if a condition is true(offsetof(structsiginfo, How these fields are to be accessed.) != offsetof(structsiginfo, si_addr))
4550  If sizeof(int) == sizeof(void__user * ) Then
4551  BUILD_BUG_ON - break compile if a condition is true(sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structsiginfo, How these fields are to be accessed.) != sizeof(void__user * ))
4553  Else
4554  BUILD_BUG_ON - break compile if a condition is true((sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structsiginfo, How these fields are to be accessed.) + sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structsiginfo, si_uid)) != sizeof(void__user * ))
4557  BUILD_BUG_ON - break compile if a condition is true(get the member end offset of(structsiginfo, How these fields are to be accessed.) != offsetof(structsiginfo, si_uid))
4561  BUILD_BUG_ON - break compile if a condition is true(offsetof(structcompat_siginfo, How these fields are to be accessed.) != offsetof(structcompat_siginfo, si_addr))
4563  BUILD_BUG_ON - break compile if a condition is true(sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structcompat_siginfo, How these fields are to be accessed.) != sizeof(compat_uptr_t))
4565  BUILD_BUG_ON - break compile if a condition is true(sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structcompat_siginfo, How these fields are to be accessed.) != sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structsiginfo, How these fields are to be accessed.))
Caller
NameDescribe
signals_init