3 ms·
So what does the sigreturn(2) syscall actually do? I herby claim that sigreturn() restores the user space state in kernel context: https://lwn.net/Articles/676
by majke 10y ago
So what does the sigreturn(2) syscall actually do?
I herby claim that sigreturn() restores the user space state in kernel context: https://lwn.net/Articles/676803/ https://lwn.net/Articles/676803/
- Animats 10y agoYou're right; "sigreturn" wasn't in early UNIX systems but appeared in 4.3BSD. That job can also be done in user space, but there's a timing window against other signals if done that way.