[PATCH] elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]

Andreas Schwab schwab@suse.de
Tue Feb 20 17:12:00 GMT 2018


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."



More information about the Libc-alpha mailing list