From: Adrian Bunk <bunk@fs.tum.de>
To: davidm@hpl.hp.com
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: compat_sys_old_getrlimit() depends on sys_old_getrlimit()
Date: Sat, 28 Jun 2003 00:49:05 +0200 [thread overview]
Message-ID: <20030627224905.GL24661@fs.tum.de> (raw)
In-Reply-To: <200306240001.h5O01IjH011137@napali.hpl.hp.com>
On Mon, Jun 23, 2003 at 05:01:18PM -0700, David Mosberger wrote:
> compat_sys_old_getrlimit() depends on sys_old_getrlimit() and the patch
> below updates the guarding #ifdef accordingly.
>
> --david
>
> ===== kernel/sys.c 1.47 vs edited =====
> --- 1.47/kernel/sys.c Thu Jun 12 15:53:14 2003
> +++ edited/kernel/sys.c Mon Jun 23 16:01:39 2003
> @@ -5,6 +5,7 @@
> */
>
> #include <linux/config.h>
> +#include <linux/compat.h>
> #include <linux/module.h>
> #include <linux/mm.h>
> #include <linux/utsname.h>
> @@ -1219,7 +1220,7 @@
> ? -EFAULT : 0;
> }
>
> -#if !defined(__ia64__) && !defined(CONFIG_V850)
> +#if defined(COMPAT_RLIM_OLD_INFINITY) || !(defined(CONFIG_IA64) || defined(CONFIG_V850))
>
> /*
> * Back compatibility for getrlimit. Needed for some apps.
s/||/&&/ ?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2003-06-27 22:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 0:01 David Mosberger
2003-06-27 22:49 ` Adrian Bunk [this message]
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=20030627224905.GL24661@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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
all inboxes | Powered by JetHome®