This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add x32 support to dynamic linker audit


On Thu, Mar 22, 2012 at 1:40 PM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> On Thu, Mar 22, 2012 at 1:38 PM, Roland McGrath <roland@hack.frob.com> wrote:
>>> Something like this?
>>
>> It's certainly better to have the definitions just in one place.
>> Actually, I'm confused as to why there is a problem.
>> sysdeps/generic/ldsodefs.h already has #include <link.h>.
>> That ought to get <bits/link.h> so that the definitions there
>> are already available. ?Why isn't that happening?
>
> It is happening, but when compiling for x86 the x32 for x86-64 bits
> aren't enabled by default.
>
> The alternative fix is to just enable them no matter what, since
> ldsodefs.h is going to use *all* the audit interfaces.

... and the problem with enabling them all is writing them in
such a way that they are the same size no matter what.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]