diff options
author | Semun Lee <semun.lee@samsung.com> | 2018-07-31 10:18:43 +0900 |
---|---|---|
committer | Semun Lee <semun.lee@samsung.com> | 2018-07-31 10:28:55 +0900 |
commit | 851077bfb95773380fc316378a42329ec7f7ed52 (patch) | |
tree | 452f258e0ed1d3551b58089ffd2b1ce3b9d65867 | |
parent | 9838cf1e45da0e17209232f8c41da52d87b93c18 (diff) | |
download | aul-1-851077bfb95773380fc316378a42329ec7f7ed52.tar.gz aul-1-851077bfb95773380fc316378a42329ec7f7ed52.tar.bz2 aul-1-851077bfb95773380fc316378a42329ec7f7ed52.zip |
Add dbus policy configuration for AppStatus signal
Change-Id: Ide18fe735a635fd86c93957c360c4dff9f356770
Signed-off-by: Semun Lee <semun.lee@samsung.com>
-rwxr-xr-x | CMakeLists.txt | 1 | ||||
-rw-r--r-- | aul.conf | 13 | ||||
-rwxr-xr-x | packaging/aul.spec | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dcf36bc..65b07db4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,6 +67,7 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/aul_debug_info.h DESTINATION i INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/aul.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/feature/preexec_list.txt DESTINATION ${SHARE_INSTALL_PREFIX}/aul ) INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/miregex DESTINATION ${SHARE_INSTALL_PREFIX}/aul ) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/aul.conf DESTINATION /etc/dbus-1/system.d) # tool ADD_SUBDIRECTORY(tool) diff --git a/aul.conf b/aul.conf new file mode 100644 index 00000000..4d0b3fdf --- /dev/null +++ b/aul.conf @@ -0,0 +1,13 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy context="default"> + <deny own="org.tizen.aul.AppStatus"/> + <deny send_type="signal" send_destination="*" send_interface="org.tizen.aul.AppStatus"/> + </policy> + <policy user="app_fw"> + <allow send_type="signal" send_destination="*" send_interface="org.tizen.aul.AppStatus"/> + </policy> +</busconfig> + + diff --git a/packaging/aul.spec b/packaging/aul.spec index 664ef056..8cde5024 100755 --- a/packaging/aul.spec +++ b/packaging/aul.spec @@ -102,6 +102,7 @@ chsmack -a 'User::Home' %{TZ_SYS_DB}/.appsvc.db-journal %license LICENSE %manifest %{name}.manifest %attr(0644,root,root) %{_libdir}/libaul.so.* +%config %{_sysconfdir}/dbus-1/system.d/aul.conf %{_bindir}/aul_test %{_bindir}/app_launcher %{_bindir}/appgroup_info |