From: Cyril Hrubis <chrubis@suse.cz>
To: Manas Kumar Nayak <maknayak@in.ibm.com>
Cc: LTP List <ltp-list@lists.sourceforge.net>,
Deepakraj B Himavantharaj <deepakraj@in.ibm.com>,
pasky@suse.cz
Subject: Re: [LTP] [PATCH 16/21] Add sigreturn01 test for sigreturn syscall
Date: Mon, 31 Aug 2009 14:17:35 +0200 [thread overview]
Message-ID: <20090831121735.GA12136@schrodinger.suse.cz> (raw)
In-Reply-To: <20090518191145.9777.22704.sendpatchset@subratamodak.linux.ibm.com>
Hi!
This test doesn't compile cleanly because on all linuxes I've try to do so
sigreturn() is not defined as manual says.
Instead of:
sigreturn(unsigned long __unused);
It's defined as:
extern int sigreturn (struct sigcontext *__scp) __THROW;
And it also seems to be unimplemented on linux.
Anyway after looking into the source and manual, the test seems to be testing
return value of call that does some magic on the stack of the process in order
to return from signal handler. And the "never return" in manual means IMHO that
execution path of the program is changed in a way the return value of sigreturn
can't be checked at all. To me it looks like some old and unused internal
kernel/glibc api that is not worth testing. So I vote for removing this one
from ltp.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-08-31 12:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 19:09 [LTP] [PATCH 00/21][1st Bunch] Port Crackerjack Syscall tests(missing) to LTP Manas Kumar Nayak
2009-05-18 19:09 ` [LTP] [PATCH 01/21] Add add_key01 test for add_key syscall Manas Kumar Nayak
2009-05-18 19:09 ` [LTP] [PATCH 02/21] Add add_key02 " Manas Kumar Nayak
2009-05-18 19:09 ` [LTP] [PATCH 03/21] Add bdflush01 test for bdflush syscall Manas Kumar Nayak
2009-05-18 19:09 ` [LTP] [PATCH 04/21] Add exit_group01 test for exit_group syscall Manas Kumar Nayak
2009-05-18 19:09 ` [LTP] [PATCH 05/21] Add keyctl01 test for keyctl syscall Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 06/21] Add newuname01 test for newuname syscall Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 07/21] Add rt_sigaction01 test for rt_sigaction syscall Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 08/21] Add rt_sigprocmask01 test for rt_sigprocmask syscall Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 09/21] Add rt_sigprocmask02 " Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 10/21] Add rt_sigqueueinfo01 test for rt_sigqueueinfo syscall Manas Kumar Nayak
2009-05-18 19:10 ` [LTP] [PATCH 11/21] Add rt_sigsuspend01 test for rt_sigsuspend syscall Manas Kumar Nayak
2009-05-18 19:11 ` [LTP] [PATCH 12/21] Add set_thread_area01 test for set_thread_area syscall Manas Kumar Nayak
2009-05-18 19:11 ` [LTP] [PATCH 13/21] Add set_thread_area02 " Manas Kumar Nayak
2009-05-18 19:11 ` [LTP] [PATCH 14/21] Add set_tid_address01 test for set_tid_address syscall Manas Kumar Nayak
2009-05-18 19:11 ` [LTP] [PATCH 15/21] Add sgetmask01 test for sgetmask syscall Manas Kumar Nayak
2009-05-18 19:11 ` [LTP] [PATCH 16/21] Add sigreturn01 test for sigreturn syscall Manas Kumar Nayak
2009-08-31 12:17 ` Cyril Hrubis [this message]
2009-05-18 19:11 ` [LTP] [PATCH 17/21] Add ssetmask01 test for ssetmask syscall Manas Kumar Nayak
2009-05-18 19:12 ` [LTP] [PATCH 18/21] Add timer_getoverrun01 test for timer_getoverrun01 syscall Manas Kumar Nayak
2009-05-18 19:12 ` [LTP] [PATCH 19/21] Add timer_gettime01 test for timer_gettime syscall Manas Kumar Nayak
2009-05-18 19:12 ` [LTP] [PATCH 20/21] Add tkill01 test for tkill syscall Manas Kumar Nayak
2009-05-18 19:12 ` [LTP] [PATCH 21/21] Add tkill02 " Manas Kumar Nayak
2009-05-21 18:59 ` [LTP] [PATCH 00/21][1st Bunch] Port Crackerjack Syscall tests(missing) to LTP Subrata Modak
[not found] <f5a7b3810908310549t6ced24qd9e0faf634d2319f@mail.gmail.com>
[not found] ` <1252323746.4922.34.camel@subratamodak.linux.ibm.com>
2009-09-17 13:48 ` [LTP] [PATCH 16/21] Add sigreturn01 test for sigreturn syscall Cyril Hrubis
[not found] ` <1253298631.15071.10.camel@subratamodak.linux.ibm.com>
2009-10-09 11:56 ` Cyril Hrubis
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=20090831121735.GA12136@schrodinger.suse.cz \
--to=chrubis@suse.cz \
--cc=deepakraj@in.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=maknayak@in.ibm.com \
--cc=pasky@suse.cz \
/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