[PATCH 1/4] exec: Change uselib(2) IS_SREG() failure to EACCES
Eric W. Biederman
ebiederm at xmission.com
Tue May 19 11:56:36 UTC 2020
Andreas Schwab <schwab at linux-m68k.org> writes:
> On Mai 18 2020, Eric W. Biederman wrote:
>> If it was only libc4 and libc5 that used the uselib system call then it
>> can probably be removed after enough time.
> Only libc4 used it, libc5 was already ELF.
binfmt_elf.c supports uselib. In a very a.out ish way. Do you know if
that support was ever used?
If we are truly talking a.out only we should be able to make uselib
conditional on a.out support in the kernel which is strongly mostly
disabled at this point.
I am wondering if there are source trees for libc4 or libc5 around
anywhere that we can look at to see how usage of uselib evolved.
More information about the Linux-security-module-archive