mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: cyeoh@samba.org (Christopher Yeoh)
Cc: torvalds@transmeta.com (Linus Torvalds),
	marcelo@conectiva.com.br (Marcelo Tosatti),
	linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: Re: [PATCH] fcntl returns wrong error code
Date: Thu, 21 Mar 2002 13:28:45 +0000 (GMT)	[thread overview]
Message-ID: <E16o2cX-0005At-00@the-village.bc.nu> (raw)
In-Reply-To: <15513.30999.494913.910369@gargle.gargle.HOWL> from "Christopher Yeoh" at Mar 21, 2002 05:09:27 PM

> When fcntl(fd, F_DUPFD, b) is called where 'b' is greater than the
> maximum allowable value EINVAL should be returned. From POSIX:
> 
> "[EINVAL] The cmd argument is invalid, or the cmd argument is F_DUPFD and
> arg is negative or greater than or equal to {OPEN_MAX}, or ..."

Where does it mention rlimit ? Also we sort of have a problem since
OPEN_MAX is not a constant on Linux x86. I guess that means a libc enforced
behaviour or something for that bit

  reply	other threads:[~2002-03-21 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-21  6:09 Christopher Yeoh
2002-03-21 13:28 ` Alan Cox [this message]
2002-03-21 13:58   ` Christopher Yeoh
2002-03-22  2:56     ` [PATCH] fcntl returns wrong error code (Updated) Christopher Yeoh
2002-03-26 23:50 [PATCH] fcntl returns wrong error code Andries.Brouwer

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=E16o2cX-0005At-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=cyeoh@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    --cc=trivial@rustcorp.com.au \
    /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®