platform/core/multimedia/mmsvc-core.git
6 years agoMove fd-stat-dump function to muse-core for debugging purpose 90/165090/6 accepted/tizen/unified/20171227.224343 submit/tizen/20171227.032030
YoungHun Kim [Tue, 26 Dec 2017 05:28:44 +0000 (14:28 +0900)]
Move fd-stat-dump function to muse-core for debugging purpose

  - Sometimes unexpected fd was returned from socket() on client side (eg. STDIN_FILENO, STDOUT_FILNO or STERR_FILENO)

Change-Id: I3ef8ae49fa29403307e739584a0ac5242e926dcc

6 years agoFix the svace issue 77/165077/5
YoungHun Kim [Tue, 26 Dec 2017 02:54:50 +0000 (11:54 +0900)]
Fix the svace issue

 - buffer overflow; make sure this value is within bounds

Change-Id: If3e5a386317b4f794b18460ec39cae1b7ca76290

6 years agoUpdate the product issue 77/164077/1 accepted/tizen/unified/20171218.072307 submit/tizen/20171215.070209
YoungHun Kim [Fri, 15 Dec 2017 02:11:56 +0000 (11:11 +0900)]
Update the product issue

 - The received message is sometimes null when connecting data channel
 - Build warning

Change-Id: I3496c6bd9b86a0eeda92a873c0583c35e7ffefa2
(cherry picked from commit aa6c422afad1af8077d3703f5445338a7ac2c3ec)

6 years agoUpdate the close fd with valid check 24/162924/6 accepted/tizen/unified/20171208.170404 submit/tizen/20171208.044750
YoungHun Kim [Wed, 6 Dec 2017 07:47:31 +0000 (16:47 +0900)]
Update the close fd with valid check

Change-Id: I06621b113fd0a897e230066cd8b2d3fce2375e48

6 years agoUpdate to pair with using received module address info of multi-instace 98/162798/1 accepted/tizen/unified/20171207.070151 submit/tizen/20171206.021754
YoungHun Kim [Mon, 4 Dec 2017 06:40:55 +0000 (15:40 +0900)]
Update to pair with using received module address info of multi-instace

 - The product issue is that there are several instances at that same time by destroying failed

Change-Id: Iefb9cab3e8073cc34cc2aebb1301e0deeff404d8
(cherry picked from commit ac566782d34c89faea3001e69b940e6896dcbc50)

6 years agoAdd the default value for error handler of invalid key 34/162234/1
YoungHun Kim [Tue, 28 Nov 2017 08:48:44 +0000 (17:48 +0900)]
Add the default value for error handler of invalid key

Change-Id: Ibcdc5b2bb750e2517efa03e7cf899755f1a1f4c7
(cherry picked from commit 2bbc1e2ab34063d1ee2013b4b7540a55dbb3e612)

6 years agoBug fix of product issue 17/161917/2
YoungHun Kim [Tue, 28 Nov 2017 07:32:56 +0000 (16:32 +0900)]
Bug fix of product issue

Change-Id: I3843adde3327d776bd4f851658c8cd9310768164

6 years agoMerge branch 'tizen_4.0' to tizen 87/161687/1
YoungHun Kim [Sun, 26 Nov 2017 23:00:03 +0000 (08:00 +0900)]
Merge branch 'tizen_4.0' to tizen

Change-Id: I1b89760d4ae3cd93eed9a4fed3d439782d3f9af6

6 years agoAdd to check the number of create instace 46/161446/3
YoungHun Kim [Wed, 22 Nov 2017 06:20:38 +0000 (15:20 +0900)]
Add to check the number of create instace

Change-Id: Ifdb172506d5f2e9a33bd8d4613696877721b9365
(cherry picked from commit f84f13a498b8792d7c5fb5e771702c2b49fdca39)

6 years agoDisable the client signal handler at tv profile 46/161546/2 accepted/tizen/4.0/unified/20171127.083227 submit/tizen_4.0/20171124.042549
YoungHun Kim [Fri, 24 Nov 2017 03:12:23 +0000 (12:12 +0900)]
Disable the client signal handler at tv profile

 - http://suprem.sec.samsung.net/jira/browse/TNEXT-5573

Change-Id: I5219598eb2d96b88a89a0aa840f5382425e4fe05

6 years agoAdd to check the number of create instace 06/161206/4
YoungHun Kim [Wed, 22 Nov 2017 06:20:38 +0000 (15:20 +0900)]
Add to check the number of create instace

Change-Id: Ifdb172506d5f2e9a33bd8d4613696877721b9365

6 years agoAdd the api to get the number of instance 89/161389/1 accepted/tizen/4.0/unified/20171124.063636 submit/tizen_4.0/20171123.073222
YoungHun Kim [Tue, 21 Nov 2017 05:36:16 +0000 (14:36 +0900)]
Add the api to get the number of instance

 - http://suprem.sec.samsung.net/jira/browse/MPR-1244

Change-Id: I184f4e5bc63edab2c1c2a6ff3b40074650637554
(cherry picked from commit 21ed250db22846ac84fe72795cf7aaba72de8f79)

