Re: [PATCH] HPPA : Define all the hppa specific _CLOEXEC and _NONBLOCK values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Aug 2010 11:20:32 -0400
Matt Turner <mattst88@xxxxxxxxx> wrote:

> On Fri, Aug 6, 2010 at 10:52 AM, Carlos O'Donell
> <carlos@xxxxxxxxxxxxxxxx> wrote:
> > On Fri, Aug 6, 2010 at 10:44 AM, Guy Martin <gmsoft@xxxxxxxxxxxx>
> > wrote:
> >> On Fri, 6 Aug 2010 10:34:12 -0400
> >> "Carlos O'Donell" <carlos@xxxxxxxxxxxxxxxx> wrote:
> >>>
> >>> Is this because hppa doesn't use the same values as x86 and the
> >>> only way to get your own values is to modify your own copies of
> >>> said files?
> >>
> >> As far as I can see, yes. Alpha is doing exactly the same thing.
> >>
> >> Maybe a better fix would be to have glibc derive the value of all
> >> the _CLOEXEC and _NONBLOCK from O_CLOEXEC and O_NONBLOCK instead
> >> of each having its own copy. This is how they are defined in the
> >> kernel anyway.
> >
> > Yes, it would be a better fix. However, I understand that this would
> > be more work and you may not have much time as a volunteer. Are you
> > interested in fixing this problem in a more general way? I would be
> > willing to help champion such a patch on libc-alpha.
> >
> > It's getting a bit out of hand that each machine has to carry
> > complete copies of all of these headers.
> >
> > Cheers,
> > Carlos.
> 
> I think we'd be interested in doing something like this for alpha as
> well.
> 
> Matt


It seems that sparc is doing the same as well.
I'll produce a patch for glibc and glibc-ports that cleans this up.

Cheers,
  Guy
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux