Fwd: CET shadow stack app compatibility

From: lkml gm4
Date: Tue Nov 15 2022 - 10:09:00 EST


* Linus Torvalds:

> I'm disgusted by glibc being willing to just upgrade and break
> existing binaries and take the "you shouldn't upgrade glibc if you
> have old binaries" approach.

But glibc also claims this policy:

https://www.gnu.org/software/libc/
says:
The GNU C Library is designed to be a backwards compatible,

And
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
Thus, program binaries linked with the initial release of a library
binary will still run correctly if the library binary is replaced by
carefully-managed subsequent library binaries.

And glibc even has it easier then the kernel: implement incompatible
changes by applying
symbol versioning.

-
lkml4gm