[uClibc]mips signals issue source
Phil Hopely
phil at ayrnetworks.com
Wed Sep 4 22:11:59 UTC 2002
Aha! I believe that the real issue appeared to be in our version of
tinylogin - after applying the one-line call to sigprocmask below,
everything works better w/o need for the patch to execve.
I should've looked here earlier, doh!
Phil
Index: vlock.c
===================================================================
RCS file: /cvs/public/tinylogin/vlock.c,v
retrieving revision 1.1.1.1
diff --context -r1.1.1.1 vlock.c
*** vlock.c 2002/05/15 16:58:54 1.1.1.1
--- vlock.c 2002/09/04 21:28:27
***************
*** 165,170 ****
--- 165,173 ----
vtm.mode = VT_PROCESS;
vtm.relsig = SIGUSR1;
vtm.acqsig = SIGUSR2;
+
+ sigprocmask(SIG_SETMASK, &sig, NULL);
+
ioctl(vfd, VT_SETMODE, &vtm);
tcgetattr(STDIN_FILENO, &oterm);
More information about the uClibc
mailing list