aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/secmgr-wrap.c2
-rw-r--r--src/simulation/security-manager.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/secmgr-wrap.c b/src/secmgr-wrap.c
index 1b60ac4..ad550ba 100644
--- a/src/secmgr-wrap.c
+++ b/src/secmgr-wrap.c
@@ -117,7 +117,7 @@ static int addpath(const char *pathname, enum app_install_path_type type)
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)
diff --git a/src/simulation/security-manager.h b/src/simulation/security-manager.h
index 36b1b32..d7ea57c 100644
--- a/src/simulation/security-manager.h
+++ b/src/simulation/security-manager.h
@@ -25,9 +25,11 @@ enum lib_retcode {
SECURITY_MANAGER_ERROR_ACCESS_DENIED
};
enum app_install_path_type {
+ SECURITY_MANAGER_PATH_PRIVATE,
+ SECURITY_MANAGER_PATH_PUBLIC,
SECURITY_MANAGER_PATH_PUBLIC_RO,
+ SECURITY_MANAGER_PATH_RW,
SECURITY_MANAGER_PATH_RO,
- SECURITY_MANAGER_PATH_RW
};
typedef void app_inst_req;
static int diese = 0;