public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: Wei Yongjun <yjwei@cn.fujitsu.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [QUESTION] about test execve04 which testing for EMFILE
Date: Mon, 25 May 2009 21:44:51 +0530	[thread overview]
Message-ID: <1243268093.6752.24.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <4A166FB6.6010208@cn.fujitsu.com>

On Fri, 2009-05-22 at 17:26 +0800, Wei Yongjun wrote: 
> recently kernel commit e7b9b550f53e81ea38e71d322d6f95730df058a2
> has removed the file get code. The execve syscall will never
> return EMFILE.
> 
> Call to execve() will be suceess even if the the process has the
> maximum number of files open, because execve() never open any file.
> 
> Can anyone tell me what does this test case test for? It be wrote
> base on which document? Just the man page?

* DESCRIPTION
*      Testcase to check execve(2) sets errno to EMFILE correctly
*
* ALGORITHM
*      Get the configured file descriptor table size. open(2) files to
fill
*      up the file descriptor table. Once file descriptor table is full,
*      an attempt to execve(2) any other executable fails with EMFILE.

is what the source description says. Can you please execute the test
against that kernel commit and share the results with/without commits ?

Regards--
Subrata

> 
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2009-05-25 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22  9:26 [LTP] [QUESTION] about test execve04 which testing for EMFILE Wei Yongjun
2009-05-25 16:14 ` Subrata Modak [this message]
2009-05-26  9:44   ` Wei Yongjun
2009-05-26 12:22     ` Subrata Modak
2009-05-27  3:48       ` Wei Yongjun
2009-05-27 14:23         ` Subrata Modak

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=1243268093.6752.24.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yjwei@cn.fujitsu.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