public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/2] fork08: Rewrite the test to a proper synchronization
Date: Fri, 2 Jul 2021 14:42:15 +0200	[thread overview]
Message-ID: <YN8Jp5iAVVjmU7js@yuki> (raw)
In-Reply-To: <20210701032931.132468-3-xieziyao@huawei.com>

Hi!
Can we please get rid of the FILE and use file descriptors instead?

Here as well the test is invalid since the whole file is read into libc
buffers on the first call to getc().

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2021-07-02 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01  3:29 [LTP] [PATCH 0/2] syscalls/fork: Rewrite fork{07, 08} to a proper synchronization Xie Ziyao
2021-07-01  3:29 ` [LTP] [PATCH 1/2] fork07: Rewrite the test " Xie Ziyao
2021-07-02 11:28   ` Cyril Hrubis
2021-07-01  3:29 ` [LTP] [PATCH 2/2] fork08: " Xie Ziyao
2021-07-02 12:42   ` Cyril Hrubis [this message]

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=YN8Jp5iAVVjmU7js@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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