mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Michael Kerrisk" <mtk.manpages@gmail.com>
To: "Ulrich Drepper" <drepper@redhat.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	torvalds@linux-foundation.org,
	"Michael Kerrisk" <mtk.manpages@gmail.com>
Subject: Re: [PATCH] dup2 w/flags
Date: Mon, 28 Apr 2008 11:43:11 +0200	[thread overview]
Message-ID: <517f3f820804280243q4a4bb9dbv27ce4be90fdd5954@mail.gmail.com> (raw)
In-Reply-To: <200804280320.m3S3KSFu028466@devserv.devel.redhat.com>

On 4/28/08, Ulrich Drepper <drepper@redhat.com> wrote:
> This patch adds dup3 which is dup2 with an additional parameter.  The
>  parameter takes the usual O_* flags, with only O_CLOEXEC handled so far
>  (it's possible to handle O_NONBLOCK in future, if this is wanted).
>
>  I've read some people mentioning that we simply should use a new fcntl()
>  extension similar to F_DUPFD_CLOEXEC.  I think that's a terrible idea
>  and in any case not better than sys_indirect.  A new syscall is the
>  cleanest solution and it's really only a little bit of effort.

Ulrich,

To repeat my earlier request, and as requested in Documentation/HOWTO,
could you please CC me on API changes.  This alerts me to what may
eventually need documenting in man-pages.

Cheers,

Michael

  reply	other threads:[~2008-04-28  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28  3:20 Ulrich Drepper
2008-04-28  9:43 ` Michael Kerrisk [this message]
2008-04-28 20:54   ` H. Peter Anvin
2008-04-28 21:00     ` Michael Kerrisk

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=517f3f820804280243q4a4bb9dbv27ce4be90fdd5954@mail.gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®