platform/core/appfw/aul-1.git
9 years agoAdd some api from Tizen 2.4 44/40244/2 submit/tizen/20150604.015241
Sangyoon Jang [Mon, 1 Jun 2015 12:16:32 +0000 (21:16 +0900)]
Add some api from Tizen 2.4

added:
aul_terminate_bgapp_pid
aul_terminate_pid_without_restart
aul_pause_app
aul_pause_pid

Change-Id: I9ebae51e8c55a4678064debc310e563585cf63d3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse _status_app_is_running_v2 on _start_app 18/40118/3 submit/tizen/20150602.003342
Sangyoon Jang [Fri, 29 May 2015 08:44:57 +0000 (17:44 +0900)]
Use _status_app_is_running_v2 on _start_app

fix order of parameter of _status_app_is_running_v2
use _status_app_is_running_v2 instead of _status_app_is_running

Change-Id: I7419a3d3b750ecb8e967eef2188452a5d138ec3c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoImprove code readability 23/39923/3 accepted/tizen/common/20150601.092754 submit/tizen_common/20150601.092502
Sangyoon Jang [Tue, 26 May 2015 11:54:11 +0000 (20:54 +0900)]
Improve code readability

do not load appinfo for attached global apps

Change-Id: Ie2c641ed5565b14537b8f5ae97f3f23c1996ee79
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd special cmd: AMD_RELOAD_APPINFO 21/39921/1
Sangyoon Jang [Tue, 26 May 2015 11:50:18 +0000 (20:50 +0900)]
Add special cmd: AMD_RELOAD_APPINFO

this cmd is for special purpose

Change-Id: Ib16415583f0de4592b8eef8e52807eaca2ea8b6b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "change parameter in __get_path function and return error in invalid parameter... submit/tizen/20150526.104937
Semun Lee [Tue, 26 May 2015 10:46:49 +0000 (03:46 -0700)]
Merge "change parameter in __get_path function and return error in invalid parameter." into tizen

9 years agochange parameter in __get_path function and return error in invalid parameter. 77/39877/3
Jiwoong Im [Tue, 3 Mar 2015 07:06:57 +0000 (16:06 +0900)]
change parameter in __get_path function and return error in invalid parameter.

In __get_path function, it finds pkginfo in tizenglobaluser and regular user's db.
GLOBAL_USER should be replaced to getuid() in order to be performed correctly.

JIRA ticket : TC-2314

Change-Id: I71c93090c5756f612cfa383ef7402be502932044
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoamd: check appinfo_init() retcode to exit gracefully 95/39795/1
Stephane Desneux [Fri, 22 May 2015 10:49:10 +0000 (12:49 +0200)]
amd: check appinfo_init() retcode to exit gracefully

Change-Id: Ife80ee7857a4d6eaeb37fb4e877aa539a9fe6492
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoMerge "Launch service app on amd_session_agent, handle on-boot" into tizen accepted/tizen/common/20150521.125634 accepted/tizen/common/20150601.070531 accepted/tizen/mobile/20150522.005728 accepted/tizen/mobile/20150601.044249 accepted/tizen/tv/20150522.004813 accepted/tizen/tv/20150601.044238 accepted/tizen/wearable/20150522.005554 accepted/tizen/wearable/20150601.044302 submit/tizen/20150521.024852 submit/tizen/20150528.055123
Semun Lee [Thu, 21 May 2015 02:32:23 +0000 (19:32 -0700)]
Merge "Launch service app on amd_session_agent, handle on-boot" into tizen

9 years agoMerge "Fix _status_app_is_running_v2" into tizen
Semun Lee [Thu, 21 May 2015 02:32:19 +0000 (19:32 -0700)]
Merge "Fix _status_app_is_running_v2" into tizen

9 years agoLaunch service app on amd_session_agent, handle on-boot 87/39587/3
Sangyoon Jang [Tue, 19 May 2015 07:35:13 +0000 (16:35 +0900)]
Launch service app on amd_session_agent, handle on-boot

launch service app on amd_session_agent, not amd.
all applications should be launched by proper session agent.
when user appinfo initialized, amd sends launch request
for applications which have on-boot attributes.

handle on-boot when package installed.

Change-Id: Iaf8fb1c69ff2006d3e835e9e4a981ef9847c4764
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix _status_app_is_running_v2 88/39588/2
Sangyoon Jang [Tue, 19 May 2015 07:38:14 +0000 (16:38 +0900)]
Fix _status_app_is_running_v2

fix __proc_iter_cmdline

Change-Id: I1c65f6ea67bde6a652e859cd53fc0a1418bfa0a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUpdate appinfo when package event occured 33/39533/3
Sangyoon Jang [Tue, 19 May 2015 06:37:10 +0000 (15:37 +0900)]
Update appinfo when package event occured

Change-Id: Ia3c33e69c2118b4ebada6c4e63c65500a699c486
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoManage user's appinfo table 16/39516/5
Sangyoon Jang [Mon, 18 May 2015 04:29:55 +0000 (13:29 +0900)]
Manage user's appinfo table

Change-Id: I637d84995526461eff6120b33ae1df6c81d50688
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCode refactoring 89/39389/1
Sangyoon Jang [Thu, 14 May 2015 07:38:02 +0000 (16:38 +0900)]
Code refactoring

struct amdmgr, struct appinfomgr are not needed.
appinfo table should managed at amd_appinfo.c.
remove some unused functions.

Change-Id: If8f991afb89bcef3dbf300fe5ae0cde3fa478a02
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd missing api: aul_terminate_pid_async 84/39184/1 accepted/tizen/common/20150520.133244 accepted/tizen/mobile/20150521.005931 accepted/tizen/tv/20150521.005315 accepted/tizen/wearable/20150521.005616 submit/tizen/20150512.054616
Sangyoon Jang [Mon, 11 May 2015 10:29:35 +0000 (19:29 +0900)]
Add missing api: aul_terminate_pid_async

