• Casey Schaufler's avatar
    Smack: Remove unnecessary smack_known_invalid · 152f91d4
    Casey Schaufler authored
    The invalid Smack label ("") and the Huh ("?") Smack label
    serve the same purpose and having both is unnecessary.
    While pulling out the invalid label it became clear that
    the use of smack_from_secid() was inconsistent, so that
    is repaired. The setting of inode labels to the invalid
    label could never happen in a functional system, has
    never been observed in the wild and is not what you'd
    really want for a failure behavior in any case. That is
    removed.
    Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
    152f91d4
smack_access.c 16.2 KB