6 years agoFix the issue of product 88/161388/1
YoungHun Kim [Wed, 22 Nov 2017 06:34:29 +0000 (15:34 +0900)]
Fix the issue of product

 - Need to set the value of pid in advance because the client using data channel is called same time

Change-Id: Idfc56879e732320cb2b9cd2754f2c3f88d217492
(cherry picked from commit 8091c52dbcd02a45de080ad5f366458fe2d41d48)

6 years agoAdd the api to get the number of instance 13/161013/5
YoungHun Kim [Tue, 21 Nov 2017 05:36:16 +0000 (14:36 +0900)]
Add the api to get the number of instance

 - http://suprem.sec.samsung.net/jira/browse/MPR-1244

Change-Id: I184f4e5bc63edab2c1c2a6ff3b40074650637554

6 years agoFix the issue of product 08/161208/3
YoungHun Kim [Wed, 22 Nov 2017 06:34:29 +0000 (15:34 +0900)]
Fix the issue of product

 - Need to set the value of pid in advance because the client using data channel is called same time

Change-Id: Idfc56879e732320cb2b9cd2754f2c3f88d217492

7 years agoNotify the additional information when external storage is removed 91/160591/1 accepted/tizen/4.0/unified/20171122.071122 submit/tizen_4.0/20171117.013922
YoungHun Kim [Fri, 17 Nov 2017 05:31:28 +0000 (14:31 +0900)]
Notify the additional information when external storage is removed

Change-Id: I8a142a0e8d82a63bf078b13cf9c94dd488df45a8

7 years agoBug fix at set value of module_t when destroy 90/160390/1 accepted/tizen/unified/20171116.110311 submit/tizen/20171116.045630 submit/tizen/20171117.053008
YoungHun Kim [Thu, 16 Nov 2017 03:53:55 +0000 (12:53 +0900)]
Bug fix at set value of module_t when destroy

 - Fix the side effet of https://review.tizen.org/gerrit/#/c/159192

Change-Id: I9c4a99fbfc9d7b51c498e96b2f753f45fabbaab4

7 years agoBug fix at set value of module_t when destroy 89/160389/1
YoungHun Kim [Thu, 16 Nov 2017 03:53:55 +0000 (12:53 +0900)]
Bug fix at set value of module_t when destroy

 - Fix the side effet of https://review.tizen.org/gerrit/#/c/159192

Change-Id: I9c4a99fbfc9d7b51c498e96b2f753f45fabbaab4

7 years agoNotify the additional information when external storage is removed 64/159964/11
YoungHun Kim [Tue, 14 Nov 2017 03:08:59 +0000 (12:08 +0900)]
Notify the additional information when external storage is removed

 - We add the information because serveral external storages (sdcard and usb etc) could be connected

Change-Id: Ic9536bce46e5c9662f566891c45050f0f62854db

7 years agoModify to use the dlsym saved at muse server with mutex lock 75/160275/1
YoungHun Kim [Wed, 15 Nov 2017 05:39:29 +0000 (14:39 +0900)]
Modify to use the dlsym saved at muse server with mutex lock

Change-Id: I16067f4bae2a639c98d9ae990fb8b9a0a814a109
(cherry picked from commit 14cfbb52e83804c1c816b51522d4b71df7af84c4)

7 years agoModify to use the dlsym saved at muse server with mutex lock 48/160248/5 submit/tizen_4.0/20171115.074600
YoungHun Kim [Wed, 15 Nov 2017 05:39:29 +0000 (14:39 +0900)]
Modify to use the dlsym saved at muse server with mutex lock

Change-Id: I16067f4bae2a639c98d9ae990fb8b9a0a814a109

7 years agoUpdate internal muse_server with direct function call 31/160031/1 submit/tizen_4.0/20171114.083345
YoungHun Kim [Tue, 7 Nov 2017 10:07:29 +0000 (19:07 +0900)]
Update internal muse_server with direct function call

 - Remove singleton arch and call the function directly
 - The prefix of internel muse-server is same with 'ms'
 - Comply with the consistent naming rule

Change-Id: Idf25f15cac855c0048edd6dc4b241475a328dc2e
(cherry picked from commit 11ba71c12a70ed6d88d3cf755cee3b6f8ad22dee)

7 years agoUpdate internal muse_server with direct function call 92/159192/14
YoungHun Kim [Tue, 7 Nov 2017 10:07:29 +0000 (19:07 +0900)]
Update internal muse_server with direct function call

 - Remove singleton arch and call the function directly
 - The prefix of internel muse-server is same with 'ms'
 - Comply with the consistent naming rule

Change-Id: Idf25f15cac855c0048edd6dc4b241475a328dc2e

7 years agoCode refactoring for managing the client connection 98/158998/1 accepted/tizen/4.0/unified/20171108.063616 submit/tizen_4.0/20171106.094509
YoungHun Kim [Mon, 23 Oct 2017 22:34:05 +0000 (07:34 +0900)]
Code refactoring for managing the client connection

   - Remove duplicate GHashTable and use only the GQueue
   - Use only the connection manager and remove other data structures
   - ipc is minimized for its original role and connection is processing at new connection.c

