From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] fix the system call number of exit_group01
Date: Sun, 19 Jul 2009 01:22:35 -0400 [thread overview]
Message-ID: <200907190122.36427.vapier@gentoo.org> (raw)
In-Reply-To: <364299f40907182147l4239c229m25eb180ea7c8ebf9@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]
On Sunday 19 July 2009 00:47:29 Garrett Cooper wrote:
> On Wed, Jul 15, 2009 at 5:37 PM, Wei Yongjun<yjwei@cn.fujitsu.com> wrote:
> > The system call number is depend on the system architecture, not always
> > 252. This patch fixed the problem.
> >
> > --- a/testcases/kernel/syscalls/exit_group/exit_group01.c
> > - TEST(syscall(252,4));
> > + TEST(syscall(__NR_exit_group,4));
>
> The best way to do this (IMHO) may be to add the relevant syscall
> number to the architecture specific .in file in
> testcases/kernel/include. Do you have the syscall number for your
> architecture?
both should be done. syscall() should never be used with a hardcoded #.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 389 bytes --]
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-07-19 5:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 0:37 [LTP] [PATCH] fix the system call number of exit_group01 Wei Yongjun
2009-07-19 4:47 ` Garrett Cooper
2009-07-19 5:22 ` Mike Frysinger [this message]
2009-07-19 5:35 ` Garrett Cooper
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=200907190122.36427.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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