summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc815.lee <jc815.lee@samsung.com>2013-05-22 15:07:22 +0900
committerjc815.lee <jc815.lee@samsung.com>2013-05-22 15:07:22 +0900
commit6dc34e21605190ea7167bf5c912211cd55ac349d (patch)
tree703913ea26085803903fa23d9bbe6c6a50391ae9
parente48b1784ba1227f882cdd72195e9e4ebc1b2d528 (diff)
downloadsecure-storage-6dc34e21605190ea7167bf5c912211cd55ac349d.tar.gz
secure-storage-6dc34e21605190ea7167bf5c912211cd55ac349d.tar.bz2
secure-storage-6dc34e21605190ea7167bf5c912211cd55ac349d.zip
enable user space smack, add label for MDM, tethering
Change-Id: I49a0be3945920d03988b33b9a1916d400ff0b719 Signed-off-by: jc815.lee <jc815.lee@samsung.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--ss-server.manifest7
2 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5ce53a..3d8f9fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,7 +56,7 @@ SET_TARGET_PROPERTIES(ss-client PROPERTIES COMPILE_FLAGS "${libss-client_CFLAGS}
###################################################################################################
## for ss-server (binary)
SET(ss-server_SOURCES ${ss_server_dir}/ss_server_ipc.c ${ss_server_dir}/ss_server_main.c)
-SET(ss-server_CFLAGS " -I. -I${ss_include_dir} -I${ss_server_include_dir} ${debug_type} ${use_key} ${OPENSSL_CFLAGS} -D_GNU_SOURCE ")
+SET(ss-server_CFLAGS " -I. -I${ss_include_dir} -I${ss_server_include_dir} ${debug_type} ${use_key} ${OPENSSL_CFLAGS} ${smack_groupid} -D_GNU_SOURCE ")
SET(ss-server_LDFLAGS ${pkgs_LDFLAGS})
ADD_EXECUTABLE(ss-server ${ss-server_SOURCES})
diff --git a/ss-server.manifest b/ss-server.manifest
index a685c55..2c1aad6 100644
--- a/ss-server.manifest
+++ b/ss-server.manifest
@@ -1,6 +1,11 @@
<manifest>
<define>
- <domain name="secure-storage"/>
+ <domain name="secure-storage"/>
+ <provide>
+ <label name="secure-storage::mdm-limit-call"/>
+ <label name="secure-storage::mdm-limit-sms"/>
+ <label name="secure-storage::tethering"/>
+ </provide>
</define>
<request>
<domain name="secure-storage"/>