[systemd-devel] [PATCH] Apply ProtectSystem to non-merged /usr directories

Lennart Poettering lennart at poettering.net
Tue Oct 21 11:18:50 PDT 2014


On Tue, 21.10.14 13:38, Simon McVittie (simon.mcvittie at collabora.co.uk) wrote:

> On 21/10/14 13:03, Christian Seiler wrote:
> > That is definitely a good point. Also note that /lib32 is not included
> > in the patch...
> 
> lib64 is part of the Linux/x86_64 platform ABI (the exact path
> /lib64/ld-linux-x86-64.so.2 is hard-coded into every Linux/x86_64
> executable) so it cannot be considered legacy. Is there a Linux ABI
> where /lib32 has the same status? If not, then its priority is rather lower.
> 
> Debian x86_64 (amd64) systems with bi-arch i386 binaries (ia32-libs) are
> the only instance of /lib32 that I can think of, and that setup is
> superseded by multiarch these days.

Well, on some distros lib64 is a symlink on others it isn't. Doesn't
Debian have /lib/<arch> or so with /lib64 just a symlink to the right
subdir?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list