Change-Id: Ia2b6c7247aaf939e0d45cc84b81a6d1c4d597a64
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix socket fd leak 80/39180/2
Sangyoon Jang [Mon, 11 May 2015 09:33:26 +0000 (18:33 +0900)]
Fix socket fd leak

TC-2508

when send asynchronously, it needs to close caller's socket after
receiving reply

Change-Id: I0fa9a8c1a401d77a50cbc0c450adfd70a1edfb0d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove "Type=notify" at amd_session_agent.service 98/38898/1 accepted/tizen/common/20150504.070719 accepted/tizen/mobile/20150501.022031 accepted/tizen/tv/20150501.020906 accepted/tizen/wearable/20150501.021403 submit/tizen/20150430.055149
Sangyoon Jang [Thu, 30 Apr 2015 05:44:54 +0000 (14:44 +0900)]
Remove "Type=notify" at amd_session_agent.service

amd_session_agent doesn't need to be notify type

Change-Id: I6367e5f3746e2d31751bafe32d65aa974d5cec71
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Integration with security-manager" into tizen
Sangyoon Jang [Wed, 29 Apr 2015 08:49:20 +0000 (01:49 -0700)]
Merge "Integration with security-manager" into tizen

9 years agoMake amd_session_agent run as sokcet activation only 54/38754/2 accepted/tizen/common/20150428.154006 accepted/tizen/mobile/20150429.003741 accepted/tizen/tv/20150429.003711 accepted/tizen/wearable/20150429.003724 submit/tizen/20150428.102946
Sangyoon Jang [Tue, 28 Apr 2015 05:19:50 +0000 (14:19 +0900)]
Make amd_session_agent run as sokcet activation only

Change-Id: Ic8085f66a37f977b42efa226e732bd919ccfbde1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix _get_app_info_from_db_by_apppath_user 65/38165/1 accepted/tizen/common/20150416.090615 accepted/tizen/mobile/20150415.132907 accepted/tizen/tv/20150415.131749 accepted/tizen/wearable/20150415.132254 submit/tizen/20150415.072638
Sangyoon Jang [Tue, 14 Apr 2015 02:04:41 +0000 (11:04 +0900)]
Fix _get_app_info_from_db_by_apppath_user

use uid took over instead of getuid

Change-Id: I27ce3a6a0206d08ce76fb8a247909cc792d6378f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoIntegration with security-manager 94/29994/11
Zbigniew Jasinski [Thu, 6 Nov 2014 16:57:36 +0000 (17:57 +0100)]
Integration with security-manager

* Removed dependency on libprivilege-control: perm_app_set_privilege()
  switched to security_manager_prepare_app()
* amd_session_agent gets CAP_MAC_ADMIN, CAP_MAC_OVERRIDE and CAP_SETGID for
  Smack label management
* Fix semantics - launching apps by appId

Change-Id: I408a07f2cc249b76a8c6c9928c632863358ed3ae
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
9 years agoFix bug in removing app_info list when get agent dead signal. 81/35981/2 accepted/tizen/mobile/20150313.083937 accepted/tizen/tv/20150302.010500 accepted/tizen/tv/20150313.083819 accepted/tizen/wearable/20150313.083850 submit/tizen/20150304.022845 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150227.073215 submit/tizen_tv/20150228.021455 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
Jiwoong Im [Fri, 27 Feb 2015 05:14:20 +0000 (14:14 +0900)]
Fix bug in removing app_info list when get agent dead signal.

JIRA ticket : TC-2419

Change-Id: Id795cd024a1076ad87f48dd55a4c777aeb0a5809
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix bug: killing apps abnormally when launching app 76/35876/2 accepted/tizen/tv/20150226.011428 accepted/tizen/wearable/20150226.065656 submit/tizen_common/20150226.010729 submit/tizen_mobile/20150225.124301 submit/tizen_tv/20150225.124301 submit/tizen_wearable/20150225.124301
Sangyoon Jang [Wed, 25 Feb 2015 12:20:39 +0000 (21:20 +0900)]
Fix bug: killing apps abnormally when launching app

some local variable is not initialized
set default value when failed to get vconf value

Change-Id: I8e4fa3414f950418899d3bb70c9431341c48a470
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoapply socket activation to amd and amd_session_agent 70/35770/5 accepted/tizen/mobile/20150225.053512 accepted/tizen/tv/20150225.100213 accepted/tizen/wearable/20150225.053943 submit/tizen_mobile/20150225.030152 submit/tizen_tv/20150225.030125 submit/tizen_wearable/20150225.030214
Jiwoong Im [Tue, 24 Feb 2015 11:45:00 +0000 (20:45 +0900)]
apply socket activation to amd and amd_session_agent

- add socket unit and install unit file by making link in .target.wants
folder.
- Before create server socket in daemon, check if there is socket stream.
- amd and amd_session_agent can receive its preinitailized sockets from
systemd.

Change-Id: I0c58245e734796f2a89c751004703082445033af

9 years agoReplace ail api to pkgmgr-info api 68/35668/4
Jiwoong Im [Mon, 23 Feb 2015 08:00:54 +0000 (17:00 +0900)]
Replace ail api to pkgmgr-info api

JIRA ticket : TC-2464

- ail api can be replaced to pkgmgr_info api.
- Because pkgmgr_info api create db if not exists, use pkgmgr_info api.
- At first, remove ail api in amd_main.c and menu_db_util.h

Change-Id: I658deab441e5af1dde361f6b82cc2b1a66d5c6ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "session agent changed to send dead signal to amd." into tizen accepted/tizen/tv/20150213.052913 submit/tizen_tv/20150212.054854
Suchang Woo [Thu, 12 Feb 2015 05:45:38 +0000 (21:45 -0800)]
Merge "session agent changed to send dead signal to amd." into tizen

9 years agosession agent changed to send dead signal to amd. 78/35178/5
Jiwoong Im [Tue, 10 Feb 2015 05:12:46 +0000 (14:12 +0900)]
session agent changed to send dead signal to amd.

JIRA ticket : TC-2419

