Re: Fwd: [PATCH] find: load libselinux with dlopen instead of linking

Andreas Metzler <[email protected]> Sun, 19 Jul 2026 11:10:56 +0200
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
On 2026-07-18 raf <[email protected]> wrote:
[...]
> When I saw the patch, it seemed to me that the only
> benefit of dlopen would be on systems that start off
> not using selinux but later switch to using selinux, or
> vice versa.[...] 

Hello,

it allows distributors to build findutils with selinux support while
avoiding a hard dependency on libselinx.

I also do not think the size benefit is worth the added complexity,
though. (This is differrent for systemd, which uses dlopen for security
reasons. - See xz.)

cu Andreas
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.