[LTP] [PATCH v4 1/2] core: add tst_selinux_enabled() utility
    Andrea Cervesato 
    andrea.cervesato@suse.com
       
    Wed Jul 23 15:15:58 CEST 2025
    
    
  
On 7/23/25 3:13 PM, Stephen Smalley wrote:
> To be more precise, the bug is only triggerable for LSMs that
> implement the listsecurity LSM hook (to return a synthesized security
> xattr regardless of whether one is set in the filesystem), which are
> only SELinux and Smack.
Thanks for the clarification. I guess we have a solution: we can take a 
look at /sys/kernel/security/lsm and verify if smack/selinux are enabled.
- Andrea
    
    
More information about the ltp
mailing list