Change-Id: I2801f1fcf662d652f187b8e587c2bbbfedc365fd

7 years agoCode refactoring for managing the client connection 16/157216/16 accepted/tizen/unified/20171107.055240 submit/tizen/20171106.085829 submit/tizen/20171107.025125
YoungHun Kim [Mon, 23 Oct 2017 22:34:05 +0000 (07:34 +0900)]
Code refactoring for managing the client connection

   - Remove duplicate GHashTable and use only the GQueue
   - Use only the connection manager and remove other data structures
   - ipc is minimized for its original role and connection is processing at new connection.c

Change-Id: I2801f1fcf662d652f187b8e587c2bbbfedc365fd

7 years agoUpdate to change strerror_r to guaranteee of thread safety 14/157014/1 accepted/tizen/4.0/unified/20171023.120602 submit/tizen_4.0/20171023.063907 tizen_4.0.m2_release
YoungHun Kim [Mon, 23 Oct 2017 06:14:13 +0000 (15:14 +0900)]
Update to change strerror_r to guaranteee of thread safety

Change-Id: Ic64eb3db5f9784b2ef5ef00ed8c066d42faa1c2c

7 years agoUpdate to change strerror_r to guaranteee of thread safety 07/157007/3
YoungHun Kim [Mon, 23 Oct 2017 06:14:13 +0000 (15:14 +0900)]
Update to change strerror_r to guaranteee of thread safety

Change-Id: Ic64eb3db5f9784b2ef5ef00ed8c066d42faa1c2c

7 years agoMerge branch 'tizen' to tizen_4.0 02/156602/1 accepted/tizen/4.0/unified/20171019.235438 submit/tizen_4.0/20171019.060405
YoungHun Kim [Thu, 19 Oct 2017 05:51:25 +0000 (14:51 +0900)]
Merge branch 'tizen' to tizen_4.0

Change-Id: I21122881e2049fbb17c846bd9dfd77b5118c8bbe

7 years agoThe new thread (Diagnostic thread) is added 86/155786/20
YoungHun Kim [Mon, 16 Oct 2017 07:05:25 +0000 (16:05 +0900)]
The new thread (Diagnostic thread) is added

 1.  The thread supports the memcheck routine of work thread when destroy is called

Change-Id: Ia2de26fd031af963a9af0a985e94bef65ee7822b

7 years agoAdd to check if the fd is valid before calling send 43/156143/2
YoungHun Kim [Tue, 17 Oct 2017 08:50:31 +0000 (17:50 +0900)]
Add to check if the fd is valid before calling send

Change-Id: Ic4070c7a31e6d410c6324bd2da5dec7d50029e8d

7 years agoUpdate to use secure log about memory address 45/155745/1 accepted/tizen/4.0/unified/20171017.211736 submit/tizen_4.0/20171016.052258
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Update to use secure log about memory address

Change-Id: Ibc2ec9e3fdf9c1df0015490ac888f19f2c38a463

7 years agoThe msg and data channel pairs by using PID 09/155709/1
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
The msg and data channel pairs by using PID

Change-Id: I84398b0d986580f61cb22fae566fd32034179cd3

7 years agoAbbreviate the name of function and variable, which is used internally 39/155439/3
YoungHun Kim [Fri, 13 Oct 2017 06:38:30 +0000 (15:38 +0900)]
Abbreviate the name of function and variable, which is used internally

 Change the prefix called internally as below
  _muse_server -> _ms
  _muse_client -> _mc
  _muse_core -> _muse

Change-Id: I88acebd9652ec647fbc375e5f00b25f44b1d5e25

7 years agoUpdate to use secure log about memory address 43/155243/1
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Update to use secure log about memory address

Change-Id: Ibc2ec9e3fdf9c1df0015490ac888f19f2c38a463

7 years agoThe msg and data channel pairs by using PID 45/152445/18
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
The msg and data channel pairs by using PID

Change-Id: I84398b0d986580f61cb22fae566fd32034179cd3

7 years agoResolve the respawn bug and update the value of watchdog timeout 09/154709/1 accepted/tizen/4.0/unified/20171011.150344 submit/tizen_4.0/20171011.065626 tizen_4.0.IoT.p1_release
YoungHun Kim [Wed, 27 Sep 2017 02:15:49 +0000 (11:15 +0900)]
Resolve the respawn bug and update the value of watchdog timeout

Change-Id: Ic30ace0fc6bfad5e426bc5879afff101cf062acc

7 years agoResolve the respawn bug and update the value of watchdog timeout 27/152727/10
YoungHun Kim [Wed, 27 Sep 2017 02:15:49 +0000 (11:15 +0900)]
Resolve the respawn bug and update the value of watchdog timeout

Change-Id: Ic30ace0fc6bfad5e426bc5879afff101cf062acc

