This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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]

Audit macros and add-on ports


Hi Roland,

I thought I'd gotten this taken care of earlier, but apparently not...
it is not currently possible to build a port with auditing support
without modifying sysdeps/generic/ldsodefs.h (to add members to the
unions).  My current plan is to define ARCH_PLTENTER and ARCH_PLTEXIT
as macros which expand to something like the existing union members,
e.g.:

    Elf32_Addr (*i86_gnu_pltenter) (Elf32_Sym *, unsigned int, uintptr_t *,
                                    uintptr_t *, struct La_i86_regs *,
                                    unsigned int *, const char *name,
                                    long int *framesizep);

    unsigned int (*i86_gnu_pltexit) (Elf32_Sym *, unsigned int, uintptr_t *,
                                     uintptr_t *, const struct La_i86_regs *,
                                     struct La_i86_retval *, const char *);

Then #include_next <ldsodefs.h>.  Sound OK?  If so I'll take care of it
next week.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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