Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
docs: add document revision
[src/app-framework-main.git]
/
src
/
secmgr-wrap.c
diff --git
a/src/secmgr-wrap.c
b/src/secmgr-wrap.c
index
fee9d64
..
ad550ba
100644
(file)
--- a/
src/secmgr-wrap.c
+++ b/
src/secmgr-wrap.c
@@
-1,5
+1,5
@@
/*
/*
- Copyright 2015 IoT.bzh
+ Copyright 2015
, 2016, 2017
IoT.bzh
author: José Bollo <jose.bollo@iot.bzh>
author: José Bollo <jose.bollo@iot.bzh>
@@
-20,7
+20,11
@@
#include <errno.h>
#include <assert.h>
#include <errno.h>
#include <assert.h>
+#if SIMULATE_SECURITY_MANAGER
+#include "simulation/security-manager.h"
+#else
#include <security-manager.h>
#include <security-manager.h>
+#endif
#include "verbose.h"
#include "secmgr-wrap.h"
#include "verbose.h"
#include "secmgr-wrap.h"
@@
-113,7
+117,7
@@
static int addpath(const char *pathname, enum app_install_path_type type)
int secmgr_path_public_read_only(const char *pathname)
{
int secmgr_path_public_read_only(const char *pathname)
{
- return addpath(pathname, SECURITY_MANAGER_PATH_
PUBLIC_
RO);
+ return addpath(pathname, SECURITY_MANAGER_PATH_RO);
}
int secmgr_path_read_only(const char *pathname)
}
int secmgr_path_read_only(const char *pathname)