7 years agoSupport to get_module_index at muse_client 26/154526/1
YoungHun Kim [Thu, 28 Sep 2017 23:46:22 +0000 (08:46 +0900)]
Support to get_module_index at muse_client

Change-Id: I5750ee9f6a043026894b099ca829eedc816e3f8f

7 years agoMerge branch tizen into tizen_4.0 88/154288/1 accepted/tizen/4.0/unified/20171010.163046 submit/tizen_4.0/20171010.044818
YoungHun Kim [Tue, 10 Oct 2017 04:42:13 +0000 (13:42 +0900)]
Merge branch tizen into tizen_4.0

Change-Id: Ia9b7a708418f2291cf3b65a56323b907f8b4bf05

7 years agoSupport to get_module_index at muse_client 58/153558/5
YoungHun Kim [Thu, 28 Sep 2017 23:46:22 +0000 (08:46 +0900)]
Support to get_module_index at muse_client

Change-Id: I5750ee9f6a043026894b099ca829eedc816e3f8f

7 years agoFix coverity issue 30/153430/4
YoungHun Kim [Thu, 28 Sep 2017 10:14:57 +0000 (19:14 +0900)]
Fix coverity issue

Change-Id: I4cba914bf60faa637499cb1c077ba7a8c96ded37

7 years agoResolve the muse restart when detecting deadlock at main thread 29/152329/3
YoungHun Kim [Mon, 25 Sep 2017 23:58:18 +0000 (08:58 +0900)]
Resolve the muse restart when detecting deadlock at main thread

Change-Id: Ib24eef7fab51bfcc3c2ab96057d956896ef3478b

7 years agoCode refactoring 31/151831/8
YoungHun Kim [Fri, 22 Sep 2017 05:55:27 +0000 (14:55 +0900)]
Code refactoring

Change-Id: I4d0c51ee9173db45d059283a2c13ca0f30872f17

7 years agoUpdate the value of watchdog timeout at main thread 98/152198/1
YoungHun Kim [Mon, 25 Sep 2017 08:27:21 +0000 (17:27 +0900)]
Update the value of watchdog timeout at main thread

Change-Id: Id711af7053f97d5b4f832c6e491337829668edfc

7 years agoRevise the symbol name for performance once more 38/150138/1 accepted/tizen/4.0/unified/20170915.201730 submit/tizen_4.0/20170914.103816
YoungHun Kim [Thu, 14 Sep 2017 08:23:24 +0000 (17:23 +0900)]
Revise the symbol name for performance once more

Change-Id: I11f775408a014fad7dc9a257981b0782364185b3

7 years agoRevise the symbol name for performance once more 94/150094/2 accepted/tizen/unified/20170915.192241 submit/tizen/20170914.103839
YoungHun Kim [Thu, 14 Sep 2017 08:23:24 +0000 (17:23 +0900)]
Revise the symbol name for performance once more

Change-Id: I11f775408a014fad7dc9a257981b0782364185b3

7 years agoAdd the information of symbol name at dying message for debugging 53/150053/1 submit/tizen_4.0/20170914.070634
YoungHun Kim [Wed, 13 Sep 2017 07:40:57 +0000 (16:40 +0900)]
Add the information of symbol name at dying message for debugging

Change-Id: I1590dac97139df69ab6fc5ac278e6e2d2acd051a

7 years agoAdd the information of symbol name at dying message for debugging 31/149831/5 submit/tizen/20170914.071659
YoungHun Kim [Wed, 13 Sep 2017 07:40:57 +0000 (16:40 +0900)]
Add the information of symbol name at dying message for debugging

Change-Id: I1590dac97139df69ab6fc5ac278e6e2d2acd051a

7 years agoDisable the client signal handler at VD product 80/148980/1 accepted/tizen/4.0/unified/20170912.184132 submit/tizen_4.0/20170911.084102 submit/tizen_4.0/20170911.084739
YoungHun Kim [Mon, 11 Sep 2017 02:50:28 +0000 (11:50 +0900)]
Disable the client signal handler at VD product

Change-Id: I254574bb158ed69bd1440d0552c39248767bcff1

7 years agoDisable the client signal handler at VD product 14/148814/2
YoungHun Kim [Mon, 11 Sep 2017 02:50:28 +0000 (11:50 +0900)]
Disable the client signal handler at VD product

Change-Id: I254574bb158ed69bd1440d0552c39248767bcff1

7 years agoChange the format of return value at dlog 93/148793/1
YoungHun Kim [Thu, 7 Sep 2017 08:39:40 +0000 (17:39 +0900)]
Change the format of return value at dlog

Change-Id: I2b75bbd1a4d26d639161eb425b0818ca16193760

7 years agoChange the format of return value at dlog 68/148268/1
YoungHun Kim [Thu, 7 Sep 2017 08:39:40 +0000 (17:39 +0900)]
Change the format of return value at dlog

Change-Id: I2b75bbd1a4d26d639161eb425b0818ca16193760

