72032b selinux: do preprocessor check only in selinux-access.c

1 file Authored by Michal Sekletár 4 years ago, Committed by Packit Service 4 years ago,
    selinux: do preprocessor check only in selinux-access.c
    
    This has the advantage that mac_selinux_access_check() can be used as a
    function in all contexts. For example, parameters passed to it won't be
    reported as unused if the "function" call is replaced with 0 on SELinux
    disabled builds.
    
    (cherry picked from commit 08deac6e3e9119aeb966375f94695e4aa14ffb1c)
    
    Related: #1830861
    
    patch_name: 0418-selinux-do-preprocessor-check-only-in-selinux-access.patch
    present_in_specfile: true
    location_in_specfile: 418
    squash_commits: true
    
        
file modified
+0 -9