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

Florian Weimer
2024-07-08T16:26:33Z

* 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