From: Han Pingtian <hanpt@linux.vnet.ibm.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] chown and 16 bit syscall testing
Date: Thu, 13 Nov 2014 15:57:47 +0800 [thread overview]
Message-ID: <20141113075747.GA19392@localhost.localdomain> (raw)
In-Reply-To: <54608048.4000201@oracle.com>
On Mon, Nov 10, 2014 at 12:07:20PM +0300, Stanislav Kholmanskikh wrote:
> Hi!
>
> On 10/31/2014 04:39 PM, Han Pingtian wrote:
> >Hey there,
> >
> >I found that looks like all chown test cases will be compiled to 16 bit
> >compat test case, but they just call chown() something like
> >
> > TEST(chown(fname, uid, gid));
> >
> >which won't test if there is a 16 bit chown() syscall. I think maybe we
> >should change it to something like below:
> >
> > TEST(CHOWN(fname, uid, guid));
> >
> >then define CHOWN like this
> >
> > UID_T CHOWN(void (cleanup)(void))
> > {
> > LTP_CREATE_SYSCALL(chown, cleanup);
> > }
> >
> >?
>
> I think, this is a good idea.
>
> And there are more such test cases, which are not fixed for the 16-bit
> compat case. For example, setresuid.
>
> So if it's possible, fixing them will be good as well;)
>
Looks like those cases need to be fixed for the 16-bit compat, right?
chown0[1-5] fchown0[1-5] lchown03 setresgid0[1-4] setresuid0[1-3,5]
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2014-11-14 1:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-31 13:39 [LTP] chown and 16 bit syscall testing Han Pingtian
2014-11-10 9:07 ` Stanislav Kholmanskikh
2014-11-13 7:57 ` Han Pingtian [this message]
2014-11-19 8:15 ` Stanislav Kholmanskikh
2014-11-21 7:59 ` [LTP] [PATCH] fix some syscall tests for 16-bit compat testing Han Pingtian
2014-11-24 14:53 ` Stanislav Kholmanskikh
2014-11-28 8:33 ` [LTP] [PATCH v2] " Han Pingtian
2014-11-28 15:39 ` Stanislav Kholmanskikh
2014-11-29 13:29 ` Han Pingtian
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=20141113075747.GA19392@localhost.localdomain \
--to=hanpt@linux.vnet.ibm.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