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:37
Last Modify:2022-05-22 06:23:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:setup_sigcontext

Proto:int setup_sigcontext(struct sigcontext_64 __user *sc, void __user *fpstate, struct pt_regs *regs, unsigned long mask)

Type:int

Parameter:

TypeParameterName
struct sigcontext_64 __user *sc
void __user *fpstate
struct pt_regs *regs
unsigned longmask
162  err = 0
164  put_user_try
167  put_user_ex(x86-32 user GS accessors:(regs), (unsignedint__user * ) & gs)
168  put_user_ex(fs, (unsignedint__user * ) & fs)
169  put_user_ex(es, (unsignedint__user * ) & es)
170  put_user_ex(ds, (unsignedint__user * ) & ds)
173  put_user_ex(di, & di)
174  put_user_ex(si, & si)
175  put_user_ex(bp, & bp)
176  put_user_ex(sp, & sp)
177  put_user_ex(bx, & bx)
178  put_user_ex(dx, & dx)
179  put_user_ex(cx, & cx)
180  put_user_ex(ax, & ax)
182  put_user_ex(r8, & r8)
183  put_user_ex(r9, & r9)
184  put_user_ex(r10, & r10)
185  put_user_ex(r11, & r11)
186  put_user_ex(r12, & r12)
187  put_user_ex(r13, & r13)
188  put_user_ex(r14, & r14)
189  put_user_ex(r15, & r15)
192  put_user_ex(trap_nr, & trapno)
193  put_user_ex(error_code, & err)
194  put_user_ex(ip, & ip)
196  put_user_ex(cs, (unsignedint__user * ) & cs)
197  put_user_ex(flags, & flags)
198  put_user_ex(sp, & sp_at_signal)
199  put_user_ex(ss, (unsignedint__user * ) & ss)
208  put_user_ex(fpstate, (unsignedlong__user * ) & Zero when no FPU/extended context )
211  put_user_ex(mask, & oldmask)
212  put_user_ex(cr2, & cr2)
213  put_user_catch(err)
215  Return err
Caller
NameDescribe
__setup_frame
__setup_rt_frame