mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: tony.luck@intel.com
To: Anton Blanchard <anton@samba.org>
Cc: torvalds@osdl.org, lkml <linux-kernel@vger.kernel.org>,
	Yoav Zach <yoav.zach@intel.com>
Subject: Re: [PATCH]: Don't force O_LARGEFILE for 32 bit processes on ia64 - 2.6.12-rc3
Date: Tue, 10 May 2005 09:15:12 -0700	[thread overview]
Message-ID: <200505101615.j4AGFCM24199@unix-os.sc.intel.com> (raw)
In-Reply-To: <20050510064717.GA17819@krispykreme>

Anton Blanchard wrote:
> A 32 bit application should not be using the native open routine. 
> 
> Sounds like you have a 64bit emulator running 32bit applications. The
> other 64bit architectures need to be audited to make sure the
> PER_LINUX32 flag is safe to use here.

Yes, this issue happens when using an emulator to "run" the 32-bit
application.

Yoav's patch leaves it to each architecture to decide how to
identify the emulated case.  ia64 has been using PER_LINUX32
for this.  If other 64-bit architectures ever need to do the
same thing, they can provide their own force_o_largefile()
macro.  Right now, I don't think that any of them need this
because they aren't using emulators for 32-bit.

-Tony

  reply	other threads:[~2005-05-10 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 21:47 Yoav Zach
2005-05-10  1:45 ` Jeff Garzik
2005-05-10  5:15   ` tony.luck
2005-05-10  6:47 ` Anton Blanchard
2005-05-10 16:15   ` tony.luck [this message]
2005-05-10 21:45 Zach, Yoav

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=200505101615.j4AGFCM24199@unix-os.sc.intel.com \
    --to=tony.luck@intel.com \
    --cc=anton@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=yoav.zach@intel.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

Powered by JetHome