7 years agoFix the directory path and bug 48/147848/2 accepted/tizen/4.0/unified/20170907.194606 submit/tizen_4.0/20170907.003121
YoungHun Kim [Wed, 6 Sep 2017 02:11:56 +0000 (11:11 +0900)]
Fix the directory path and bug

Change-Id: I3a9236891f04c46245d1bdf2e423d973e0cccdf8

7 years agoFix the directory path and bug 45/147845/4 accepted/tizen/unified/20170907.060344 submit/tizen/20170907.003146
YoungHun Kim [Wed, 6 Sep 2017 02:11:56 +0000 (11:11 +0900)]
Fix the directory path and bug

Change-Id: I3a9236891f04c46245d1bdf2e423d973e0cccdf8

7 years agoUpdate the condition race of connection while muse-server respawn 01/147401/1 accepted/tizen/4.0/unified/20170905.175047 submit/tizen_4.0/20170904.104924
YoungHun Kim [Mon, 4 Sep 2017 07:58:40 +0000 (16:58 +0900)]
Update the condition race of connection while muse-server respawn

Change-Id: Ieea1feeee3a46e164c29c7a44f7b67450350666a

7 years agoUpdate the condition race of connection while muse-server respawn 76/147276/6 accepted/tizen/unified/20170905.184239 submit/tizen/20170904.094358
YoungHun Kim [Sun, 3 Sep 2017 23:41:05 +0000 (08:41 +0900)]
Update the condition race of connection while muse-server respawn

Change-Id: I05b52825b90b7fc8ceba8c99108103c9b2dfd7ed

7 years agoUpdate to change server state before logging 95/147295/1 submit/tizen_4.0/20170904.014922
YoungHun Kim [Sun, 3 Sep 2017 23:41:05 +0000 (08:41 +0900)]
Update to change server state before logging

Change-Id: I05b52825b90b7fc8ceba8c99108103c9b2dfd7ed

7 years agomuse-core add pc_requied at muse-client package config 92/146092/1 accepted/tizen/unified/20170825.163305 submit/tizen/20170825.025110
Hyongtaek Lim [Fri, 25 Aug 2017 02:40:59 +0000 (11:40 +0900)]
muse-core add pc_requied at muse-client package config

Change-Id: Id49b5d172948a996aa8f5c484149e25984a07104
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd MUSE_SERVER_READY for product 14/145614/2 accepted/tizen/4.0/unified/20170829.020225 accepted/tizen/unified/20170823.170605 submit/tizen/20170823.084832 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_4.0/20170830.060221
YoungHun Kim [Wed, 23 Aug 2017 06:10:24 +0000 (15:10 +0900)]
Add MUSE_SERVER_READY for product

Change-Id: I989ccd7eddf07c3c10e2de2b567451b244bbfc2a

7 years agomuse-client's linking muse-core move to pcldflag for client 56/145656/2
Hyongtaek Lim [Wed, 23 Aug 2017 07:47:21 +0000 (16:47 +0900)]
muse-client's linking muse-core move to pcldflag for client

Change-Id: I5a502fdc7fab44a68d7d42df084ba3bec41e8cac
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd signal handler for client process 51/145251/6
Jeongmo Yang [Tue, 22 Aug 2017 01:40:10 +0000 (10:40 +0900)]
Add signal handler for client process

[Version] 0.3.3
[Profile] Common
[Issue Type] Update

Change-Id: I87549723d14be78fd45fae7e2bfb4775c280af6c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd to get data info for product 76/145376/2 submit/tizen/20170822.120726 submit/tizen/20170823.030712
YoungHun Kim [Tue, 22 Aug 2017 06:54:58 +0000 (15:54 +0900)]
Add to get data info for product

Change-Id: I094da1f9e3ca33d7de7dd8ab3f1ae3f5223ef170

7 years agoFix build error on 64bit environment 87/145087/1 accepted/tizen/unified/20170822.112951 submit/tizen/20170821.070131
Jeongmo Yang [Mon, 21 Aug 2017 07:38:07 +0000 (16:38 +0900)]
Fix build error on 64bit environment

[Version] 0.3.1-2
[Profile] Common
[Issue Type] Bug fix

Change-Id: I5eaef85b8d0119d4c998cd01bcf3d8393e377b68
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[0.3.1] Split mused to muse-server, muse-core and muse-client 42/144942/2
YoungHun Kim [Fri, 18 Aug 2017 11:11:52 +0000 (20:11 +0900)]
[0.3.1] Split mused to muse-server, muse-core and muse-client

Change-Id: I2684b6169d525c770e02f594ded5b281280034e3

7 years agoAdd to free system info 27/144827/1 accepted/tizen/unified/20170821.012302 submit/tizen/20170818.050029 submit/tizen/20170818.061527
YoungHun Kim [Fri, 18 Aug 2017 06:06:53 +0000 (15:06 +0900)]
Add to free system info

Change-Id: Iec833bf255a3991bca72c0acce3031b8b2a21da2

7 years agoUpdate the build feature of VD and update to set state 94/144794/4
YoungHun Kim [Fri, 18 Aug 2017 03:35:53 +0000 (12:35 +0900)]
Update the build feature of VD and update to set state