When amd session agent gets SIGTERM, exits loop and sends agent_dead_siganl to amd.
amd gets uid of amd sessiong agent which is died, and updates running app list
and app status list.

Change-Id: I2f4d9e60803d71c8c04f6f4732fff6f7a132fbd9
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoMerge "Fix path getter API." into tizen
Suchang Woo [Wed, 11 Feb 2015 05:56:14 +0000 (21:56 -0800)]
Merge "Fix path getter API." into tizen

9 years agoFix path getter API. 52/34952/6
Jiwoong Im [Thu, 5 Feb 2015 01:32:11 +0000 (10:32 +0900)]
Fix path getter API.

JIRA ticket : TC-2314

To get application's path, use pkgmgrinfo_pkginfo_get_root_path api.
aul_get_app_xxx_path api search GLOBAL_USER and regular user DB altogether.

Change-Id: I82389591b570cf1998a64e67ce4f3981dfdf3048
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix implicit declaration warnings 06/34906/3
Sangyoon Jang [Wed, 4 Feb 2015 09:04:12 +0000 (18:04 +0900)]
Fix implicit declaration warnings

add missing declarations

Change-Id: I47ba874e922b578b2ab6b0095e62db5740f13025
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd rua history at am_session_agent 65/34865/1
Sangyoon Jang [Wed, 4 Feb 2015 01:44:29 +0000 (10:44 +0900)]
Add rua history at am_session_agent

rua should be handled at each user daemon
remove rua from amd

Change-Id: Idf3419867630d8040add819b1f598f1c11768aeb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Fix calling result callback" into tizen
Suchang Woo [Wed, 21 Jan 2015 02:29:59 +0000 (18:29 -0800)]
Merge "Fix calling result callback" into tizen

9 years agoMerge "Initialize the default args structure to be sure that debug option is disabled... accepted/tizen/ivi/20150121.052814 submit/tizen_ivi/20150120.093852
Baptiste DURAND [Tue, 20 Jan 2015 08:48:08 +0000 (00:48 -0800)]
Merge "Initialize the default args structure to be sure that debug option is disabled by default" into tizen

9 years agoInitialize the default args structure to be sure that debug option is disabled by... 26/34026/2 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150122.094105 submit/tizen_common/20150120.084957 submit/tizen_mobile/20150223.000000
Baptiste DURAND [Tue, 20 Jan 2015 08:34:13 +0000 (09:34 +0100)]
Initialize the default args structure to be sure that debug option is disabled by default

Change-Id: I362baf3ccf32cc70092f74b18347fed2194cf62a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix calling result callback 15/34015/1
Sangyoon Jang [Tue, 20 Jan 2015 01:38:22 +0000 (10:38 +0900)]
Fix calling result callback

when adding callback, it prepends the list
but when finding callback, the first matching callback is called (LIFO)
it should be FIFO

Change-Id: Ied1d71b13be6e572c259eea08d29e59200ddf7bd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "add a support for data-control provider" into tizen accepted/tizen/mobile/20150121.045017 accepted/tizen/tv/20150121.044517 accepted/tizen/wearable/20150121.044750 submit/tizen/20150120.043506 submit/tizen_mobile/20150121.020049 submit/tizen_tv/20150121.020041 submit/tizen_wearable/20150121.020025
Semun Lee [Tue, 20 Jan 2015 00:08:51 +0000 (16:08 -0800)]
Merge "add a support for data-control provider" into tizen

9 years agoAdd path getter API from tizen_2.3 74/32974/5
Seungmin Yu [Wed, 28 May 2014 07:33:15 +0000 (16:33 +0900)]
Add path getter API from tizen_2.3

To support path getter API in capi-appfw-application and capi-appfw-app-manager,
add path getter API in aul-1.
JIRA ticket : TC-2314

- Get path of appliation's own. (There is no need to introduce user id)
aul_get_app_external_root_path
aul_get_app_root_path
aul_get_app_data_path
aul_get_app_cache_path
aul_get_app_resource_path
aul_get_app_shared_data_path
aul_get_app_shared_resource_path
aul_get_app_shared_trusted_path
aul_get_app_external_data_path
aul_get_app_external_cache_path
aul_get_app_external_shared_data_path
aul_get_app_specific_path
aul_get_app_external_specific_path

- Get path of application which is installed by global user.
aul_get_app_shared_data_path_by_appid
aul_get_app_shared_resource_path_by_appid
aul_get_app_shared_trusted_path_by_appid
aul_get_app_external_shared_data_path_by_appid

- Introduce user id to get other user's application path.
aul_get_app_usr_shared_data_path_by_appid
aul_get_app_usr_shared_resource_path_by_appid
aul_get_app_usr_shared_trusted_path_by_appid
aul_get_app_usr_external_shared_data_path_by_appid

Change-Id: I1e4bbee8948a9e6be13d2c02b02cba0ea4d930ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoadd a support for data-control provider 81/33481/3
Jiwoong Im [Mon, 12 Jan 2015 06:43:20 +0000 (15:43 +0900)]
add a support for data-control provider

- set/unset data-control provider callback
- handle data-control request

Change-Id: Id39d47a9a6c5ffd8d656aac330859d74b6aa28e1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoRemove unnecessary execution bits from files 95/31495/1 accepted/tizen/common/20141209.182553 accepted/tizen/ivi/20150104.010551 submit/tizen_common/20141208.164856 submit/tizen_common/20141209.181617 submit/tizen_ivi/20141212.121212 submit/tizen_ivi/20141215.444555 submit/tizen_ivi/20141229.291214 submit/tizen_ivi/20141231.424242
Radoslaw Bartosiak [Fri, 5 Dec 2014 10:23:45 +0000 (11:23 +0100)]
Remove unnecessary execution bits from files

Source files (*.c, *.h) and doxygen.conf should not have execution bit set.

Change-Id: I8c49b37159c55014b3d71db184f837a1e6c5baf3
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
9 years agoMerge "packaging: fix for multi-user" into tizen
Baptiste DURAND [Fri, 28 Nov 2014 13:55:58 +0000 (05:55 -0800)]
Merge "packaging: fix for multi-user" into tizen

