linux-mips
[Top] [All Lists]

Re: Issue with RLIMIT Identifiers

To: adnan iqbal <adnan.iqbal@seecs.edu.pk>
Subject: Re: Issue with RLIMIT Identifiers
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 5 Jul 2010 15:36:55 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <AANLkTilZw7Zc9kfZzd-Xle7W3lHN9MSRaXQjv3SQNafj@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTilZw7Zc9kfZzd-Xle7W3lHN9MSRaXQjv3SQNafj@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Mon, Jul 05, 2010 at 10:27:32AM +0500, adnan iqbal wrote:

> In the file /usr/local/asm-generic.h , RLIMIT_NOFILE   is defined to be
> equal to 7.
> 
> In
> /usr/local/Cavium_Networks/OCTEON-SDK/tools/usr/include/asm/resource.h:#define
> RLIMIT_NOFILE         5
> 
> In
> /usr/local/Cavium_Networks/OCTEON-SDK/tools/usr/include/asm-generic/resource.h:#
> define RLIMIT_NOFILE                7
> i have confirmed through C program that the operating system is using
> RLIMIT_NOFILE=5. I need help to figure out which header files are actually
> being used by the kernel to get exact Resource Identifier.

The non-generic definition, that is RLIMIT_NOFILE is defined as 5.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>