1 #include <smack-check.h>
6 #include <dpl/log/log.h>
8 namespace SecurityManager {
10 int smack_runtime_check(void)
12 static int smack_present = -1;
13 if (-1 == smack_present) {
14 if (NULL == smack_smackfs_path()) {
15 LogDebug("no smack found on device");
18 LogDebug("found smack on device");
30 return smack_runtime_check();
34 } // namespace SecurityManager