9 years agopackaging: fix for multi-user 55/30455/2
Jussi Laako [Tue, 7 Oct 2014 14:40:14 +0000 (17:40 +0300)]
packaging: fix for multi-user

Change-Id: I84525d0b76fe656d79ad724cc7047903807dd773
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
9 years agoMerge "change hard coded path in cmake file" into tizen
Semun Lee [Wed, 12 Nov 2014 23:59:59 +0000 (15:59 -0800)]
Merge "change hard coded path in cmake file" into tizen

9 years agoFix file descriptor leak around the reception of APP_DEAD_SIGNAL 50/29850/1 accepted/tizen/common/20141107.085048 accepted/tizen/ivi/20141112.110518 accepted/tizen/mobile/20141117.085705 submit/tizen/20141105.092117 submit/tizen_common/20141105.130459 submit/tizen_ivi/20141111.000000 submit/tizen_mobile/20141120.000000
Baptiste DURAND [Wed, 5 Nov 2014 09:10:40 +0000 (10:10 +0100)]
Fix file descriptor leak around the reception of APP_DEAD_SIGNAL

BUG-Tizen=TC-1835
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I69e5ab5fc24f7c321d5c92d3de4f8a2c7a8be45f

9 years agoUsage strcpy instead of strncpy. 46/29546/1 accepted/tizen/common/20141029.134507 submit/tizen_common/20141029.113059
Baptiste DURAND [Wed, 29 Oct 2014 11:20:09 +0000 (12:20 +0100)]
Usage strcpy instead of strncpy.

Sometimes   strncpy seems to have strange behavior

BUG=XWALK-2800
Change-Id: Idf11bb372e384fb23835b2a062a46d6ca0853ab1
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoAdd app_launcher binary to provide this feature 11/29211/4 accepted/tizen/common/20141023.130915 submit/tizen_common/20141023.083752
Baptiste DURAND [Wed, 22 Oct 2014 14:43:53 +0000 (16:43 +0200)]
Add app_launcher binary to provide this feature

Usage : app_launcher
-h --help Display this usage information.
-l --list Display installed apps list
-S --status Display running apps list
-s [tizen application ID] --start Launch application with tizen application ID
-k [tizen application ID] --kill Kill application with tizen application ID
-r [tizen application ID] --is-running Check whether application is running by tizen application ID,
If application is running, 0(zero) will be returned.
-d --debug Activate debug mode
BUG-Tizen:TC-1883

Change-Id: Iea647fc6cb24e22c1537c6322dcac6f66cd487ad
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agochange hard coded path in cmake file 26/28726/1
Ronan Le Martret [Tue, 14 Oct 2014 16:54:49 +0000 (18:54 +0200)]
change hard coded path in cmake file

 - allow yocto build

Change-Id: I285ef38f94ad8b70d3187611ed07685c0b48f0b8
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoRemove useless launchpad-preload systemd service 20/28720/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141020.112642 accepted/tizen/3.0.m14.3/ivi/20141017.215417 accepted/tizen/common/20141014.155446 accepted/tizen/ivi/20141017.224350 submit/tizen_3.0.2014.q3_common/20141020.111623 submit/tizen_3.0.m14.3_ivi/20141017.000000 submit/tizen_common/20141014.135300 submit/tizen_ivi/20141017.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Baptiste DURAND [Tue, 14 Oct 2014 13:04:23 +0000 (15:04 +0200)]
Remove useless launchpad-preload systemd service

BUG-Tizen=TC-1675
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: Ibabe7443d814106e0f2f74f6ce23e75b7ec5c13b

9 years agoAdd debug feature for debugging apps purpose 64/28664/2
Baptiste DURAND [Mon, 13 Oct 2014 15:00:12 +0000 (17:00 +0200)]
Add debug feature for debugging apps purpose

-d argument permits to enable debug on the apps.

xwalk deamon should be launched with remote-debbugging-port option

BUG-Tizen=TC-1666
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I7f52a31a6d45237f022707f798d8d317c562719d

9 years agouse systemd macro instead of hard path. 62/27762/1 accepted/tizen/3.0.2014.q3/common/20141020.094319 accepted/tizen/common/20140930.171003 accepted/tizen/ivi/20141007.214541 submit/tizen_3.0.2014.q3_common/20141020.090531 submit/tizen_3.0.2014.q3_common/20141020.093726 submit/tizen_common/20140929.110645 submit/tizen_ivi/20141007.111111
Ronan Le Martret [Thu, 18 Sep 2014 14:23:07 +0000 (16:23 +0200)]
use systemd macro instead of hard path.

Change-Id: I9c424e75cca50038246391acdd84d608dfb7f614
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoFix applications management when a request is made by a process run as root. 23/27623/1 accepted/tizen/common/20140917.103348 accepted/tizen/ivi/20140925.212644 submit/tizen_common/20140916.181156 submit/tizen_common/20140916.203010 submit/tizen_ivi/20140919.000000 submit/tizen_ivi/20140924.000000 submit/tizen_ivi/20140924.063121 submit/tizen_ivi/20140924.150732
Baptiste DURAND [Wed, 10 Sep 2014 10:22:22 +0000 (12:22 +0200)]
Fix applications management when a request is made by a process run as root.

When a request comes from ROOT User we switch from ROOT USER to default USER to allow launch etc...

Change-Id: Ia5a2155351de6b3272569cb257eb04b5927a86d4
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoUpdate aul function prototype related to status request to include Multi user changes 83/27283/2
Baptiste DURAND [Wed, 10 Sep 2014 08:57:50 +0000 (10:57 +0200)]
Update aul function prototype related to status request to include Multi user changes

Change-Id: Ia9dbee491ecfe586861b8e5ed2eb3e3946c99db2
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoRetrieve tizenglobalapp uid with tzplatform_getuid 22/27622/1
Sabera Djelti (sdi2) [Tue, 2 Sep 2014 16:17:25 +0000 (18:17 +0200)]
Retrieve tizenglobalapp uid with tzplatform_getuid

+ fix ail_package_get_usr_appinfo

Change-Id: I137803a35353570aa96db9ce85fc8243ed61e590
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agofix __app_dbus_signal_filter() not to fail on a valid unix user 46/26246/2 accepted/tizen/common/20140905.091300 accepted/tizen/ivi/20140909.103718 submit/tizen_common/20140904.145308 submit/tizen_ivi/20140909.000000
Janos Kovacs [Tue, 19 Aug 2014 17:08:56 +0000 (20:08 +0300)]
fix __app_dbus_signal_filter() not to fail on a valid unix user

Change-Id: Ib67ddfaebf62d26f01256c625d13d770e71f8d48

9 years agoRemove useless cgroup management functions 14/25514/4
Baptiste DURAND [Wed, 6 Aug 2014 10:00:55 +0000 (12:00 +0200)]
Remove useless cgroup management functions

Bug-Tizen: TC-1356

Change-Id: If0be73523b3633583aad412583d51cb503e52bda
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoRemove Wayland,X11 and EFL dependencies 19/24819/3
Stephane Desneux [Tue, 22 Jul 2014 17:31:49 +0000 (19:31 +0200)]
Remove Wayland,X11 and EFL dependencies

ecore_main_loop calls were replaced by g_main_loop calls

Change-Id: I76ad2615aa66eb9c1af3e482f528aebb45708401
Bug-Tizen: BTY-3
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agofix build after pkgmgr-info api change 79/25879/1 submit/tizen_common/20140811.192137 submit/tizen_ivi/20140813.000000 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140822.000000 submit/tizen_ivi/20140827.000000 submit/tizen_ivi/20140828.000000 submit/tizen_ivi/20140829.000000
Stephane Desneux [Mon, 11 Aug 2014 17:14:01 +0000 (19:14 +0200)]
fix build after pkgmgr-info api change

am_daemon: call to pkgmgrinfo_appinfo_get_appinfo_user()
is renamed to pkgmgrinfo_appinfo_get_usr_appinfo()

Change-Id: I9a44d34cb1782db07ed4e6f2fbfbdd53f40f4cbb
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoMulti user features : 22/25722/2 submit/tizen_common/20140811.160835 submit/tizen_common/20140811.161134
Sabera Djelti (sdi2) [Tue, 1 Jul 2014 13:19:35 +0000 (15:19 +0200)]
Multi user features :

    ->Add/Use Usr App related fonctions instead of Global App related Functions

Change-Id: I7c5cfb48ed6725f118c0117cc0482cccaf333669
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix AMD crashs when we try to launch an app by using a wrong appid 45/24645/1 accepted/tizen/common/20140723.152158 submit/tizen/20140717.160010
Baptiste DURAND [Thu, 17 Jul 2014 13:53:19 +0000 (15:53 +0200)]
Fix AMD crashs when we try to launch an app by using a wrong appid

-> Return an error in appinfo_find when we don't find the app information
-> NULL is the correct way to return an error

Change-Id: I243c6cd81099aff40b64a5f1afb0e0c816619713
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix TC-1347 96/23696/1 tizen_3.0.m14.2_ivi accepted/tizen/common/20140701.163920 accepted/tizen/ivi/20140701.221539 submit/tizen/20140701.160550 tizen_3.0.m14.2_ivi_release
Baptiste DURAND [Tue, 1 Jul 2014 13:53:03 +0000 (15:53 +0200)]
Fix TC-1347

Change smack label on AMD cmd socket => add chsmack call in service
Remove app from running list when app is closed. => Append buffer null end byte + Fix User check

Change-Id: I068ca441c7085ee2830e6ac8e520e7ef5c842287
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoRemove spurious ELM_ENGINE setting in amd_agent 92/23492/1 accepted/tizen/common/20140626.124226 submit/tizen/20140626.124123 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348
Stephane Desneux [Thu, 26 Jun 2014 12:34:22 +0000 (14:34 +0200)]
Remove spurious ELM_ENGINE setting in amd_agent

This setting prevents EFL apps to start correctly.

Change-Id: Ic7c9ee59bd504fbc5db7839111ca7224c0fb1f77
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agoRemove hardcoded paths in aul.manifest 71/22971/1
Christophe Moreau [Fri, 13 Jun 2014 14:09:30 +0000 (16:09 +0200)]
Remove hardcoded paths in aul.manifest

Bug-Tizen : TC-4

Change-Id: Ib177266275d459db9c457352588f0fee27e86e0b
Signed-off-by: Christophe Moreau <christophe.moreau@open.eurogiciel.org>
10 years agoMulti-user implementation feature 94/21994/1 submit/tizen_common/20140528.173953 submit/tizen_common/20140528.183233 submit/tizen_common/20140529.194900 submit/tizen_common/20140530.020532 submit/tizen_common/20140530.021300 submit/tizen_common/20140602.071652 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140623.000001 submit/tizen_ivi/20140624.064036
Baptiste DURAND [Fri, 28 Feb 2014 17:01:18 +0000 (18:01 +0100)]
Multi-user implementation feature

- Desactivate preload features
- Create am_agent process
- Remove old launchpad daemon
- Make am_agent discuss with amd process to launch an app
- Add Crosswalk Launchpad capabilities
- renamed am_agent to am_session_agent; fix segfault in amd_session_agent after first app launch
- cleanup agent code, added uid in amd request to agent
- Fix build with Cosswalk and add Dbus call
- fix build; added specific dlog tag for agent
- fix caller_uid check in agent
- Use DBUS SESSION bus instead of DBUS SYSTEM bus
- amd_session_agent now sends an APP_DEAD_SIGNAL request to amd daemon to signal the end of an app
- Fix Error Management
- amd: check that sender of APP_DEAD_SIGNAL is /usr/bin/amd_session_agent
- Add systemd service
- Add User Management for get applications ,Remove DBUS launch mechanism
- get uid for multiuser support

