From: Cyril Hrubis <chrubis@suse.cz>
To: Han Pingtian <phan@redhat.com>, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] basic mlock() testcase from lkml
Date: Wed, 9 Mar 2011 15:02:43 +0100 [thread overview]
Message-ID: <20110309140243.GA7793@saboteur.suse.cz> (raw)
In-Reply-To: <20110225075728.GB2902@hpt.nay.redhat.com>
Hi!
> +static void setup(void)
> +{
> + tst_tmpdir();
> +
> + fd = open(testfile, O_CREAT | O_RDWR);
Sorry for not exposing this earlier. But you should specify mode for
open with O_CREAT. That's part of the open() inteface that is kind of
badly engineered...
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-03-09 13:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 10:19 [LTP] [PATCH] basic mlock() testcase from lkml Han Pingtian
2011-02-24 16:55 ` Garrett Cooper
2011-02-25 2:51 ` Han Pingtian
2011-02-25 6:16 ` Garrett Cooper
2011-02-25 7:57 ` Han Pingtian
2011-03-04 10:32 ` Garrett Cooper
2011-03-09 14:02 ` Cyril Hrubis [this message]
[not found] ` <20110310042858.GB2918@hpt.nay.redhat.com>
2011-03-10 14:22 ` 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=20110309140243.GA7793@saboteur.suse.cz \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=phan@redhat.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