search for: erestartnointr

Displaying 2 results from an estimated 2 matches for "erestartnointr".

2007 Mar 06
0
sshd Termination by SIGALRM
...lt action will terminate the listening sshd. Analysis and patch from andrew at gaul.org. In my case no such signal was received. I am using OpenSSH 3.8.1p1 on FC3 with linux-2.6.16.13 kernel. The signal system call in Linux might fail if there is any pending signal for the process. It returns ERESTARTNOINTR. The following code in openssh sshd.c:main(): /* Mark that the key has been used (it was "given" to the child). */ if ((options.protocol & SSH_PROTO_1) && key_used == 0) { /* Schedule server key regenera...
2012 Oct 19
0
[PATCHv3] xen/x86: don't corrupt %eip when returning from a signal handler
From: David Vrabel <david.vrabel@citrix.com> In 32 bit guests, if a userspace process has %eax == -ERESTARTSYS (-512) or -ERESTARTNOINTR (-513) when it is interrupted by an event /and/ the process has a pending signal then %eip (and %eax) are corrupted when returning to the main process after handling the signal. The application may then crash with SIGSEGV or a SIGILL or it may have subtly incorrect behaviour (depending on what ins...