3 ms·
Thanks for the correction; fixed. I misremembered that bit of the yak-shaving adventure when I went to write my comment. The conclusion still holds, though: I
by JoshTriplett 10y ago
Thanks for the correction; fixed. I misremembered that bit of the yak-shaving adventure when I went to write my comment.
The conclusion still holds, though: I don't think special-casing particular capabilities makes sense. And in the case of the dynamic linker, it doesn't actually have that information available; it relies on the AT_SECURE bit set in the process's "auxiliary vector" (see "man getauxval"), which the kernel sets when the process has any privilege its caller didn't have.