* [LTP] [ltp]rt_sigprocmask01.c issue
@ 2010-08-11 7:26 lina.zhao
0 siblings, 0 replies; only message in thread
From: lina.zhao @ 2010-08-11 7:26 UTC (permalink / raw)
To: ltp-list
Hi,
In rt_sigprocmask01.c:
TEST(syscall(__NR_rt_sigpending, &oset,
SIGSETSIZE));
if (TEST_RETURN == -1) {
tst_brkm(TFAIL|TTERRNO, cleanup,
"rt_sigpending call failed");
}
TEST(sigismember(&oset, TEST_SIG));
if (TEST_RETURN == 0) {
tst_brkm(TFAIL|TTERRNO,
cleanup,
"sigismember call failed");
}
/* call rt_sigprocmask() to unblock
* signal#TEST_SIG */
TEST(syscall(__NR_rt_sigprocmask,
SIG_UNBLOCK, &set, &oset, 8));
the SIGSETSIZE is 16 for mips, so in sigprocmask, the last parameter
should be SIGSETSIZE too, not 8.
Regards,
Lina Zhao
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-11 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 7:26 [LTP] [ltp]rt_sigprocmask01.c issue lina.zhao
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.