From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [RFC] [PATCH] safe_macros: Add fallback pwrite() and pread() declarations
Date: Thu, 12 Jan 2017 10:02:32 +0100 [thread overview]
Message-ID: <20170112090232.GA16875@rei.lan> (raw)
In-Reply-To: <1178986959.1715131.1484209995886.JavaMail.zimbra@redhat.com>
Hi!
> > I was thinking about this, and I think that we should rather go with a
> > safer approach, i.e. moving the safe_pread/safe_pwrite into a separate
> > header. Something as the following patch.
>
> +1 for safer approach, I didn't know about glibc macros.
> Does this affect oldlib too?
Not anymore, there was one user with zero offset which was converted to
plain old SAFE_WRITE() and these two safe macros were then removed from
oldlib safe macros in f4b028122.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2017-01-12 9:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-02 15:47 [LTP] [RFC] [PATCH] safe_macros: Add fallback pwrite() and pread() declarations Cyril Hrubis
2017-01-11 14:41 ` Cyril Hrubis
2017-01-12 8:33 ` Jan Stancek
2017-01-12 9:02 ` Cyril Hrubis [this message]
2017-01-12 9:07 ` Jan Stancek
2017-01-12 9:10 ` 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=20170112090232.GA16875@rei.lan \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.