Skip to content
Commit d21b7b04 authored by José Bollo's avatar José Bollo Committed by Casey Schaufler
Browse files

Smack: Minor initialisation improvement



This change has two goals:
 - delay the setting of 'smack_enabled' until
   it will be really effective
 - ensure that smackfs is valid only if 'smack_enabled'
   is set (it is already the case in smack_netfilter.c)

Signed-off-by: default avatarJosé Bollo <jose.bollo@iot.bzh>
Acked-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 8b549ef4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment