platform/core/multimedia/mmsvc-core.git
6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

7 years agoRollback the requirement of changing the value of Restart option 93/122193/1
YoungHun Kim [Thu, 30 Mar 2017 12:20:07 +0000 (21:20 +0900)]
Rollback the requirement of changing the value of Restart option

Change-Id: I282e07af8d7939adbf48f1eabae6988a4d493cc2

7 years agoMerge branch 'tizen_3.0' into tizen 77/120777/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142327 accepted/tizen/ivi/20170403.130028 accepted/tizen/mobile/20170403.125626 accepted/tizen/tv/20170403.125826 accepted/tizen/unified/20170403.130121 accepted/tizen/wearable/20170403.125916 submit/tizen/20170403.050513
YoungHun Kim [Fri, 24 Mar 2017 06:57:52 +0000 (15:57 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ib8572cf466f59ae57285162d95138f0ba2c3f5ab

7 years agoUpdate to use '%license macro' and remove the unnecessary 'cp' part of mused.spec 57/120357/7 accepted/tizen/3.0/common/20170330.125154 accepted/tizen/3.0/ivi/20170330.092050 accepted/tizen/3.0/mobile/20170330.091834 accepted/tizen/3.0/tv/20170330.091949 accepted/tizen/3.0/wearable/20170330.092019 submit/tizen_3.0/20170329.075800
YoungHun Kim [Wed, 22 Mar 2017 11:15:22 +0000 (20:15 +0900)]
Update to use '%license macro' and remove the unnecessary 'cp' part of mused.spec
Update the function of write info

Change-Id: Ib937484cebcaa2ca56047acd737374130248c932

7 years agoSplit the watchdog for main loop separately 58/120358/5
Seungbae Shin [Wed, 22 Mar 2017 11:28:14 +0000 (20:28 +0900)]
Split the watchdog for main loop separately

Change-Id: I11794f98ba19c48d0f15826923885430db869205

7 years agoAdd watchdog for mainloop 61/120161/7
Jeongmo Yang [Wed, 22 Mar 2017 02:55:38 +0000 (11:55 +0900)]
Add watchdog for mainloop

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

Change-Id: I89c0015c1f25709b05cd68e20beed0baf12522b2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate to log the thread info when create() failed 57/119757/2
YoungHun Kim [Mon, 20 Mar 2017 04:59:43 +0000 (13:59 +0900)]
Update to log the thread info when create() failed

Change-Id: Ib6f19bdc17168ecc86ed4a64b1882e71e2b62392

7 years agoMerge branch 'tizen_3.0' into tizen 44/119444/1
YoungHun Kim [Fri, 17 Mar 2017 04:21:36 +0000 (13:21 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I71b71652003cf31008543cb00969ed8ddf2691af

7 years agoChange the value of Restart option with 'on-failure' 70/119370/1 accepted/tizen/3.0/common/20170320.130357 accepted/tizen/3.0/ivi/20170320.080344 accepted/tizen/3.0/mobile/20170320.074757 accepted/tizen/3.0/tv/20170320.075821 accepted/tizen/3.0/wearable/20170320.080114 submit/tizen_3.0/20170317.034449
YoungHun Kim [Thu, 16 Mar 2017 13:03:53 +0000 (22:03 +0900)]
Change the value of Restart option with 'on-failure'

Change-Id: Iafa970c1af6a22be7a399b555585e99a64cd6050

7 years agoAdd command dispatcher for external storage state change 45/119045/14
YoungHun Kim [Wed, 15 Mar 2017 08:32:42 +0000 (17:32 +0900)]
Add command dispatcher for external storage state change

Change-Id: Ice2d0b0d636d8def0013fc744f1f8f4688200392

7 years agoUpdate the unique id to distinguish socket 70/117970/18
YoungHun Kim [Wed, 8 Mar 2017 07:15:33 +0000 (16:15 +0900)]
Update the unique id to distinguish socket

Change-Id: Ifc7c53c62b1a4371f86cbd3747aab088f8921ebf

7 years agoAdd to clear the pid handle lock 49/118749/1
YoungHun Kim [Tue, 14 Mar 2017 03:17:54 +0000 (12:17 +0900)]
Add to clear the pid handle lock

Change-Id: Ib6967958d105428341bee1da9394584ae4f01d34

7 years agoUpdate to check the dispatcher's return vaule 17/118217/13
YoungHun Kim [Thu, 9 Mar 2017 08:04:27 +0000 (17:04 +0900)]
Update to check the dispatcher's return vaule

Change-Id: Id7670047c4793647959580563e925301b288ae6c

7 years agoChange to log the handle info when resource error and update the dispatch callback 11/118611/10
YoungHun Kim [Mon, 13 Mar 2017 08:49:22 +0000 (17:49 +0900)]
Change to log the handle info when resource error and update the dispatch callback

Change-Id: I93268dad2edb791d4b97d00b31f79db63164080d

7 years agoAdd the build feature of IWB 81/118581/2
YoungHun Kim [Mon, 13 Mar 2017 07:55:55 +0000 (16:55 +0900)]
Add the build feature of IWB

Change-Id: Ic87e818f4d628769a9759908f88ec9655aef4032

7 years agoUpdate to log the number of handle when client calls create api 09/118409/2
YoungHun Kim [Fri, 10 Mar 2017 08:21:30 +0000 (17:21 +0900)]
Update to log the number of handle when client calls create api

Change-Id: I9cdf2f62a0e33a341dd8561249c5a328769275c9

7 years agoRemove the unnecessary workqueue thread 78/117978/2
YoungHun Kim [Wed, 8 Mar 2017 07:48:16 +0000 (16:48 +0900)]
Remove the unnecessary workqueue thread

Change-Id: Ia8e6e42c057ed33f1afbe1c5bc29b2c315366556

7 years agoFix svace issue 99/118199/3
YoungHun Kim [Thu, 9 Mar 2017 06:42:26 +0000 (15:42 +0900)]
Fix svace issue

Change-Id: I9cd8895b4d75c3a1083ffcd8b4d987ff27251045

7 years agoAdd info at muse log file for debugging 23/117723/5
YoungHun Kim [Tue, 7 Mar 2017 07:51:54 +0000 (16:51 +0900)]
Add info at muse log file for debugging

Change-Id: I78859ea09ea0d1be7c84a78257714cee65d0923a

7 years agoUpdate the dedicated mutex lock for dispatcher's condition race 12/117712/3
YoungHun Kim [Tue, 7 Mar 2017 07:32:34 +0000 (16:32 +0900)]
Update the dedicated mutex lock for dispatcher's condition race

Change-Id: Ib36052166c4f631241024d83b5d31939f227f6dc

7 years agoMerge branch 'tizen_3.0' into tizen 65/117165/1
Jeongmo Yang [Fri, 3 Mar 2017 05:45:35 +0000 (14:45 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I2f323127bf1ea136aa2324a79adc5e001f9a7bc5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix memory corruption 17/116917/1 accepted/tizen/3.0/common/20170303.085743 accepted/tizen/3.0/ivi/20170302.222438 accepted/tizen/3.0/mobile/20170302.222324 accepted/tizen/3.0/tv/20170302.222355 accepted/tizen/3.0/wearable/20170302.222416 submit/tizen_3.0/20170302.044802
Jeongmo Yang [Thu, 2 Mar 2017 04:22:07 +0000 (13:22 +0900)]
Fix memory corruption

[Version] 0.1.54
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170227.2]

Change-Id: I44b471a2c16ed6953cae85d3abb922f16448a7f4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd NULL check for config free function 17/116617/1
Jeongmo Yang [Mon, 27 Feb 2017 08:47:27 +0000 (17:47 +0900)]
Add NULL check for config free function

[Version] 0.1.53
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I54e1df68baffc6f6ebf098e762aaf283c2401e96
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoRemove sync call when connection close 41/115941/1 accepted/tizen/3.0/common/20170223.122206 accepted/tizen/3.0/ivi/20170223.084242 accepted/tizen/3.0/mobile/20170223.084155 accepted/tizen/3.0/tv/20170223.084207 accepted/tizen/3.0/wearable/20170223.084223 submit/tizen_3.0/20170222.070231
Jeongmo Yang [Wed, 22 Feb 2017 06:37:59 +0000 (15:37 +0900)]
Remove sync call when connection close

It can waste too much time if file operation is working on target,
So, application could be crashed with ANR by watchdog.

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

Change-Id: I2eccd256a0766ffc07925ff13364d9e864e27a7d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate to add the app pid and dispatcher name information when log enabled 74/114074/6
YoungHun Kim [Fri, 10 Feb 2017 01:58:40 +0000 (10:58 +0900)]
Update to add the app pid and dispatcher name information when log enabled

Change-Id: Ib745ff9074d11714d7fe7b38bf65a12e2e936bda

7 years agoFix svace issues (MEMORY_LEAK.EX, OVERFLOW_UNDER_CHECK) 78/115078/1 accepted/tizen/3.0/common/20170220.125711 accepted/tizen/3.0/ivi/20170220.013856 accepted/tizen/3.0/mobile/20170220.013525 accepted/tizen/3.0/tv/20170220.013626 accepted/tizen/3.0/wearable/20170220.013740 submit/tizen_3.0/20170216.114148
Gilbok Lee [Thu, 16 Feb 2017 08:06:53 +0000 (17:06 +0900)]
Fix svace issues (MEMORY_LEAK.EX, OVERFLOW_UNDER_CHECK)

Change-Id: Ibf6ba6311c32c47d9909f4c46c8fd9d749fc973e

7 years agoSecurity related functions are updated not to check timeout 00/113900/2 accepted/tizen/3.0/common/20170210.171020 accepted/tizen/3.0/ivi/20170210.082142 accepted/tizen/3.0/mobile/20170210.081939 accepted/tizen/3.0/tv/20170210.082016 accepted/tizen/3.0/wearable/20170210.082100 submit/tizen_3.0/20170209.083529
YoungHun Kim [Thu, 9 Feb 2017 08:19:52 +0000 (17:19 +0900)]
Security related functions are updated not to check timeout

Change-Id: If9c48e314c9241b48909f694eae08dbb83bac2af

7 years agoUpdate to close the open fd for daemon redirection 71/113571/1 accepted/tizen/common/20170214.173908 accepted/tizen/ivi/20170214.230157 accepted/tizen/mobile/20170214.230045 accepted/tizen/tv/20170214.230108 accepted/tizen/unified/20170309.033228 accepted/tizen/wearable/20170214.230127 submit/tizen/20170214.113450 submit/tizen_unified/20170308.100408
YoungHun Kim [Tue, 7 Feb 2017 12:34:35 +0000 (21:34 +0900)]
Update to close the open fd for daemon redirection

Change-Id: I9510ef102edb21397a40b7aa89f5fff0b9fd1086

7 years agoUpdate to close the open fd for daemon redirction 66/113566/1
YoungHun Kim [Wed, 8 Feb 2017 05:02:21 +0000 (21:02 -0800)]
Update to close the open fd for daemon redirction

Change-Id: I2c032bc2638ab4d6a387ca99d2276113366b820f

7 years agoUpdate to close the open fd for daemon redirction 22/113522/4 submit/tizen_3.0/20170208.065825
YoungHun Kim [Wed, 8 Feb 2017 05:02:21 +0000 (21:02 -0800)]
Update to close the open fd for daemon redirction

Change-Id: I2c032bc2638ab4d6a387ca99d2276113366b820f

7 years agoResolve fd leak 40/113440/2
YoungHun Kim [Tue, 7 Feb 2017 12:34:35 +0000 (21:34 +0900)]
Resolve fd leak

Change-Id: I9510ef102edb21397a40b7aa89f5fff0b9fd1086

7 years agoMerge branch 'tizen_3.0' into tizen 32/113232/1 accepted/tizen/common/20170207.061915 accepted/tizen/ivi/20170207.091952 accepted/tizen/mobile/20170207.091516 accepted/tizen/tv/20170207.091702 accepted/tizen/wearable/20170207.091830 submit/tizen/20170207.014233
YoungHun Kim [Tue, 7 Feb 2017 01:00:47 +0000 (10:00 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I910ff9433519666e7a8308d12f88c80ff6cedede

7 years agoResolve the side effect of gst param 74/113174/2 accepted/tizen/3.0/common/20170207.092301 accepted/tizen/3.0/ivi/20170207.084717 accepted/tizen/3.0/mobile/20170207.084628 accepted/tizen/3.0/tv/20170207.084644 accepted/tizen/3.0/wearable/20170207.084658 submit/tizen_3.0/20170207.014129
YoungHun Kim [Mon, 6 Feb 2017 11:04:42 +0000 (20:04 +0900)]
Resolve the side effect of gst param

Change-Id: I1cf645cf1009b35d66301e07123f970c2a0bb1c5

7 years agoChange MUSE_USE_LOG to use mused.conf because of no build feature 83/112983/10
YoungHun Kim [Fri, 3 Feb 2017 13:37:05 +0000 (22:37 +0900)]
Change MUSE_USE_LOG to use mused.conf because of no build feature

Change-Id: I0f939c2cd9821b9ac9baa85278499a759f210250

7 years agoDo not return 1 at daemon main() 68/112968/2
YoungHun Kim [Fri, 3 Feb 2017 12:14:56 +0000 (21:14 +0900)]
Do not return 1 at daemon main()

Change-Id: Ia0abbf6aa642af033ec2297e72ae52cfb07369fb

7 years agoUpate to check the vaule of type when parsing json 62/112962/2
YoungHun Kim [Fri, 3 Feb 2017 11:33:21 +0000 (20:33 +0900)]
Upate to check the vaule of type when parsing json

Change-Id: If0c86017201042e93212dafa4c761828b3c916de

7 years agoWaiting until real cond signal or timeout 25/112625/3
Hyongtaek Lim [Thu, 2 Feb 2017 04:39:15 +0000 (13:39 +0900)]
Waiting until real cond signal or timeout

Change-Id: Ie13157ade1518bf1efbf46c6e0f0b6b07457ceab
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd to redirect fds when daemonizing 16/112616/1
YoungHun Kim [Wed, 1 Feb 2017 03:58:12 +0000 (12:58 +0900)]
Add to redirect fds when daemonizing

Change-Id: I06d4b7b2d2da3edccce00f5889cae1deeaa14b19

7 years agoAdd to redirect fds when daemonizing 34/112434/4
YoungHun Kim [Wed, 1 Feb 2017 03:58:12 +0000 (12:58 +0900)]
Add to redirect fds when daemonizing

Change-Id: I06d4b7b2d2da3edccce00f5889cae1deeaa14b19

7 years agoMerge branch 'tizen_3.0' into tizen 71/111971/1
YoungHun Kim [Wed, 25 Jan 2017 07:25:44 +0000 (16:25 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ieaa119f684cb0bac2c7cc36568ee88d890fff8bb

7 years agoUpdate to check type vlaue of power off signal 18/111918/6 accepted/tizen/3.0/common/20170126.092429 accepted/tizen/3.0/ivi/20170126.060535 accepted/tizen/3.0/mobile/20170126.060441 accepted/tizen/3.0/tv/20170126.060458 accepted/tizen/3.0/wearable/20170126.060519 submit/tizen_3.0/20170125.073908
YoungHun Kim [Wed, 25 Jan 2017 03:44:38 +0000 (12:44 +0900)]
Update to check type vlaue of power off signal

Change-Id: I0c7132f9f6addd3a04dcea7574c2ad539d3a03c9

7 years agoComply with Tizen coding rule 88/111888/2
YoungHun Kim [Tue, 24 Jan 2017 12:47:54 +0000 (21:47 +0900)]
Comply with Tizen coding rule

Change-Id: Ia5fbae1343712be83d78bbdd405a3cd94c32eacb

7 years agoUpdate muse config because of build issue 54/111854/6
YoungHun Kim [Tue, 24 Jan 2017 08:45:03 +0000 (17:45 +0900)]
Update muse config because of build issue

Change-Id: Ib8c401e4c527e6988c94092e293831980e0274ef

7 years agoUpdate muse config because of build issue 32/111832/2
YoungHun Kim [Tue, 24 Jan 2017 08:45:03 +0000 (17:45 +0900)]
Update muse config because of build issue

Change-Id: Ib8c401e4c527e6988c94092e293831980e0274ef

7 years agoRemove spurious wakeups patch and cover for adding g_cond_init 06/111806/2
YoungHun Kim [Tue, 24 Jan 2017 05:44:01 +0000 (14:44 +0900)]
Remove spurious wakeups patch and cover for adding g_cond_init

Change-Id: I77101f5b9e65220d0af1a79181f3c9af3eb6a5a4

7 years agoMerge branch 'tizen_3.0' into tizen 77/111777/1
YoungHun Kim [Tue, 24 Jan 2017 02:46:29 +0000 (11:46 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I03bb0ca42f85c02fffb7a6248407c33fadc68a23

7 years agoUpdate to use the information of mused.conf 74/111574/13
YoungHun Kim [Mon, 23 Jan 2017 01:49:48 +0000 (10:49 +0900)]
Update to use the information of mused.conf

Change-Id: I000abcd7220e0b976283342739000766905a8f43

7 years agoRemove the ISSOCKET part in checking file descrtion valid or not 53/111353/2
YoungHun Kim [Fri, 20 Jan 2017 07:08:37 +0000 (16:08 +0900)]
Remove the ISSOCKET part in checking file descrtion valid or not

Change-Id: I7c9a31fedf89551d3f9aacb8af2447c22070ba1d

7 years agoUpdate to change avoc_ready event name 59/111259/1
Hyongtaek Lim [Fri, 20 Jan 2017 04:09:37 +0000 (13:09 +0900)]
Update to change avoc_ready event name

Change-Id: Ibd55e5e3283be8045cf80b13b4052d5fe3a84fa3
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoMerge "Do not call shutdown in muse respawn" into tizen_3.0 accepted/tizen/3.0/common/20170119.105630 accepted/tizen/3.0/ivi/20170118.230244 accepted/tizen/3.0/ivi/20170119.225410 accepted/tizen/3.0/mobile/20170118.230153 accepted/tizen/3.0/mobile/20170119.225322 accepted/tizen/3.0/tv/20170118.230210 accepted/tizen/3.0/tv/20170119.225340 accepted/tizen/3.0/wearable/20170118.230227 accepted/tizen/3.0/wearable/20170119.225355 submit/tizen_3.0/20170117.101514 submit/tizen_3.0/20170118.115942
YoungHun Kim [Tue, 17 Jan 2017 07:29:22 +0000 (23:29 -0800)]
Merge "Do not call shutdown in muse respawn" into tizen_3.0

7 years agoDo not call shutdown in muse respawn 04/110604/1
YoungHun Kim [Tue, 17 Jan 2017 06:59:39 +0000 (15:59 +0900)]
Do not call shutdown in muse respawn

Change-Id: I7082a1821941dde04185ad0d5b59f85c27755459

7 years agoRemove the argos watchdog because it can be identified by the dispatcher timer 96/110596/2
YoungHun Kim [Tue, 17 Jan 2017 06:49:15 +0000 (15:49 +0900)]
Remove the argos watchdog because it can be identified by the dispatcher timer

Change-Id: I487771ffb9b1e122091c874ca3ff7453e898791a

7 years agoFix the build error by toolchain upgrade 03/110503/1
YoungHun Kim [Tue, 17 Jan 2017 00:18:09 +0000 (09:18 +0900)]
Fix the build error by toolchain upgrade

Change-Id: I68ad38acf2c54af112944912149e36cd51f83158

7 years agoFix the build error by toolchain upgrade 99/110499/2 accepted/tizen/common/20170117.174641 accepted/tizen/ivi/20170117.054504 accepted/tizen/mobile/20170117.054410 accepted/tizen/tv/20170117.054430 accepted/tizen/wearable/20170117.054450 submit/tizen/20170117.033841
YoungHun Kim [Tue, 17 Jan 2017 00:18:09 +0000 (09:18 +0900)]
Fix the build error by toolchain upgrade

Change-Id: I68ad38acf2c54af112944912149e36cd51f83158

7 years agoLink lwipc library 13/110113/1
Hyongtaek Lim [Fri, 13 Jan 2017 03:46:34 +0000 (12:46 +0900)]
Link lwipc library

Change-Id: I9e4522623ee981755f7380f8075e19af25151179
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 79/109779/1
YoungHun Kim [Wed, 11 Jan 2017 13:40:42 +0000 (22:40 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I81a9e48d8b8daa993c54c46169a14d5b3d57a965

7 years agoMuse respawn when detecting critical error at server 65/109265/8
YoungHun Kim [Mon, 9 Jan 2017 13:12:36 +0000 (22:12 +0900)]
Muse respawn when detecting critical error at server

Change-Id: Id6f1895e6fcdc97d3313b3690abc2acd90bb0961

7 years agoUpdate g_cond_wait_until considering spurious wakeups 15/109515/4 accepted/tizen/3.0/common/20170113.072255 accepted/tizen/3.0/ivi/20170113.000839 accepted/tizen/3.0/mobile/20170113.000752 accepted/tizen/3.0/tv/20170113.000806 accepted/tizen/3.0/wearable/20170113.000825 submit/tizen_3.0/20170111.113840
YoungHun Kim [Tue, 10 Jan 2017 08:27:34 +0000 (17:27 +0900)]
Update g_cond_wait_until considering spurious wakeups

Change-Id: I5f5283cd556d0721e5672d9529de3066ae37d27d

7 years agoCall to sync() after closing fd and update to check the fd valid 10/108710/7
YoungHun Kim [Thu, 5 Jan 2017 12:37:12 +0000 (21:37 +0900)]
Call to sync() after closing fd and update to check the fd valid

Change-Id: I83ddcae7e19f884cf36f75779340dcf2a541de58

7 years agoAdd buffer size parmeter of LwipcWaitMultiEvents 79/108879/1
Hyongtaek Lim [Fri, 6 Jan 2017 06:20:09 +0000 (15:20 +0900)]
Add buffer size parmeter of LwipcWaitMultiEvents

Change-Id: I9b6f84d624e55ea13701323fc25c7f95535cdb18
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
7 years agoAdd g_thread_unref at msg channel 24/108224/1 accepted/tizen/common/20170112.174244 accepted/tizen/ivi/20170111.223017 accepted/tizen/mobile/20170111.222925 accepted/tizen/tv/20170111.222943 accepted/tizen/wearable/20170111.223003 submit/tizen/20170111.114435
YoungHun Kim [Mon, 2 Jan 2017 12:13:49 +0000 (21:13 +0900)]
Add g_thread_unref at msg channel

Change-Id: If0fc8db753b4aac0df4e0b901317ed40974da461

7 years agoAdd g_thread_unref at msg channel 41/108041/1
YoungHun Kim [Mon, 2 Jan 2017 12:13:49 +0000 (21:13 +0900)]
Add g_thread_unref at msg channel

Change-Id: If0fc8db753b4aac0df4e0b901317ed40974da461

7 years agoMerge branch 'tizen_3.0' into tizen 85/107985/1
YoungHun Kim [Mon, 2 Jan 2017 07:58:23 +0000 (16:58 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iec2de0d3995d993ece32046f9aca1b3c124a4666

7 years agoUpdate the fuction of socket timeout 37/107937/6
YoungHun Kim [Mon, 2 Jan 2017 03:45:34 +0000 (12:45 +0900)]
Update the fuction of socket timeout

Change-Id: I1d4f7d1eee3a6b5c66f05b0704aaf8a53747fdfe

7 years agoRemove an unnessary close-on-exec 04/107904/2
YoungHun Kim [Sun, 1 Jan 2017 23:37:11 +0000 (08:37 +0900)]
Remove an unnessary close-on-exec

Change-Id: I628b1ddbf45319dbf611e07b184ad0060a1cb16b

7 years agoRollback to socket as blocking mode 46/107746/4
YoungHun Kim [Thu, 29 Dec 2016 12:48:29 +0000 (21:48 +0900)]
Rollback to socket as blocking mode

Change-Id: I6847cd61a0e2ef953405d0e3cbfee1fd9eec6284

7 years agoDo not call g_thread_unref after g_thread_jon 44/107744/4
YoungHun Kim [Thu, 29 Dec 2016 12:39:32 +0000 (21:39 +0900)]
Do not call g_thread_unref after g_thread_jon

Change-Id: Ic33b66b420b728ac4aca81f1422c75718d7df5c6