From: Caspar Zhang <czhang@redhat.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH v2 2/2] [mm] mbind01: move to syscalls directory
Date: Sun, 10 Apr 2011 13:19:17 +0800 [thread overview]
Message-ID: <4DA13DD5.4060202@redhat.com> (raw)
In-Reply-To: <BANLkTimT9NM3jkQwzRzcUoA6RSz1yH5ULA@mail.gmail.com>
On 04/09/2011 02:18 PM, Garrett Cooper wrote:
> This is getting bikeshed-y -- but does it really matter where this
> stuff is located? I mean.. it's not like one is actually testing the
> syscall in this application; he/she is testing a corner case of the
> syscall to ensure that it doesn't blow out in a way that creates the
> issue that prompted the mainline kernel.org fix.
> I really didn't care that much when I committed it as either
> location is not ideal. Given the number of CVE reproducers in the tree
> now, there should be a separate section like regression, or security
> to go over these regression tests in more detail, or at least in a way
> that's easy to comprehend and deal with.
I agree with that either location is not ideal, but looked at existed
testcases, some similar regression testcases are put together under
syscalls/: mmap10, mmap11, mlock04, etc. At least doing so makes the
maintenance easier and produces less confusions (in mbind case, there
were two mbind01 tests, obviously when you install whole LTP testcases,
there will be only one exist, the other one is covered).
Creating a 'regression' dir under mem/ and moving mmap10, mmap11,
mlock04, mbind01 tests there may be a good choice. But how to name these
testcases? I don't want to see it happens again like two "XXX01" tests
exist in LTP, to avoid so, the new testcase writer should look into all
testcases and then give a different number suffix...
Thanks,
Caspar
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-04-10 5:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-09 3:24 [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems Caspar Zhang
2011-04-09 3:24 ` [LTP] [PATCH v2 2/2] [mm] mbind01: move to syscalls directory Caspar Zhang
2011-04-09 6:18 ` Garrett Cooper
2011-04-10 5:19 ` Caspar Zhang [this message]
2011-04-09 5:38 ` [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems Garrett Cooper
2011-04-10 4:31 ` Caspar Zhang
2011-04-10 9:19 ` Garrett Cooper
2011-04-10 9:27 ` Caspar Zhang
2011-04-10 9:43 ` Garrett Cooper
2011-04-10 13:00 ` [LTP] [PATCH v3] [mm] mbind01: move to syscalls directory Caspar Zhang
2011-04-10 13:00 ` [LTP] [PATCH v3] [mm] mbind01: not working on some systems Caspar Zhang
2011-04-12 6:46 ` Garrett Cooper
2011-04-12 7:19 ` Caspar Zhang
2011-04-15 15:32 ` Caspar Zhang
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=4DA13DD5.4060202@redhat.com \
--to=czhang@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/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