From: chrubis@suse.cz
To: Jan Stancek <jstancek@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] syscalls/cma: add runtime check to setup()
Date: Tue, 23 Apr 2013 14:45:04 +0200 [thread overview]
Message-ID: <20130423124504.GD28044@rei> (raw)
In-Reply-To: <956651177.1121108.1366719315370.JavaMail.root@redhat.com>
Hi!
> > > static void setup(void)
> > > @@ -191,9 +191,11 @@ static void setup(void)
> > > sflag ? SAFE_STRTOL(NULL, sz_opt, 1, LONG_MAX - PADDING_SIZE * 2)
> > > : 100000;
> > >
> > > -#if !defined(__NR_process_vm_readv)
> > > +#if !defined(__NR_process_vm_writev)
> > > tst_brkm(TCONF, NULL, "process_vm_writev does not exist "
> > > "on your system");
> > > +#else
> > > + ltp_syscall(__NR_process_vm_writev, 0, NULL, 0, NULL, 0, 0);
> > > #endif
> > > semid = init_sem(1);
> >
> > If you add the __NR_process_vm_writev to at least one of the
> > testscases/kernel/include/*.in and run regen script (make clean && make
> > in the corresponding dir), the linux_syscall_numbers.h will contain at
> > least stubs and ltp_syscall() will be able to handle both situations.
>
> We seem to be regenerating linux_syscall_numbers.h only when it's missing
> or when you run it manually. Should we just remove it from git tree?
> Build process will generate one and it will contain latest bits from *.in files
Right. And please add dependency on the *.in files too (this seems to be
missing as well).
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-04-23 12:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 8:17 [LTP] [PATCH] syscalls/cma: add runtime check to setup() Jan Stancek
2013-04-23 10:29 ` chrubis
[not found] ` <956651177.1121108.1366719315370.JavaMail.root@redhat.com>
2013-04-23 12:45 ` chrubis [this message]
2013-04-23 16:13 ` Mike Frysinger
2013-04-24 6:53 ` Jan Stancek
2013-04-24 15:52 ` Mike Frysinger
2013-04-24 15:58 ` chrubis
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=20130423124504.GD28044@rei \
--to=chrubis@suse.cz \
--cc=jstancek@redhat.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