函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:18:05
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:siginfo_buildtime_checks

函数原型:static inline void siginfo_buildtime_checks(void)

返回类型:void

参数:

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  如果sizeof(int)恒等于sizeof(void__user * )则
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  否则
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(ffsetofend(TYPE, MEMBER)*@TYPE: The type of the structure*@MEMBER: The member within the structure to get the 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.))
调用者
名称描述
signals_init信号管理系统初始化