This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]
- From: Andreas Schwab <schwab at suse dot de>
- To: fweimer at redhat dot com (Florian Weimer)
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 20 Feb 2018 15:17:33 +0100
- Subject: Re: [PATCH] elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]
- Authentication-results: sourceware.org; auth=none
- References: <20180205140121.440E240137CD1@oldenburg.str.redhat.com>
On Feb 05 2018, fweimer@redhat.com (Florian Weimer) wrote:
> [BZ #22787]
> * include/caller.h: Remove file.
> * elf/dl-caller.c: Likewise.
> * elf/Makefile (dl-routines): Remove dl-caller.
> (shared-only-routines): Do not add dl-caller.
> * elf/dl-load.c (_dl_map_object_from_fd): Do not call
> __check_caller.
> * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
> member.
> (dl_open_worker): Do not call __check_caller.
> (_dl_open): Do not set caller_dl_open member.
> * elf/rtld.c (_rtld_global_ro): Do not initialize
> _dl_check_caller member.
> * sysdeps/generic/ldsodefs.h (rtld_global): Remove
> _dl_check_caller member.
> (_dl_check_caller): Remove declaration.
> * sysdeps/unix/sysv/linux/dl-execstack.c
> (_dl_make_stack_executable): Do not call __check_caller.
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."