more info : https://wiki.tizen.org/wiki/Multi-user_Architecture

Change-Id: Iee37e603cb366d94bcc945df7edf3c3817fdee82
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoModification about smack label of db file belong to process. 81/20581/2 accepted/tizen/common/20140519.230419 accepted/tizen/ivi/20140521.203120 accepted/tizen/mobile/20140602.132704 submit/tizen/20140516.061434
jooseong.lee [Fri, 9 May 2014 10:10:46 +0000 (19:10 +0900)]
Modification about smack label of db file belong to process.

[Problem]
Most db files have 'floor' label.  Because these are created during image creation time.
Therefore no process can write the dbs (since 'floor' label allows only read and execute)

[Solution]
Modify smack label of the db files based on condition below referring three domain model
Condition1. Assign domain of process which creates db files
Condition2. Assign domain of process accesses db files.

Change-Id: I705b4f646ad3f9e41f014573c8cebfbabc8bdcd8
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
10 years agoChange /tmp/amd_ready to /run/amd_ready 29/20029/3 accepted/tizen/common/20140512.080251 submit/tizen/20140510.055129
Semun Lee [Fri, 25 Apr 2014 06:23:29 +0000 (15:23 +0900)]
Change /tmp/amd_ready to /run/amd_ready

/tmp/amd_ready file was used for path activation in the systemd user session.
Path is changed to /run/amd_ready to fix issue on SMACK label issue and
to use the right directory for the purpose.

Change-Id: Iceb5e61e5956cc367f5501a09cd727c76b76c177
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
10 years agoRemove SMACK rule file(.rule) according three domain model 50/19350/2 accepted/tizen/common/20140506.144121 submit/tizen/20140502.084937
seong.chung [Fri, 11 Apr 2014 03:59:38 +0000 (12:59 +0900)]
Remove SMACK rule file(.rule) according three domain model

Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate
Result :
- Remove rule file
- Remove file declaration statement of spec file

Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel

Change-Id: Ibdb278463e6a206afb8a7d82b56c8eae800f6b22
Signed-off-by: seong.chung <seong.chung@samsung.com>
10 years agoMerge "Update deprecated libprivilege-control API functions." into tizen
Semun Lee [Wed, 9 Apr 2014 23:39:51 +0000 (16:39 -0700)]
Merge "Update deprecated libprivilege-control API functions." into tizen

10 years agoRemove smack hardcoded path 19/19119/1
Jean-Benoit MARTIN [Mon, 7 Apr 2014 15:10:19 +0000 (17:10 +0200)]
Remove smack hardcoded path

Bug-Tizen: PTREL-776

Change-Id: I92032cb365fca44cefa5e6fe393e71d625ad1e14
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoUpdate deprecated libprivilege-control API functions. 73/19173/1
Marcin Lis [Mon, 7 Apr 2014 11:20:44 +0000 (13:20 +0200)]
Update deprecated libprivilege-control API functions.

Change-Id: Ia3bd3396471e63b5baf1815c2828e7e423b1ed13
Signed-off-by: Marcin Lis <m.lis@samsung.com>
10 years agoUse fsetxattr() directly to set '@' and '*' for the socket. 52/18252/2
Jarkko Sakkinen [Wed, 19 Mar 2014 11:17:13 +0000 (13:17 +0200)]
Use fsetxattr() directly to set '@' and '*' for the socket.

The functions that were used are not part of libsmack v1.0 API.

Change-Id: I52690bc09ff5d712df410e7ec3e1f5687b8d2ae6
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoAdd multi-user support 02/18202/2
Jiwoong Im [Mon, 17 Mar 2014 06:58:17 +0000 (15:58 +0900)]
Add multi-user support

Bug-Tizen: PTREL-331
Change-Id: I989696309e9e76cfd54682e0556729beb89a849e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
10 years agoFix PTREL-624 20/15320/1 38/15238/2 tizen_ivi_panda submit/tizen/20140125.005007 submit/tizen_ivi_panda/20140403.192401
Alex Wu [Fri, 17 Jan 2014 07:15:58 +0000 (15:15 +0800)]
Fix PTREL-624

launchpad-preload@app.service set a wrong XDG_RUNTIME_DIR
environment.

We use new unit (user-session-launch@.service ) and symbol link
(user-session-launch@seat0-5000.service) to auto-trigger a user
session. This results in a environment
"XDG_RUNTIME_DIR=/run/user/5000" in the user session. But the
lauchpad service still use symbol link
"launchpad-preload@app.service" which result in a environment
"XDG_RUNTIME_DIR=/run/user/app". This make XDG_RUMTIME_DIR
dismatch between app launched by launchpad and program, e.g.
weston, launched in user session. And hence app launched by
launchpad failed at connecting socket /run/user/5000/wayland-0
that created by weston.

Change-Id: I7896dd001e9602772d96f4a20057cd90369a3a9f
Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
10 years agoinit wayland support. 13/13413/6 accepted/tizen/generic accepted/tizen/ivi accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140114.095645 accepted/tizen/generic/20140312.091821 accepted/tizen/ivi/20140110.223927 accepted/tizen/ivi/panda/20140312.093539 accepted/tizen/ivi/release/20140312.044259 accepted/tizen/ivi/release/20140312.104114 accepted/tizen/mobile/20140113.182020 submit/tizen/20140110.215130 submit/tizen/20140312.070641 submit/tizen_ivi_release/20140312.044451 submit/tizen_ivi_release/20140312.071107
wangfei [Thu, 9 Jan 2014 06:51:58 +0000 (01:51 -0500)]
init wayland support.

The display server based on X or Wayland, is now a choice of different profile in Tizen 3.0.
Basically and consistently, two macros were used "with wayland" and "with x".
Below summarize the combination of the macros:

| wayland |  x  | meaning
|---------------------------
|   0     |  1  | pure X11 platform(no wayland)
|   1     |  0  | pure wayland platform (no X11)
|   1     |  1  | wayland but X compatibility
|   0     |  0  | no X and no wayland

