This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Audit macros and add-on ports
- From: Daniel Jacobowitz <drow at false dot org>
- To: Roland McGrath <roland at redhat dot com>, libc-ports at sourceware dot org
- Date: Fri, 30 Sep 2005 17:46:45 -0400
- Subject: 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