Change-Id: I31cccd7b00fdc37e682799ebd487e66bbd41b633

7 years agoRevert "Split mused to muse-server, muse-core (common) and muse-client part" 93/144793/1
YoungHun Kim [Fri, 18 Aug 2017 03:22:11 +0000 (03:22 +0000)]
Revert "Split mused to muse-server, muse-core (common) and muse-client part"

This reverts commit d9a174b95ac9e2d374883ec1bca7171289c1a607.

Change-Id: Ic13cb36ff598bd716f34e7e25aba92fe6154871b

7 years agoSplit mused to muse-server, muse-core (common) and muse-client part 99/138599/61
YoungHun Kim [Thu, 13 Jul 2017 02:31:08 +0000 (11:31 +0900)]
Split mused to muse-server, muse-core (common) and muse-client part

* The files are only installed, which are mused rpm likewise before.

 - rpm2cpio mused-0.2.3-1.armv7l.rpm | cpio -ivdm
  ./opt/data/mused
  ./usr/bin/muse-server
  +./usr/lib/libmuse-client.so.0
  +./usr/lib/libmuse-client.so.0.2.3
  +./usr/lib/libmuse-core.so.0
  +./usr/lib/libmuse-core.so.0.2.3
  +./usr/lib/libmuse-server.so.0
  +./usr/lib/libmuse-server.so.0.2.3
  ./usr/lib/systemd/system/multi-user.target.wants/muse-server.service
  ./usr/lib/systemd/system/muse-server.path
  ./usr/lib/systemd/system/muse-server.service
  ./usr/lib/systemd/system/muse-server.socket
  ./usr/lib/systemd/system/sockets.target.wants/muse-server.socket
  ./usr/share/licenses/mused
  ./usr/share/licenses/mused/LICENSE.APLv2
  ./var/log/mused

 - rpm2cpio mused-devel-0.2.3-1.armv7l.rpm | cpio -ivdm
  +./usr/include/media/muse_client.h
  ./usr/include/media/muse_core.h
  +./usr/include/media/muse_server.h
  +./usr/lib/libmuse-client.so
  +./usr/lib/libmuse-core.so
  +./usr/lib/libmuse-server.so
  +./usr/lib/pkgconfig/muse-client.pc
  +./usr/lib/pkgconfig/muse-core.pc
  +./usr/lib/pkgconfig/muse-server.pc

* muse module (server side) can depend on the muse_server.h

* The dlog macro is 'MUSED'

Change-Id: I73ca889fe418468012799352a567a9fda3175158

7 years agoAdd to init mutex of state 15/144415/1 accepted/tizen/unified/20170818.001006 submit/tizen/20170816.091600 submit/tizen/20170816.130636
YoungHun Kim [Wed, 16 Aug 2017 12:53:19 +0000 (21:53 +0900)]
Add to init mutex of state

Change-Id: I8c5716bfce7fb4b0a17b974c468c47b2b3c146e6

7 years agoResolve the memory leak and deadlock of VD issues 20/144320/2
YoungHun Kim [Wed, 16 Aug 2017 08:23:46 +0000 (17:23 +0900)]
Resolve the memory leak and deadlock of VD issues

 - free msg object of memory leak
 - Add state mutex lock for VD deadlock issue
 - UPdate eip once more of security requirement

Change-Id: I3a141c01d314090907997bb29b73eeb70843b689

7 years agoRollback the 'Remove 'process' at the eip of set_capability' 34/143334/1 accepted/tizen/unified/20170810.171923 submit/tizen/20170809.094850
YoungHun Kim [Wed, 9 Aug 2017 09:42:12 +0000 (18:42 +0900)]
Rollback the 'Remove 'process' at the eip of set_capability'

Change-Id: I5dfe528cc586fd10a6d36a3490cc45a490277e48

7 years agoRemove 'process' at the eip of set_capability 59/141359/1 accepted/tizen/unified/20170807.154010 submit/tizen/20170807.064235
YoungHun Kim [Mon, 31 Jul 2017 06:40:40 +0000 (15:40 +0900)]
Remove 'process' at the eip of set_capability

 - security requirment to remove the right which any process has the capability

Change-Id: I350bf3d57f00e098e50bde3063a50ce81bce05fc

7 years agoUse the absolute path because of security issue and resolve the Svace issue 32/139332/6
YoungHun Kim [Tue, 18 Jul 2017 11:01:18 +0000 (20:01 +0900)]
Use the absolute path because of security issue and resolve the Svace issue

 - Use the absolute path becuase of command Injection
 - Resolve the WGID 23518

Change-Id: I7ebbb7547d3a71bb3baa43f70214a302cd4dfd78

7 years agoUpdate the build feature of VD 63/139763/3
YoungHun Kim [Thu, 20 Jul 2017 09:34:57 +0000 (18:34 +0900)]
Update the build feature of VD

 - VD Requirement for Tizen_4.0

Change-Id: I003d748d46e3daf363bb5bc305b530a3ffd3cedd

