mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: More MIPS stat.h breakage...?
Date: Wed, 16 Jul 2014 10:41:18 -0400	[thread overview]
Message-ID: <20140716144118.GK17402@brightrain.aerifal.cx> (raw)
In-Reply-To: <20140716114005.GB2021@newbook>

On Wed, Jul 16, 2014 at 04:40:06AM -0700, Isaac Dunham wrote:
> I seem to remember some comment about trying to work on kernels that predate
> stat64().  __stat_fixup would be a logical way to handle that, should that
> still be intended.

The idea of __stat_fixup is that it would patch a broken struct layout
after a successful stat-family call, not make a new syscall. For a new
syscall it would have to be separate workaround code in each variant
(stat, lstat, fstat, fstatat) to do the appropriate workaround for
each. This is a completely different scope.

> The most precise information I can find is that stat64() dates to 2.4.18;
> I'm not sure about the accuracy of that.
> 
> But I don't have a strong opinion; I just noticed a similarity to an idea
> that was mentioned some time back.
> Also, I'm not aware of any reasons 2.4.1x might be a major target
> for musl. ;-)

I don't think there's any viable way to support kernels that old even
partially without backporting some essential features.

Rich


      reply	other threads:[~2014-07-16 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16  4:15 Rich Felker
2014-07-16 11:40 ` Isaac Dunham
2014-07-16 14:41   ` Rich Felker [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=20140716144118.GK17402@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).