Re: Question about signal syscalls !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 02, 2007 at 12:41:07PM -0800, David Daney wrote:
> I thought you were suggesting not saving s0-s7.  If you don't save them, 
> you cannot restore them.  And they have to be restored from the 
> sigcontext in the user's address space.   This allows user space signal 
> handlers to emulate trapping instructions, and the like.

Not necessarily, because you can trust the signal handler to restore
them, and it can save them itself if it needs to.  As I said, I think
there's at least one architecture which does it this way.  I'm afraid I
don't know which one.

-- 
Daniel Jacobowitz
CodeSourcery


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux