diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-01-13 15:47:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-01-13 15:47:32 +0000 |
commit | d1fc817ea459ca28979948fbb23ff58a6f3f4a8c (patch) | |
tree | cf1b48823190c07959f8b8b769d096fcd739b2f3 /sysdeps/generic | |
parent | 0a182a286d84451b70a40948247319ac9723decb (diff) | |
download | glibc-d1fc817ea459ca28979948fbb23ff58a6f3f4a8c.tar.gz glibc-d1fc817ea459ca28979948fbb23ff58a6f3f4a8c.tar.xz glibc-d1fc817ea459ca28979948fbb23ff58a6f3f4a8c.zip |
Update.
2004-01-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/dl-execstack.c: Change interface. Add challenge for caller. * sysdeps/generic/ldsodefs.h: Change declaration and type of hook member in rtld_global appropriately. * elf/dl-support.c: Likewise. * elf/dl-load.c (_dl_map_object_from_fd): Take additional paramter. Pass it on to the changed function. (_dl_map_object): Pass new parameter to _dl_map_object_from_fd.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 627ed185ec..852cf51280 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1,5 +1,5 @@ /* Run-time dynamic linker data structures for loaded ELF shared objects. - Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -366,7 +366,7 @@ struct rtld_global /* If loading a shared object requires that we make the stack executable when it was not, we do it by calling this function. It returns an errno code or zero on success. */ - EXTERN int (*_dl_make_stack_executable_hook) (void) internal_function; + EXTERN int (*_dl_make_stack_executable_hook) (void **) internal_function; /* Keep the conditional TLS members at the end so the layout of the structure used by !USE_TLS code matches the prefix of the layout in @@ -453,7 +453,7 @@ extern void **_dl_initial_error_catch_tsd (void) __attribute__ ((const)) /* This is the initial value of GL(dl_make_stack_executable_hook). A threads library can change it. */ -extern int _dl_make_stack_executable (void) internal_function; +extern int _dl_make_stack_executable (void **stack_endp) internal_function; rtld_hidden_proto (_dl_make_stack_executable) /* Parameters passed to the dynamic linker. */ |