7 years agoRemove the getenv by security issue of VD 73/139773/1
YoungHun Kim [Thu, 20 Jul 2017 09:40:06 +0000 (18:40 +0900)]
Remove the getenv by security issue of VD

Change-Id: Iaae8e5d53d95e83391faa2c1622e5f58e47f00fd

7 years agoUpdate to kill with SIGABRT when repawn 65/137965/3
YoungHun Kim [Mon, 10 Jul 2017 11:44:36 +0000 (20:44 +0900)]
Update to kill with SIGABRT when repawn

[Problem] mused can't restart when crashed in C# TCT
[Cause & Measure] The issue is of start-limit-hit, which is that systemd is trying to restart service file, after doing this several times systemd gives up (the default limit is 5 tries within a 10 second period).
                  We can solve the issue by TimeoutStopSec or systemd delay of creating coredump and my soulution is the second choice.

Change-Id: I2622020cea574538cf0e16f4ad972ce76a99a1b9

7 years agoUpdate to ignore the create api call when mused is not ready 14/136414/13
YoungHun Kim [Thu, 29 Jun 2017 10:09:59 +0000 (19:09 +0900)]
Update to ignore the create api call when mused is not ready

Change-Id: Ib4c4d910e87dd94f1dc8585324a1481ee60c4c44

7 years agoDisable the respawn when detecting memory leak until the issue is resolved 21/136321/1 accepted/tizen/4.0/unified/20170816.011745 accepted/tizen/4.0/unified/20170816.014914 accepted/tizen/unified/20170703.064153 submit/tizen/20170629.065632 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
YoungHun Kim [Thu, 29 Jun 2017 05:31:48 +0000 (14:31 +0900)]
Disable the respawn when detecting memory leak until the issue is resolved

Change-Id: I6ebebe1273c6bcb95880eff8e58a46e99e52b046

7 years agoAdd priv_recorder at SupplementaryGroups 25/134525/1 accepted/tizen/unified/20170630.083148 submit/tizen/20170619.085943
YoungHun Kim [Mon, 19 Jun 2017 05:29:05 +0000 (14:29 +0900)]
Add priv_recorder at SupplementaryGroups

Change-Id: I4c0987cbb8cde3ccaa3278026745a8b98a56da68

7 years agoComply with VD log reduction guide 40/134340/1 accepted/tizen/unified/20170630.083026 submit/tizen/20170616.053322
YoungHun Kim [Fri, 16 Jun 2017 05:19:25 +0000 (14:19 +0900)]
Comply with VD log reduction guide

Change-Id: I9e78695b01e2df1be07621fab5e1b52fc7d728b5

7 years agoUpdate to close the data channel's socket 69/132569/1 accepted/tizen/unified/20170608.072207 submit/tizen/20170607.045445
YoungHun Kim [Thu, 1 Jun 2017 08:01:22 +0000 (17:01 +0900)]
Update to close the data channel's socket

Change-Id: I2c8d4c87565919c0d27f10f566d9137674497f5d

