Hwankyu Jhun [Thu, 15 Dec 2016 06:54:55 +0000 (15:54 +0900)]
Remove aul rsm
- Use screen connector instead of rsm
Change-Id: Iddabb6e1b49fd37d6da44048d9a1c6601380aaf2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Daehyeon Jung [Fri, 16 Dec 2016 08:13:37 +0000 (17:13 +0900)]
Fix memory corruption on watchface change
Change-Id: I06a0776c03c2fa175d9b194259c170b37585685c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Hwankyu Jhun [Mon, 12 Dec 2016 12:17:25 +0000 (21:17 +0900)]
Fix bug about screen connector
- Add pid info on endpoint
Change-Id: I4fff43138316e784ea6c905e4ab127caed30679b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 29 Nov 2016 02:53:10 +0000 (11:53 +0900)]
Support screen connector
- The aul rsm will be removed.
Change-Id: Ibecb354d45f0c0242f6ad9054c98f030f8c4fff4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 7 Dec 2016 02:28:46 +0000 (11:28 +0900)]
Fix app launcher tool
- Prevent invalid access
Change-Id: Ia28ad29bf11d6201341a8184bba864603faf832e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 7 Dec 2016 02:41:26 +0000 (11:41 +0900)]
Add a new definition for alias appid
Change-Id: Ice2949903d28ec2c85029bb5d1d27881ad2001b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 6 Dec 2016 06:02:26 +0000 (15:02 +0900)]
Fix bug about launch app tool
Change-Id: If34ba4c33aa1974d07daec1492abf7fd98a27684
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 6 Dec 2016 06:13:35 +0000 (15:13 +0900)]
Fix bug about getting appid by alias id
Change-Id: I60f8613b976e07204060bfafef038b4cf663d71a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 2 Dec 2016 08:47:23 +0000 (17:47 +0900)]
Change upgrade script number
Change-Id: I82625cc4095bb58dd1f69e6bf79e571b9cf49f89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Dec 2016 12:12:43 +0000 (21:12 +0900)]
Change app service db path
- The user db path is changed to "/opt/dbspace/<uid>/.appsvc.db".
Change-Id: Ia88523b0285cdbe4b09bf83c3fcda58991436fbf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeong ko [Wed, 30 Nov 2016 13:46:29 +0000 (05:46 -0800)]
fix getting external path
This reverts commit
f43a32134ace6f9d316b96c565c30b15d32a3d63.
Change-Id: I1d912dc3a8f7b6776b7dfcfffb93a10967b9701f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghoon Park [Wed, 30 Nov 2016 02:34:36 +0000 (11:34 +0900)]
Handle null pointer exceptions
Change-Id: Iaba7023e0499bfdfaca667102f31b87848870efe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
jongmyeong ko [Thu, 24 Nov 2016 16:55:05 +0000 (08:55 -0800)]
Revert "fix getting external path"
This reverts commit
c45238d8876e18e7259512ae80ed252670a2dea5.
Change-Id: Icd5cf55f1885f2d73e146e8fe0f2f22009af3ba6
Hwankyu Jhun [Wed, 23 Nov 2016 23:53:14 +0000 (08:53 +0900)]
Fix app_launcher tool
- Use g_timeout_add instead of g_idle_add
Change-Id: I285edec098c08a0cc11a96791847c5a8fd2375e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeong ko [Sun, 13 Nov 2016 09:19:58 +0000 (01:19 -0800)]
fix getting external path
- use storage api.
- return defualt path if sdcard is not mounted.
This reverts commit
527e629ac677440e8eb39fee451d92fe59935470.
Change-Id: Id7d9a90250a64e200d8b80f94d04d37670925524
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Hwankyu Jhun [Tue, 22 Nov 2016 05:21:46 +0000 (14:21 +0900)]
Support allowed appid feature
- Add parser plugin to register allowed appid metadata
- Add new APIs to retrive all allowed information
Change-Id: I4ac8a21138615d12c844905e7e03d9fe5fa8c998
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Nov 2016 23:27:43 +0000 (08:27 +0900)]
Fix app_launcher tool
- Add fallback for listening dead signal
Change-Id: I97566463d3a18a79fd518deffc06502bc265ee88
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Nov 2016 01:47:44 +0000 (10:47 +0900)]
Fix alias id feature to improve app launch performance
- Remove setting the appid from the alias info
- Add new APIs for the alias id
aul_svc_get_appid_by_alias_appid()
aul_svc_get_appid_by_alias_appid_for_uid()
aul_svc_foreach_alias_info_by_appid()
aul_svc_foreach_alias_info_by_appid_for_uid()
Change-Id: I9256e0c522143d765330463249799dc9d4ff8157
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 15 Nov 2016 00:38:05 +0000 (09:38 +0900)]
Fix wrong description
Some APIs don't return STATUS_FOCUS.
Change-Id: Ia44f614508814765296bf9ffaf940c626652e633
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Mon, 14 Nov 2016 05:02:54 +0000 (14:02 +0900)]
Add aul_rsm_viewer_unset_surface_handler function
Change-Id: I39c86de77ded873c879f07887ce1f5f39145bdab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
jongmyeong ko [Fri, 11 Nov 2016 13:25:34 +0000 (05:25 -0800)]
Revert "get external path using storage api."
This reverts commit
97e845e72079be00a5674e3569cd8dcd356dc027.
Change-Id: I9a246e0fd4bc38dc0a3e83160efd79cba05cfefe
Hwankyu Jhun [Fri, 11 Nov 2016 05:21:57 +0000 (14:21 +0900)]
Merge branch 'tizen' into tizen_3.0
Hyunho Kang [Fri, 11 Nov 2016 02:52:40 +0000 (11:52 +0900)]
Fix deref after null issue
Change-Id: Iab2a69c1f4d581d1336192ba53f9fc9a1ea318c9
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Fri, 11 Nov 2016 05:13:26 +0000 (14:13 +0900)]
Fix CMakeLists.txt file
- Use AUX_SOURCE_DIRECTORY option
Change-Id: I92c672fa6cf570dee668b561ae91ab5834865c51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 11 Nov 2016 00:06:17 +0000 (09:06 +0900)]
Merge branch 'tizen' into tizen_3.0
Hyunho Kang [Thu, 10 Nov 2016 05:42:33 +0000 (14:42 +0900)]
Add surface creator pid managing logic
- watch needs creator's pid to terminated old watch face
Change-Id: If514cde01623f60a926d716ba88c07b7f951e32f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Thu, 3 Nov 2016 11:22:37 +0000 (20:22 +0900)]
Support metadata parser plugin for alias id
Change-Id: I74f39272f8ef1f4b9b3b4c7fa23541db7988e2ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Nov 2016 06:28:05 +0000 (15:28 +0900)]
Fix app status callback
- Use GList instead of custom list
Change-Id: Ib4a887215cedbbccb8ca136883637a65727c6367
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Tue, 8 Nov 2016 00:47:22 +0000 (09:47 +0900)]
Change the window stack limitedly
- puts some app above the caller app
Change-Id: Ib85237f28b8342b4209d5720522ae253b431f52b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
jongmyeongko [Mon, 18 Jul 2016 11:15:54 +0000 (20:15 +0900)]
get external path using storage api.
Change-Id: I57a4060fc6c88806e76a3af576ccc34d86c160e3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
SukHyung, Kang [Fri, 4 Nov 2016 08:34:10 +0000 (01:34 -0700)]
Merge "fix SVACE issue" into tizen
SukHyung, Kang [Fri, 4 Nov 2016 08:21:44 +0000 (17:21 +0900)]
fix SVACE issue
Change-Id: Iffdf0e9beb608349b2836399f61bebfd93ba7e50
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Daehyeon Jung [Fri, 4 Nov 2016 06:56:57 +0000 (15:56 +0900)]
fix widget visibility change
Change-Id: I2f7c1daf2a1de85a4105a715678c6a60b31d137c
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Daehyeon Jung [Thu, 3 Nov 2016 11:35:11 +0000 (20:35 +0900)]
Add remote surface viewer functions
- create remote surface view with resource id
Change-Id: Iaec35562675539aa5e514373e4e8c165493af6c1
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Daehyeon Jung [Mon, 24 Oct 2016 05:09:39 +0000 (14:09 +0900)]
add aul_rsm_* to support remote surface management
Change-Id: Ic1535b9a296debb02acf6369d95624d8a1676649
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Hwankyu Jhun [Tue, 1 Nov 2016 08:27:04 +0000 (17:27 +0900)]
Fix '-f' option of the app_launcher tool
- If the app process is terminated abnormally before executing
the amd process, the amd can get incorrect app infomation.
- If the app is terminated before the amd is ready,
the tool will print the error message. And, the tool
will print the success message when the tool isn't
monitoring whether the amd is ready.
- The tool will subscribe the dead signal when the user
uses this option.
Change-Id: If0089c85af900f22f95ed8e884fea430e38919df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 1 Nov 2016 00:55:43 +0000 (09:55 +0900)]
Fix the description about aul_app_group_activate_below API
Change-Id: I9bc7942630ce10a408e9e23a061af4793f936b63
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 29 Sep 2016 00:41:20 +0000 (09:41 +0900)]
Use launchpad instead of debug-launchpad
The debug-launchpad will be removed. The launchpad
can perform debugging feature.
Change-Id: I3eae79ba3ac3f1bdaa3057d4b53570181e0dea9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 17 Oct 2016 00:34:28 +0000 (09:34 +0900)]
Add numbers to the AUL cmd
This patch is for debugging.
Change-Id: I377b4c962eb493eaa91dc5dec1de49b69a71bb20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Wed, 12 Oct 2016 10:35:55 +0000 (19:35 +0900)]
Add aul_widget_instance_get_content()
- Retrieve content info of widget instance
Change-Id: I193071a78126d888753452ae696d93aaec464411
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Thu, 6 Oct 2016 05:54:32 +0000 (14:54 +0900)]
Fix the exception handling
The recv() returns 0 when the peer has performed an orderly
shutdown.
Change-Id: I46c095fb6605e1adab8197a17d5e24753ce7194a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Oct 2016 23:43:20 +0000 (08:43 +0900)]
Add new APIs to activate/deactivate alias info
Change-Id: I6869bcc74963fd3f855062c93fbdada8ade76382
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 30 Sep 2016 07:58:15 +0000 (16:58 +0900)]
Fix aul_svc_foreach_alias_info API
Change-Id: I75036f7cfbc07b7fe8010158f8b6bab2fa4169af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Sep 2016 01:33:33 +0000 (10:33 +0900)]
Initialize variable and Fix the exception
Change-Id: Id634bd9d526c707cac0d3681419b3027e2bcf036
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 26 Sep 2016 23:49:42 +0000 (08:49 +0900)]
Remove unused APIs
Change-Id: Ibb4ac3cbe2ce46aebe48019110236b24f536ddf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Sep 2016 09:22:25 +0000 (18:22 +0900)]
Support listening the status of the specified app
Change-Id: I3ee2aca6a0faad0dd2dc401cb4fb323694807e67
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 19 Sep 2016 00:25:51 +0000 (09:25 +0900)]
Fix fd leak
Change-Id: I765a15d19e07cf11a70776aace70977a44232b44
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hawnkyu Jhun [Sun, 11 Sep 2016 10:19:44 +0000 (19:19 +0900)]
Refactor aul_app_get_running_app_info API
Change-Id: I6f95bb96c1ec2a8fcdc03a15462b69929d88a138
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 9 Sep 2016 11:56:17 +0000 (20:56 +0900)]
Add a new API to retrieve the alias info
Change-Id: I14d920c44027e259be8708e8782ed22df54adacf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 9 Sep 2016 04:37:58 +0000 (13:37 +0900)]
Fix app_request_to_launchpad function
- Add calling bundle_del() to delete the appid
Change-Id: Ib1a9b147b30791146544a3956fd41a74551b2423
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 8 Sep 2016 08:54:29 +0000 (17:54 +0900)]
Fix getting running appinfo
- Add an exception handling to check the result
Change-Id: I3b66c8d87336b4c2bbde01a4c71e21e0130506fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 7 Sep 2016 06:02:16 +0000 (15:02 +0900)]
Add APIs to set/unset alias appid
- Create alias_info table
- Add new APIs
aul_set_alias_appid()
aul_unset_laias_appid()
aul_svc_set_alias_appid()
aul_svc_unset_alias_appid()
Change-Id: I47881716f742d940d793e18929b990de0f32acd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Tue, 6 Sep 2016 02:34:15 +0000 (11:34 +0900)]
Implement widget_service_get_instance_count
Change-Id: Id27fa2ac1631558e20c82fd861eb9c50484bff91
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Thu, 1 Sep 2016 07:28:52 +0000 (16:28 +0900)]
Add an exception handling about getting shared data path
Change-Id: I3dbb1c8e5a5b327eafaa57faaa7aca5d69f9a5c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 31 Aug 2016 08:45:47 +0000 (17:45 +0900)]
Add asynchronous API to resume an application
- Add APIs
aul_resume_pid_async()
aul_resume_pid_async_for_uid()
Change-Id: I662927086cfcb0ad8b2682f5682e54a9414132f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Fri, 26 Aug 2016 09:05:20 +0000 (18:05 +0900)]
Check if shared/data exist instead of api-version
Since Tizen 3.0 shared/data directory is available for
applications that has appdir.shareddata privilege.
Otherwise, shared/data directory will not be created.
So, we could just check existence of shared/data in aul.
Change-Id: I3fc6b94e2b1ac1f478bb14ee60057892446d085d
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Fri, 26 Aug 2016 09:08:30 +0000 (18:08 +0900)]
Add a script to upgrade appsvc db
Change-Id: I3d85bb4b2620ba431970c596121d4c7487c8b74c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 May 2016 12:31:33 +0000 (21:31 +0900)]
Add socket timeout feature
The socket timeout period is 5.2s. If the socket timeout file
exists, the caller process uses the system socket timeout period.
This feature is enabled in the tv profile.
- Add internal APIs
aul_sock_set_sock_option()
aul_sock_get_rcv_timeval()
Change-Id: I56a9580b221165b4277144d7b8716e7f76f85b65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Jun 2016 07:08:01 +0000 (16:08 +0900)]
Add a new definition for splash screen
Change-Id: I834fd4776277e4913dd000e220f66104b7861301
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Aug 2016 02:46:39 +0000 (11:46 +0900)]
Remove getting a file descriptor from environments
Change-Id: I5d0a9b37e0d10490d757bdca6a318e00d91b6f59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 26 Jul 2016 08:59:45 +0000 (17:59 +0900)]
Use pkgmgr API to get the parser db path
- Requires
https://review.tizen.org/gerrit/81322
Change-Id: I0430ef10a23bb0448990d67561077292021b29d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 22 Jul 2016 01:49:18 +0000 (10:49 +0900)]
Add APIs for terminating apps
- add aul_terminate_pid_sync_without_restart()
- add aul_terminate_pid_sync_without_restart_for_uid()
Change-Id: I81f171a13c40e58319196b8cd01eaab27a0c4556
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hyunho Kang [Tue, 26 Jul 2016 07:15:43 +0000 (16:15 +0900)]
Add widget app restart logic
Change-Id: I11184aa13f388d4b8d377f2ef5c3f1136e3b2d65
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Fri, 29 Jul 2016 01:22:34 +0000 (10:22 +0900)]
Fix bug about launch_app tool
Change-Id: I339f0108944652b5a0e97805d5e34790a3efac40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 28 Jul 2016 04:01:10 +0000 (13:01 +0900)]
Fix app_launcher tool
- Add the root path for "-f" option
Change-Id: Ic11880790af9283ca4c241fb1de4eac36679e6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 22 Jul 2016 01:17:53 +0000 (10:17 +0900)]
Delete the aul.service file
- Requires
[amd] https://review.tizen.org/gerrit/81074
Change-Id: Ib728812854ef24f571972394e104a37b61c1d35e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 19 Jul 2016 11:26:01 +0000 (20:26 +0900)]
Add new APIs to get last caller process id
- Add APIs
aul_app_get_last_caller()
aul_app_get_last_caller_for_uid()
Change-Id: I5495250cfac1a3a22daf1a496112fb897e0e0a1b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Daehyeon Jung [Mon, 4 Jul 2016 06:06:10 +0000 (15:06 +0900)]
Add aul_widget_instance_* function
- Add aul_widget_instance_* functions to store instance
to AMD
Change-Id: I3c657cc81181031d0ffd644e2d726c456b9fc0d8
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Hwankyu Jhun [Thu, 7 Jul 2016 11:27:33 +0000 (20:27 +0900)]
Use the appid passed by launchpad
- Requires
https://review.tizen.org/gerrit/#/c/78914/
Change-Id: I45225f8b9370fb222e71bf7fc0816545c74cf80b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Myungki Lee [Fri, 8 Jul 2016 05:07:50 +0000 (14:07 +0900)]
Check the value obtained from the bundle.
Change-Id: I93a92ac03c4b60e88ca389d035abcc19c09c21d4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Hwankyu Jhun [Tue, 5 Jul 2016 06:56:02 +0000 (15:56 +0900)]
Fix the exeception about terminate requests
Change-Id: Ie818da1856af42972791626bbdfaa29517add0ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Wed, 22 Jun 2016 05:43:31 +0000 (14:43 +0900)]
Add APIs for rua multi-user feature
Change-Id: I4cf07a08c6ae2049d28efdd0626d8205d0c848a3
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Junghoon Park [Tue, 28 Jun 2016 10:41:43 +0000 (19:41 +0900)]
Adjust retry counts
Change-Id: Ibca49e8f4956db6f9b78d7473512fe91dd2fe320
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Semun Lee [Tue, 28 Jun 2016 06:36:04 +0000 (15:36 +0900)]
Change behavior of APP_START_ASYNC to return pid
Change-Id: I6e46086c2c9e685d6387709a5c28a7832454db7b
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Fri, 24 Jun 2016 08:16:52 +0000 (17:16 +0900)]
Fix recv buffer size
Change-Id: I5f61b924166d6e138ceec9395a732cfbe30c2969
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Jun 2016 06:56:49 +0000 (15:56 +0900)]
Prevent app sockets from being deleted by attacker
The app socket path is changed to "/run/aul/apps/<uid>/<pid>/.app-sock".
Change-Id: Ifbdca78dad0275f16e4d5fabd33367f406fbaf32
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Jun 2016 05:27:27 +0000 (14:27 +0900)]
Prevent apps directory from being deleted by attacker
Now, the app process can delete the /run/aul/apps directory.
The /run/aul directory mode is changed to 0755.
Change-Id: I6de28fe8433f8ca2ea213f2c22626ef9973d27ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Jun 2016 11:16:00 +0000 (20:16 +0900)]
Use a file descriptor passed by the launchpad
- The application socket path is changed to "/run/aul/apps/<uid>/".
- An aul.service file is added for making /run/aul/apps and
/run/aul/daemons directories. The /run/aul/daemons directory has
the "User::Home" SMACK label to protect sockets of daemon processes
from being deleted by attacker.
- While calling the aul_initialize(), the application can get
the aul listen socketfd by using getenv(). The launchpad sets the
environment variable about the aul listen socketfd before executing an
application.
Change-Id: Ie0e5cbeef12ed96ddeab2cfbd38e355cca2692de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 17 Jun 2016 02:08:03 +0000 (11:08 +0900)]
Add api for setting loader name
Change-Id: Ia602f7ba4fdefcca1e5d1fc3167fd2e2a3cb2c7e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Cho Woong Suk [Thu, 16 Jun 2016 10:45:47 +0000 (19:45 +0900)]
change launch message for web app debug mode
Change-Id: I9f190606dfef5708d2fde1be327f26bcc217f6e1
Hwankyu Jhun [Tue, 14 Jun 2016 09:53:36 +0000 (18:53 +0900)]
Fix the exceptions
- Check a file descriptor returned from aul socket API
- Initialize pointer values
Change-Id: I08fd07a3d85ef05673e6bc02044a2d24d317a78b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Jun 2016 02:41:17 +0000 (11:41 +0900)]
Fix aul_get_preinit_root_path API
- Get the root path from the environment
- Requires
[launchpad] https://review.tizen.org/gerrit/#/c/74336/
Change-Id: If6ad84fb5929804d71ef2dddef657eb62563e929
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 13 Jun 2016 01:36:43 +0000 (10:36 +0900)]
Fix bug about receiving packets in case of 0 size payload
Change-Id: I6b69d8c81a8eaaf137b072bc2c6b8804523eb173
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Fri, 10 Jun 2016 05:19:42 +0000 (14:19 +0900)]
Add validation checker for receiving packets
Change-Id: Ibaa4bb2a26b1e51b075da10d08e61ddc33988ea2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
jongmyeongko [Wed, 8 Jun 2016 06:09:20 +0000 (15:09 +0900)]
fix getting external-storage path.
Change-Id: I284c93a419989810b52ccb877d869044d7db4587
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghoon Park [Thu, 2 Jun 2016 23:54:59 +0000 (08:54 +0900)]
Remove calling chmod()
- We don't need to allow permissions for groups and others any more
Change-Id: If3d48503534e9952eac13fa26841f0ac0a48dcc3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 2 Jun 2016 23:36:16 +0000 (08:36 +0900)]
Fix memory leak
Change-Id: Idd6f721ba85836255211fc9064d5be963c8074e5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Thu, 26 May 2016 07:36:49 +0000 (16:36 +0900)]
Fix the alias appid
Change-Id: Ib0c0441e18fc2ff84529183382b6221fae56cd4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 May 2016 07:43:12 +0000 (16:43 +0900)]
Fix the feature name
- The default user feature is changed to
TIZEN_FEATURE_DEFAULT_USER.
Change-Id: I0b62da9cb817d2ebeec5084db24d9ea0fffc4ef7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Wed, 25 May 2016 11:05:58 +0000 (20:05 +0900)]
Fix wrong function name
Change-Id: I4aff0851273204571b1747a8bf7e6340ef7aa531
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Tue, 24 May 2016 06:40:18 +0000 (15:40 +0900)]
Support multiple widget viewer
- Add a new definition (AUL_K_WIDGET_VIEWER)
Change-Id: I134e8d07f2a0669bf11038c8dfc92f0d1e40c969
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 23 May 2016 04:37:39 +0000 (13:37 +0900)]
Add the exceptions for checking the request type
Change-Id: I066337944d7a029fecbab7c1d15dc7d21d7ed7d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 20 May 2016 07:20:10 +0000 (16:20 +0900)]
Fix the exception handling
If the application doesn't have a permission to use
aul_app_get_all_running_app_info_for_uid() API, the API
has to return the AUL_R_EILLACC.
Change-Id: I73d01c008b791075b1bb29dc65ec93af4fac9760
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 May 2016 07:57:55 +0000 (16:57 +0900)]
Fix bug about aul_launch_app_async()
Change-Id: I23cb273bd6785563095cb65010f235d3dfff4327
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghyun Yeon [Tue, 17 May 2016 01:35:00 +0000 (10:35 +0900)]
Change enum values of hw acceleration
changes related with pkgmgr-info
https://review.tizen.org/gerrit/#/c/69595/
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: I8a7db8cfa6f02cde0a4014db1812c653a6ebcc1f
Hwankyu Jhun [Mon, 16 May 2016 09:13:08 +0000 (18:13 +0900)]
Add APIs to get the status of an application
- Add new APIs
aul_app_get_status()
aul_app_get_status_for_uid()
Change-Id: I9b2441f1d56e4d5a12c9b05b10a5387ee58ee9e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 16 May 2016 10:30:41 +0000 (19:30 +0900)]
Add an exception handling
Change-Id: I08990a317a52402509024006008ba5930c0f11e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 10 May 2016 02:11:05 +0000 (11:11 +0900)]
Modify the description of the aul_listen_app_status_signal API
Change-Id: Idb0025d71a0fcb514dc24c3b112f147f50d00eda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 4 May 2016 07:31:41 +0000 (16:31 +0900)]
Add APIs to close an application
- These APIs wait util the target application is terminated
successfully.
- Add new internal APIs
aul_terminate_pid_sync()
aul_terminate_pid_sync_for_uid()
Change-Id: I5c91924817b998bac636efe021c78b7bd06377a3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Wed, 4 May 2016 05:57:53 +0000 (14:57 +0900)]
Change mount point for tep
- Requires
https://review.tizen.org/gerrit/#/c/67457/
Change-Id: I85d91c8483f631631717e174613bf62fda5328c0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>