aboutsummaryrefslogtreecommitdiffstats
path: root/src/secmgr-wrap.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-10-20 11:12:06 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-10-20 12:00:52 +0200
commit18103e986d89b9e329f49d9329d8bc40dffd39eb (patch)
tree2cee41c95354be7f2e3fa7078fd50e2b86770363 /src/secmgr-wrap.c
parent38ba270af828b80e0ffb5eab955aff733de17dba (diff)
build: improve simulation of security
This commits allows to simulates either the security-manager and the smack LSM. These simulations are used for developping purpose. Change-Id: I138d7351511ca2663498bfacca28811fc81b8c55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/secmgr-wrap.c')
-rw-r--r--src/secmgr-wrap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/secmgr-wrap.c b/src/secmgr-wrap.c
index fee9d64..e4f0a4a 100644
--- a/src/secmgr-wrap.c
+++ b/src/secmgr-wrap.c
@@ -20,7 +20,11 @@
#include <errno.h>
#include <assert.h>
+#if SIMULATE_SECURITY_MANAGER
+#include "simulation/security-manager.h"
+#else
#include <security-manager.h>
+#endif
#include "verbose.h"
#include "secmgr-wrap.h"