7 years agoMerge branch 'tizen_3.0' into tizen 45/131645/1
YoungHun Kim [Tue, 30 May 2017 08:35:46 +0000 (17:35 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I5cdad79d85eca4a178a1bb0c1a01d05e00d512fd

7 years agoUpdate to set dispatcher of disable watchdog using mused.conf 39/131039/5
YoungHun Kim [Thu, 25 May 2017 07:08:16 +0000 (16:08 +0900)]
Update to set dispatcher of disable watchdog using mused.conf

Change-Id: I3c3ea91e895ee2c44cfb3f68580c8551a4baede3

7 years agoUpdate to check memory after destroy 09/130809/8
YoungHun Kim [Wed, 24 May 2017 05:32:31 +0000 (14:32 +0900)]
Update to check memory after destroy

Change-Id: Id4154a85a2b7ba4265e896a6f0ed46cb8cc15f11

7 years agoUpdate to set module to NULL in cleanup 83/130783/3 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170605.123956 accepted/tizen/3.0/ivi/20170605.015029 accepted/tizen/3.0/mobile/20170605.015022 accepted/tizen/3.0/tv/20170605.015024 accepted/tizen/3.0/wearable/20170605.015027 submit/tizen_3.0/20170525.103814 submit/tizen_3.0/20170602.003537
YoungHun Kim [Wed, 24 May 2017 03:16:54 +0000 (12:16 +0900)]
Update to set module to NULL in cleanup

Change-Id: I626b7dcf19f645658cfbc488c237f72596b1688a

7 years agoMerge branch 'tizen_3.0' into tizen 40/130440/1 accepted/tizen/unified/20170522.190534 submit/tizen/20170522.100040 tizen_4.0.m1_release
YoungHun Kim [Mon, 22 May 2017 09:30:21 +0000 (18:30 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id80f21b50e375cfb5430f462a6e89d8f3aec80f0

7 years agoReturn NULL explicitly when data is NULL 29/130429/1
YoungHun Kim [Mon, 22 May 2017 08:59:33 +0000 (17:59 +0900)]
Return NULL explicitly when data is NULL

Change-Id: If10e74a47180d3e1376301e6c57aa39e1fe1a00e

7 years agoUpdate to call the unsubscribe_poweroff_state_change 19/128719/3
YoungHun Kim [Thu, 11 May 2017 06:29:08 +0000 (15:29 +0900)]
Update to call the unsubscribe_poweroff_state_change

Change-Id: Icd6d3f4601db788c076fc481de5bb5e5cbd6b6e4

7 years agoUpdate the array size to resolve overflow issue 19/128219/2 accepted/tizen/unified/20170510.012859 submit/tizen/20170508.044749
YoungHun Kim [Mon, 8 May 2017 05:29:52 +0000 (14:29 +0900)]
Update the array size to resolve overflow issue

Change-Id: If3a49fa29648f28225bde5dcf228f6252b8a3455

7 years agoUpdate the array size to resolve overflow issue 15/128215/1
YoungHun Kim [Mon, 8 May 2017 05:29:52 +0000 (14:29 +0900)]
Update the array size to resolve overflow issue

Change-Id: If3a49fa29648f28225bde5dcf228f6252b8a3455

7 years agoRespawn when job furction of workqueue is failed 47/128147/2
YoungHun Kim [Mon, 8 May 2017 02:30:51 +0000 (11:30 +0900)]
Respawn when job furction of workqueue is failed

Change-Id: I816155dd5672f4fa278da0962c9b31abe203d274

7 years agoAdd the feature to enable the watchdog, which is disable at vd product 43/128143/2
YoungHun Kim [Mon, 8 May 2017 02:08:57 +0000 (11:08 +0900)]
Add the feature to enable the watchdog, which is disable at vd product

Change-Id: I4af31d1af87da7961dda18f7b373536ce4a99198

7 years agoMerge branch 'tizen_3.0' into tizen 74/127074/1 accepted/tizen/unified/20170426.200003 submit/tizen/20170426.063338
YoungHun Kim [Wed, 26 Apr 2017 06:19:05 +0000 (15:19 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I0be6384ecb60def69a7628dd15d04efdaeee128b

7 years agoResolve the issue of futex_wait at freezing mode 80/126780/2
YoungHun Kim [Tue, 25 Apr 2017 05:25:48 +0000 (14:25 +0900)]
Resolve the issue of futex_wait at freezing mode

 : kernel can't catch the signal's history of g_cond_wait in the case not to unlock condition race

Change-Id: I0fa84b4fd1310fd334e50d6a1c6d5107120c045a

7 years agoIgnore SIG_PIPE because of avoiding the socket exception error 61/125061/3
YoungHun Kim [Thu, 13 Apr 2017 12:39:11 +0000 (21:39 +0900)]
Ignore SIG_PIPE because of avoiding the socket exception error

Change-Id: Ib764ba0ff58e7ba204cd8e6b577c2938aa058ebd

7 years agoAdd to check if memory pointer is valid or not to avoid the illegal violation 80/121480/8
YoungHun Kim [Tue, 28 Mar 2017 06:06:49 +0000 (15:06 +0900)]
Add to check if memory pointer is valid or not to avoid the illegal violation

Change-Id: I7bf2497e01ad43fcb75edee6ec86d4de48ca31ca

7 years agoUpdate the array size to resolve overflow issue 59/125359/1 accepted/tizen/3.0/common/20170508.152956 accepted/tizen/3.0/ivi/20170508.050141 accepted/tizen/3.0/mobile/20170508.050023 accepted/tizen/3.0/tv/20170508.050051 accepted/tizen/3.0/wearable/20170508.050113 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170417.044315 submit/tizen_3.0_common/20170508.091735
YoungHun Kim [Mon, 17 Apr 2017 05:59:00 +0000 (14:59 +0900)]
Update the array size to resolve overflow issue

Change-Id: I68d7ca7110c87a681811253dabd06a96013d0c63

7 years agoMerge branch 'tizen_3.0' into tizen 70/123970/1 accepted/tizen/unified/20170410.160136 submit/tizen/20170410.072959
YoungHun Kim [Mon, 10 Apr 2017 00:13:32 +0000 (09:13 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic63373f02baffb73f6474683cde6694294b1336c

7 years agoChange message receive mechanism for data worker 00/123600/11 submit/tizen_3.0/20170410.001748
Jeongmo Yang [Thu, 6 Apr 2017 07:51:17 +0000 (16:51 +0900)]
Change message receive mechanism for data worker

1. get message for module
2. get data recursively
 a. get header first
 b. check data size and allocate
 c. receive data recursively until received size is same with data size

[Version] 0.1.63
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20170403.2]

Change-Id: I4f4ac0ab0b6cb85b1da43035d83a6375bf4f5b05
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd to get platform info which is supported or not 00/122800/7
YoungHun Kim [Mon, 3 Apr 2017 11:27:24 +0000 (20:27 +0900)]
Add to get platform info which is supported or not

Change-Id: If7859f3873542112e175a6cbf2601d9a10c244a5