This method unifies the meaning and usage. Deploy this method to aul-1 package.
Currently we need "pure wayland platform (no X11)" status,so "with wayland" and "with x" are
defined into "1" and "0" in build.conf file.If you need other status of above illustration,
please change values of "with x" and "with wayland" in your build.conf file.

Signed-off-by: wangfei <feix.w.wang@intel.com>
Change-Id: I50cbee1ae458ac49bd0ffc839f65f4c7fb11ac9b

10 years agoRemove the app2sd dependency 73/12973/1 accepted/tizen/generic/20140106.141215 accepted/tizen/generic/20140108.092534 accepted/tizen/ivi/20140106.203803 accepted/tizen/mobile/20140107.212856 submit/tizen/20140106.041919 submit/tizen/20140108.022349 submit/tizen_ivi_release/20140108.030038
Jaeho Lee [Thu, 17 Oct 2013 10:48:56 +0000 (19:48 +0900)]
Remove the app2sd dependency

Change-Id: I9cfcbec028d299ef967a625e0c8eeaea280b39c4
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoFix a launch bug at installation 72/12972/1
Jaeho Lee [Sat, 12 Oct 2013 05:41:24 +0000 (14:41 +0900)]
Fix a launch bug at installation

Change-Id: I51e944de3bc6647f425ace0a6ea48c50b43dc5ff
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
10 years agoadd exception for submode request 71/12971/1
Young Ik Cho [Fri, 11 Oct 2013 12:13:49 +0000 (21:13 +0900)]
add exception for submode request

Change-Id: I9714d5552db92af333d4bfbf77cb2897de081ba7
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
10 years agoUpdate changelog 15/12615/1 accepted/tizen/20131125.231630 accepted/tizen/20131206.003713 submit/tizen/20131122.225424
Patrick McCarty [Wed, 20 Nov 2013 06:37:51 +0000 (22:37 -0800)]
Update changelog

Change-Id: Icd411db6cc1ccbff307431d865b227247bc28153
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoAssign launchpad_preloading_preinitializing_daemon a Smack 84/11984/2
Casey Schaufler [Fri, 8 Nov 2013 22:51:52 +0000 (14:51 -0800)]
Assign launchpad_preloading_preinitializing_daemon a Smack
execution label of "User". This sets the Smack label on the
daemon process upon invocation. This allows the daemon to
launch applications into the User security domain.

Change-Id: I8b870b846da1d2349b9f8b225b5f77bdaf28eb86
Signed-off-by: Casey Schaufler <casey.schaufler@intel.com>
10 years agoMove package manifest to the packaging/ directory 02/12602/1
Patrick McCarty [Tue, 19 Nov 2013 20:55:08 +0000 (12:55 -0800)]
Move package manifest to the packaging/ directory

The Smack manifests are package collateral, so they should live in the
packaging/ directory.

Change-Id: I243d59680a7b3d72858df740238a3e7ea51b8eec
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoAdding changelog 28/11628/1 accepted/tizen/20131031.171740 accepted/tizen/20131101.051230 accepted/tizen/20131112.015058 accepted/tizen_ivi_stable/20131119.025829 submit/tizen/20131031.170957 submit/tizen_ivi_stable/20131119.030128
Rusty Lynch [Thu, 31 Oct 2013 17:08:51 +0000 (10:08 -0700)]
Adding changelog

Change-Id: I6cd760a4f4715b9e9ba9804d1633141b8e2c9dc5
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoFix: amd will crash if ecore_x_init() failed 06/11506/1
Chengwei Yang [Tue, 29 Oct 2013 06:16:22 +0000 (14:16 +0800)]
Fix: amd will crash if ecore_x_init() failed

if ecore_x_init() failed, then its internal variable _ecore_x_disp is
NULL and will cause crash in _key_init().

Bug: https://bugs.tizen.org/jira/browse/PTREL-137
Change-Id: I116fca62b35cc38a7ff14036ecf726000770f4b0
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
10 years agoRestore previously clobbered fix for manifest file 27/11127/2 accepted/tizen/20131022.010705 accepted/tizen/20131022.163320 submit/tizen/20131021.221236
Rusty Lynch [Sat, 19 Oct 2013 00:35:46 +0000 (17:35 -0700)]
Restore previously clobbered fix for manifest file

Tizen 3.0 has not yet established security domains, so all packages
must use a basic floor manifest or else the system will not function

Change-Id: I3fe71117bf894b2121ea55b451b4a44947d2d1ad
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoAdd wayland support 84/10684/2
Rusty Lynch [Wed, 9 Oct 2013 01:00:43 +0000 (18:00 -0700)]
Add wayland support

Change-Id: If9dc1879e63e53e5f938207abaed2099e3e285b5
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoMerge "Fix ac.service * Removed the mobile specific environment entries with a new...
Patrick McCarty [Mon, 21 Oct 2013 22:02:50 +0000 (15:02 -0700)]
Merge "Fix ac.service * Removed the mobile specific environment entries with a new   EnvironmentFile entry added to allow profile specific entries * Removed the horrible wait hack from the exec line.  This is not   the way to handle dependencies * Removed the precondition hacks which are not needed" into tizen

10 years agoMerge "Fix spec licence name to pass rpmlint test" into tizen
Patrick McCarty [Mon, 21 Oct 2013 21:58:58 +0000 (14:58 -0700)]
Merge "Fix spec licence name to pass rpmlint test" into tizen

10 years agoMerge "Restore previously lost fix to systemd unit file" into tizen
Patrick McCarty [Mon, 21 Oct 2013 21:58:36 +0000 (14:58 -0700)]
Merge "Restore previously lost fix to systemd unit file" into tizen

10 years agoInit local variable to avoid crash if loading pkg info failed 29/11129/1 accepted/tizen/20131021.091044 accepted/tizen/20131021.162941 submit/tizen/20131021.084146
Chengwei Yang [Mon, 21 Oct 2013 02:49:40 +0000 (10:49 +0800)]
Init local variable to avoid crash if loading pkg info failed

