From: "lina.zhao" <lina.zhao@windriver.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [ltp]rt_sigprocmask01.c issue
Date: Wed, 11 Aug 2010 15:26:31 +0800 [thread overview]
Message-ID: <4C6250A7.1060200@windriver.com> (raw)
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
reply other threads:[~2010-08-11 7:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6250A7.1060200@windriver.com \
--to=lina.zhao@windriver.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox