Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\signal.c Create Date:2022-07-28 07:30:32
Last Modify:2022-05-22 06:23:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:If regs->ss will cause an IRET fault, change it. Otherwise leave it* alone. Using this generally makes no sense unless* user_64bit_mode(regs) would return true.

Proto:static void force_valid_ss(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
77  asm volatile
90  ar &= AR_DPL_MASK | If clear, "System" segment | "Present" | AR_TYPE_MASK
91  If ar != ( AR_DPL3 | If clear, "System" segment | "Present" | AR_TYPE_RWDATA) && ar != ( AR_DPL3 | If clear, "System" segment | "Present" | AR_TYPE_RWDATA_EXPDOWN) Then ss = __USER_DS
Caller
NameDescribe
restore_sigcontext