* Preloaded app cannot hold the internal privilege now.
* If the preloaded app can hold internal privilege later,
the whitelist can be replace with the cynara.
Change-Id: I4e1f9862ea6b5994df61688c77c256ab6c72d534
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
# @file CMakeLists.txt
# @author Jooseong Lee <jooseong.lee@samsung.com>
#
-IF("${PROFILE}" STREQUAL "mobile")
- INSTALL(FILES client-whitelist_mobile DESTINATION ${SYS_CONFIG_DIR}/${SERVICE_NAME} RENAME client-whitelist)
-ELSE("${PROFILE}" STREQUAL "mobile")
- INSTALL(FILES client-whitelist DESTINATION ${SYS_CONFIG_DIR}/${SERVICE_NAME})
-ENDIF()
+INSTALL(FILES client-whitelist DESTINATION ${SYS_CONFIG_DIR}/${SERVICE_NAME})
INSTALL(FILES admin-client-whitelist DESTINATION ${SYS_CONFIG_DIR}/${SERVICE_NAME})
# subject labels allowed to use password checking/setting
# put each allowed label in new line
+# If the preloaded app can hold internal privilege later,
+# the whitelist would be replaced with cynara.
System
System::Privileged
User
+# This is for the mobile preloaded app.
+User::Pkg::org.tizen.keyguard
+User::Pkg::org.tizen.lockscreen
+User::Pkg::org.tizen.setting
+++ /dev/null
-# subject labels allowed to use password checking/setting
-# put each allowed label in new line
-System
-System::Privileged
-User
-User::Pkg::org.tizen.keyguard
-User::Pkg::org.tizen.lockscreen
-User::Pkg::org.tizen.setting
-DSOCK_PASSWD_CHECK=%{sock_passwd_check} \
-DSOCK_PASSWD_SET=%{sock_passwd_set} \
-DSOCK_PASSWD_RESET=%{sock_passwd_reset} \
- -DSOCK_PASSWD_POLICY=%{sock_passwd_policy} \
- -DPROFILE=%{profile}
+ -DSOCK_PASSWD_POLICY=%{sock_passwd_policy}
make %{?jobs:-j%jobs}