Re: [RFC PATCH v19 1/5] exec: Add a new AT_CHECK flag to execveat(2)

From: Florian Weimer
Date: Mon Jul 08 2024 - 12:26:44 EST


* Jeff Xu:

> Will dynamic linkers use the execveat(AT_CHECK) to check shared
> libraries too ? or just the main executable itself.

I expect that dynamic linkers will have to do this for everything they
map. Usually, that does not include the maim program, but this can
happen with explicit loader invocations (“ld.so /bin/true”).

Thanks,
Florian