The uninitialized local variable will cause amd crash (coredump) at
g_hash_table_foreach since the junk pointer in amd.af, this is triggered
by pkg info load failure from pkgmgr.

Change-Id: I1145c11dc88030b40834de769de1443786ca5dda
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
10 years agoFix ac.service 83/10683/1
Rusty Lynch [Wed, 9 Oct 2013 01:10:08 +0000 (18:10 -0700)]
Fix ac.service
* Removed the mobile specific environment entries with a new
  EnvironmentFile entry added to allow profile specific entries
* Removed the horrible wait hack from the exec line.  This is not
  the way to handle dependencies
* Removed the precondition hacks which are not needed

Change-Id: I5e31a3df5d126358d850f08553231fc8f180614f
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoFix spec licence name to pass rpmlint test 81/10681/1
Rusty Lynch [Tue, 8 Oct 2013 23:59:12 +0000 (16:59 -0700)]
Fix spec licence name to pass rpmlint test

Change-Id: Iae4fe68312c2c2e5ae8b379d96bf9fb3ce02b330
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoRestore previously lost fix to systemd unit file 80/10680/1
Rusty Lynch [Tue, 8 Oct 2013 22:54:58 +0000 (15:54 -0700)]
Restore previously lost fix to systemd unit file

* change the name of the env file to reflect the fact that this
  service is shared across all profiles.  The actual env file is
  created in a platform specific manager, allowing platform specific
  environment variables
* use "=-" when declaring the env file so the service will start even
  if the env file does not exist
* remove hard coding DISPLAY environment. if mobile still needs this
  hack then add it to the environment file

Change-Id: I1279224990f1bc176e750b24945fa9734ae45d00
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoMerge branch 'tizen_2.2' into tizen 39/10439/1 accepted/tizen/20131002.050422 accepted/tizen/20131002.170520 accepted/tizen/20131002.172302 submit/tizen/20131002.044721
KyungwooNoh [Wed, 2 Oct 2013 01:58:44 +0000 (10:58 +0900)]
Merge branch 'tizen_2.2' into tizen

Conflicts:
am_daemon/amd_launch.c

Change-Id: I19b1529045ef9ccc9cd222a23c6dba7be1e55542
Signed-off-by: KyungwooNoh <kw1004.noh@samsung.com>
10 years agoAdd license file
Jaeho Lee [Thu, 26 Sep 2013 07:42:21 +0000 (16:42 +0900)]
Add license file

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
10 years agoupdate changelog accepted/tizen/20130917.053414 accepted/tizen/20130917.185801 accepted/tizen/20130917.190130 submit/tizen/20130916.182425
Anas Nashif [Mon, 16 Sep 2013 18:22:09 +0000 (14:22 -0400)]
update changelog

Change-Id: Ibb34c24777e7606c3a4dc978daf1210127918c34

10 years agoMerge branch 'tizen_2.2' into tizen
Anas Nashif [Mon, 16 Sep 2013 18:19:20 +0000 (14:19 -0400)]
Merge branch 'tizen_2.2' into tizen

Conflicts:
am_daemon/amd_main.c
packaging/ac.service
packaging/aul.spec

Change-Id: Idda822820f548a705da0db53c952f1faafd78fb3

10 years agoFix valrind bug
Jaeho Lee [Fri, 6 Sep 2013 06:40:35 +0000 (15:40 +0900)]
Fix valrind bug

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Change-Id: Ic802d5410060624ff6a6693460d477136915152a

10 years agoCleanup Packaging 38/9638/1 tizen_ivi_genivi accepted/tizen/20130912.081817 accepted/tizen/20130912.084858 accepted/tizen/20130912.093716 accepted/tizen/20130912.141227 accepted/tizen/20130912.192259 accepted/tizen/20130912.200358 accepted/tizen/ivi/genivi/20140131.055942 accepted/tizen_ivi_release/20131120.050515 ivi_oct_m2 submit/tizen/20130912.075553 submit/tizen/20130912.085657 submit/tizen_ivi_genivi/20140131.060226 submit/tizen_ivi_release/20131120.022336 submit/tizen_ivi_release/20131120.025944
Anas Nashif [Tue, 3 Sep 2013 16:02:04 +0000 (12:02 -0400)]
Cleanup Packaging

- Do not install sysvinti scripts
- Fixed license and groups

Change-Id: I1d815be4cae744b9926ba1ce635ba9d05f483fc2
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agofix redundant launchpad code
Young Ik Cho [Fri, 23 Aug 2013 06:30:41 +0000 (15:30 +0900)]
fix redundant launchpad code

Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
Change-Id: I6593565662b1ba6e94bdc93be7cfdce8831182a8

10 years agopackaging: fix errors in %preun and %postun scriptlets 65/8165/3 submit/tizen/20130813.230259
Patrick McCarty [Mon, 12 Aug 2013 22:53:54 +0000 (15:53 -0700)]
packaging: fix errors in %preun and %postun scriptlets

- If /sbin/ldconfig is not the only action for a scriptlet, the -p
  option should not be used.

- If the 'with multi user' option is not true, the shell conditional
  will be invalid.

This commit fixes both issues.

Change-Id: Ia610aad0576b9132a60f26063cbb35345ed58f92

10 years agomerge private
Jaeho Lee [Thu, 8 Aug 2013 06:54:44 +0000 (15:54 +0900)]
merge private

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
10 years agoFix DCM-2250 issue 2.2_release submit/tizen_2.2/20130814.090048 submit/tizen_2.2/20130814.101727
Jaeho Lee [Wed, 7 Aug 2013 09:58:56 +0000 (18:58 +0900)]
Fix DCM-2250 issue

Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
10 years agoAdd build Option for multi-user support 33/6033/4 submit/tizen/20130808.123840
Baptiste DURAND [Fri, 2 Aug 2013 06:55:30 +0000 (08:55 +0200)]
Add build Option for multi-user support