platform/core/multimedia/mm-resource-manager.git
8 months agoFix deprecated gcov symbol issue caused by gcc version upgrade 42/318842/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20241011.165815 accepted/tizen/unified/x/20241012.064702 accepted/tizen/unified/x/asan/20241014.000104
YoungHun Kim [Thu, 10 Oct 2024 00:53:10 +0000 (09:53 +0900)]
Fix deprecated gcov symbol issue caused by gcc version upgrade

Change-Id: I976d01db75a2747c463d7cc621e88f00640e33f3

10 months agoMemoryLimit has been replaced by MemoryMax 22/312122/2 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/unified/20240716.112404 accepted/tizen/unified/20240716.140244 accepted/tizen/unified/dev/20240717.110321 accepted/tizen/unified/toolchain/20240812.132913 accepted/tizen/unified/x/20240717.012452 accepted/tizen/unified/x/asan/20240813.231202
Łukasz Stelmach [Tue, 4 Jun 2024 10:39:23 +0000 (12:39 +0200)]
MemoryLimit has been replaced by MemoryMax

The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

Change-Id: I2fd937eaf3020393b1465098663d0057c1d54054
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
12 months agoFix Svace issue 22/312522/4 accepted/tizen/unified/20240626.155317 accepted/tizen/unified/dev/20240701.072852 accepted/tizen/unified/x/20240627.011904
YoungHun Kim [Tue, 11 Jun 2024 05:21:04 +0000 (14:21 +0900)]
Fix Svace issue

 - UNREACHABLE_CODE.RET

Change-Id: Ibd850940826eb8e5f981dab7c7c0aafd56e9fa3c

14 months agoFix coverity issue 65/308465/5 accepted/tizen/unified/20240328.123410 accepted/tizen/unified/dev/20240620.005527 accepted/tizen/unified/x/20240401.142453
YoungHun Kim [Tue, 26 Mar 2024 05:09:32 +0000 (14:09 +0900)]
Fix coverity issue

 - Add the return value

Change-Id: Ib5353e80df39ba12affec9feeb61facbd5c97b28

15 months agoAdd python3-setuptools dependency for python 3.12 13/307813/1 accepted/tizen/unified/20240328.043525 accepted/tizen/unified/x/20240328.090545
JinWang An [Wed, 13 Mar 2024 09:26:57 +0000 (18:26 +0900)]
Add python3-setuptools dependency for python 3.12

Change-Id: I03474f3df83147d3731cf7a149da75d9d9404d0c
Signed-off-by: JinWang An <jinwang.an@samsung.com>
21 months agoFix Svace issue (SIGNED_TO_BIGGER_UNSIGNED) 72/297672/2 accepted/tizen_8.0_unified accepted/tizen/8.0/unified/20231005.093508 accepted/tizen/unified/20230825.044237 tizen_8.0_m2_release
YoungHun Kim [Tue, 22 Aug 2023 11:44:02 +0000 (20:44 +0900)]
Fix Svace issue (SIGNED_TO_BIGGER_UNSIGNED)

Change-Id: I1976fd7d3c1949885e3caf9128fe288a21835b36

22 months agofixup! Iterate all type's information when checking if release callback invoking 14/295914/5 accepted/tizen/unified/20230719.170103
YoungHun Kim [Mon, 17 Jul 2023 07:17:10 +0000 (16:17 +0900)]
fixup! Iterate all type's information when checking if release callback invoking

Change-Id: Ie6114ff5d64b3e85460719943867a8ca81193fce

23 months agoGuarantee a conditional race for the entire release callback 88/295388/7 accepted/tizen/unified/20230716.194416
YoungHun Kim [Thu, 6 Jul 2023 08:29:54 +0000 (17:29 +0900)]
Guarantee a conditional race for the entire release callback

- to avoid deadlock of destroy() while release is invoking

Change-Id: I0b63d1b1ebf019f4cea14e66c61be35a82a3fa1e

23 months agoIterate all type's information when checking if release callback invoking 76/295176/2 accepted/tizen/unified/20230710.013129
YoungHun Kim [Mon, 3 Jul 2023 10:27:54 +0000 (19:27 +0900)]
Iterate all type's information when checking if release callback invoking

Change-Id: Ib08a6ddb361b0cf0889fb384edb3b6db21b3f1ea

2 years agoChange name for threads 15/292815/1 accepted/tizen/unified/20230605.170358
Jeongmo Yang [Mon, 15 May 2023 07:21:21 +0000 (16:21 +0900)]
Change name for threads

[Version] 0.2.53
[Issue Type] Update

Change-Id: I19d753be0d96acb82d025a50a5474b4bd57ab238
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoRemove the release invoke variable 12/286112/4 accepted/tizen/unified/20221230.183601
YoungHun Kim [Wed, 28 Dec 2022 05:47:51 +0000 (14:47 +0900)]
Remove the release invoke variable

 - We can adopt state value with removing 'is_dbus_release_emitted variable

Change-Id: I3a7db8749ae475bf2cb7b181dcc18b3d50d95bbb

2 years agoFix to reuse the released resource 99/286099/3 accepted/tizen/unified/20221229.165938
YoungHun Kim [Wed, 28 Dec 2022 02:45:23 +0000 (11:45 +0900)]
Fix to reuse the released resource

 - When reusing a released resource with player_prepare(),
   even if the state was changed from release to acquire, RM server does not invoke the interrupt.

Change-Id: I9a474397e375e5b0cc97b4339e1036175490f50e

3 years agoAdd service adaptation for ASAN 48/276348/4 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.061420 accepted/tizen/7.0/unified/hotfix/20221116.105442 accepted/tizen/unified/20220616.141856 submit/tizen/20220615.062946 tizen_7.0_m2_release
YoungHun Kim [Wed, 15 Jun 2022 05:46:35 +0000 (14:46 +0900)]
Add service adaptation for ASAN

 - MemoryLimit=34M is required to avoid memory limit violation on ASAN binary

Change-Id: Ia55ca9dd1c792c28651722374b54d83c85dafe8a

3 years agoFix use-after-free issue 58/275958/3 submit/tizen/20220613.054313
YoungHun Kim [Tue, 7 Jun 2022 09:41:16 +0000 (18:41 +0900)]
Fix use-after-free issue

 - [As Is] g_ptr_array_remove_index_fast() is removed, but the element is reached
 - [To Be] Set the value of element flag before g_ptr_array_remove_index_fast()

Change-Id: If6b9c77987bb2ccf5ba317e9e57b27fe25c3f73c

4 years agoChange path of configuration file 57/259157/1 accepted/tizen/6.5/unified/20211028.121054 accepted/tizen/unified/20210608.131312 submit/tizen/20210604.030216 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
YoungHun Kim [Tue, 1 Jun 2021 22:52:17 +0000 (07:52 +0900)]
Change path of configuration file

Change-Id: I69097e875a873ce98c3f1e823172b707878a7033

4 years agoGuarantee the race condition of destroy dispatcher() 04/258204/3 accepted/tizen/unified/20210601.135353 submit/tizen/20210520.070515 submit/tizen/20210528.061611
YoungHun Kim [Wed, 12 May 2021 07:04:00 +0000 (16:04 +0900)]
Guarantee the race condition of destroy dispatcher()

 - If same handle's destroy_dispatcher is called at the same time,
   it can be occurred memory contention.
 - Add log for debugging

Change-Id: Ic1d733853083f5c7960e1156bb233f4c6be8411f

4 years agoAdd log for dbugging destroy_dispatcher() 04/258104/1
YoungHun Kim [Tue, 11 May 2021 00:33:22 +0000 (09:33 +0900)]
Add log for dbugging destroy_dispatcher()

Change-Id: I045b74692cbfa4f18e2f1cff1ad5e4585b22871f

4 years agoIgnore the conflict of the killed client's resource and release it forcibly 62/257162/7 accepted/tizen/unified/20210429.011932 submit/tizen/20210422.024531 submit/tizen/20210427.232346
YoungHun Kim [Tue, 20 Apr 2021 07:33:00 +0000 (16:33 +0900)]
Ignore the conflict of the killed client's resource and release it forcibly

Change-Id: If35dfaba08af8d5a2b65bf7c1cca5f29eda98dfb

4 years agoFix the issue of release_cb_invoked 65/252365/36 accepted/tizen/unified/20210223.065512 submit/tizen/20210221.233041
YoungHun Kim [Wed, 27 Jan 2021 06:29:00 +0000 (15:29 +0900)]
Fix the issue of release_cb_invoked

 - By considering mark_for_release() as complete release, we can
   ignore the release_cb for the resource
 - Similarly, we regard RES_STATE_FOR_RELEASE as including until
   the complete release through release_commit()
 - Fix the exceptional fd failure issue
 - Avoid to emit release callback of resource manager's other resource,
   which can be changed by release policy

Change-Id: I5f14fd4528fd57d879a0ea7d69cf8ad703806130

4 years agoRevert "Change resource timeout from 5 second to 300 miliseconds" 20/251920/3
YoungHun Kim [Thu, 21 Jan 2021 02:51:17 +0000 (02:51 +0000)]
Revert "Change resource timeout from 5 second to 300 miliseconds"

This reverts commit 55d7659a6c0473119f7df317c147c2d1e5dd6e4a.

Change-Id: I3341933da6182e1dd97467f87a2c11bad256af4a

4 years agoValue checking to avoid invalid read detection of valgrind 94/250694/3 accepted/tizen/unified/20210105.125852 submit/tizen/20210104.040014
YoungHun Kim [Sun, 3 Jan 2021 23:45:52 +0000 (08:45 +0900)]
Value checking to avoid invalid read detection of valgrind

Change-Id: I07c973d42a5a704735fda261cea0909cd3dcce93

4 years agoAdd O_NONBLOCK flag to avoid deadlock at open() 30/249830/9 accepted/tizen/unified/20201218.124449 submit/tizen/20201217.064307
YoungHun Kim [Thu, 17 Dec 2020 04:22:27 +0000 (13:22 +0900)]
Add O_NONBLOCK flag to avoid deadlock at open()

 - There is a possibility of deadlock when unexpected termination of the client occurs.
   To avoid this, add the sync fifo open with non_block.

Change-Id: Id43647dd3807b077e80ba3bbe1c9f38831a15d8f

4 years agoUpdate the duplicate log part 74/249374/2 accepted/tizen/unified/20201214.124522 submit/tizen/20201211.050631 submit/tizen_6.0/20201211.050224
YoungHun Kim [Fri, 11 Dec 2020 00:31:09 +0000 (09:31 +0900)]
Update the duplicate log part

Change-Id: If98e4b61e69e9a538d4870cc958a499da310f3f6

4 years agofixup! Change the value of timeout to avoid open() blocking issue 95/246395/3 accepted/tizen/unified/20201102.124353 submit/tizen/20201029.233038
YoungHun Kim [Thu, 29 Oct 2020 03:48:28 +0000 (12:48 +0900)]
fixup! Change the value of timeout to avoid open() blocking issue

 - Match server timeout with client's

Change-Id: I6c31edb7dff72f86bc3c55597e39f302bdd33255

4 years agoChange the value of timeout to avoid open() blocking issue 14/245514/6 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114547 accepted/tizen/6.0/unified/hotfix/20201103.003640 accepted/tizen/unified/20201013.005659 submit/tizen/20201012.065229 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
YoungHun Kim [Mon, 12 Oct 2020 01:53:07 +0000 (10:53 +0900)]
Change the value of timeout to avoid open() blocking issue

Change-Id: I9a37edf414ac01d069703263c0f96a9b59e067fa

4 years agoAdd log to debug no response issue 70/245270/3 accepted/tizen/unified/20201008.043018 submit/tizen/20201007.042906
YoungHun Kim [Tue, 6 Oct 2020 08:31:23 +0000 (17:31 +0900)]
Add log to debug no response issue

Change-Id: I0734409aed7d927c3c89b2331df00906bf5bf8e2

4 years agoRemove signal handler of mm-resource-managerd 77/244777/2 accepted/tizen/unified/20201007.020752 submit/tizen/20201006.022027
YoungHun Kim [Thu, 24 Sep 2020 06:44:45 +0000 (15:44 +0900)]
Remove signal handler of mm-resource-managerd

 - restart is failed by signal handler's side effect
 - update log

Change-Id: I35762c5664de0aeaf6dbaf9f9a03374321a6dde1

4 years agoAdd errno information when access() is failed 42/244742/2 accepted/tizen/unified/20200925.140242 submit/tizen/20200924.030549
YoungHun Kim [Thu, 24 Sep 2020 01:32:31 +0000 (10:32 +0900)]
Add errno information when access() is failed

Change-Id: Iaa57c1a05a7e14657ecefaed65d0f5c60ada5b40

4 years agoFix the memory leak 88/244088/2 accepted/tizen/unified/20200916.121741 submit/tizen/20200915.050000
YoungHun Kim [Tue, 15 Sep 2020 03:17:35 +0000 (12:17 +0900)]
Fix the memory leak

Change-Id: Ia4ac93bb1e5c936812e5ac88aed5f7a1cf6d6526

4 years agoAdd the missing unlock 87/244087/2
YoungHun Kim [Tue, 15 Sep 2020 03:14:32 +0000 (12:14 +0900)]
Add the missing unlock

Change-Id: Ifb5af5521e2675f94e613637a6b5c900c0e1f44d

4 years agoRemove the duplicate unlock 86/244086/1
YoungHun Kim [Tue, 15 Sep 2020 03:07:44 +0000 (12:07 +0900)]
Remove the duplicate unlock

Change-Id: Ie7af50e7b2a7fc7e193237692f74a94d5aa2c7c8

4 years agoAdded setting null missing after mrp_mainloop_destroy 12/243912/1 accepted/tizen/unified/20200914.131430 submit/tizen/20200911.074610
YoungHun Kim [Fri, 11 Sep 2020 06:50:21 +0000 (15:50 +0900)]
Added setting null missing after mrp_mainloop_destroy

Change-Id: Ic3cb7498d543b4d2638a49a62e8f3d126ae89d90

4 years agoAdd thread name for debugging and revise typo 96/242896/1 accepted/tizen/unified/20200903.151839 submit/tizen/20200902.003851
YoungHun Kim [Tue, 1 Sep 2020 22:52:22 +0000 (07:52 +0900)]
Add thread name for debugging and revise typo

Change-Id: I4f9c5139fc1d159cb414a87e884a48a763252710

4 years agoAdd log of handle pointer 58/238658/1
YoungHun Kim [Thu, 16 Jul 2020 05:50:51 +0000 (14:50 +0900)]
Add log of handle pointer

Change-Id: I30204531e1252fc3b34ac0c7204e5993ae4a3fbe

4 years agoAdd to skip the mark_all_for_release while releasing 28/238628/2 accepted/tizen/unified/20200717.124730 submit/tizen/20200716.054500
YoungHun Kim [Wed, 15 Jul 2020 23:45:50 +0000 (08:45 +0900)]
Add to skip the mark_all_for_release while releasing

Change-Id: I798230a931ea7bc10467477b82d710a194269f5e

4 years agoSkip the acquire request while executing release resource 78/238378/8 accepted/tizen/unified/20200715.115540 submit/tizen/20200714.081252
YoungHun Kim [Mon, 13 Jul 2020 07:00:20 +0000 (16:00 +0900)]
Skip the acquire request while executing release resource

 - return error before handle's resource lock at mark_for_acquire likewise mark_for_release case
 - return error before executing commit
 - reduce the indent of if condition part

Change-Id: I5a813264fd718f241b12d5e35afb0ac579dd3bf5

4 years agoUpdate the resource name of log 00/238300/4
YoungHun Kim [Fri, 10 Jul 2020 09:58:49 +0000 (18:58 +0900)]
Update the resource name of log

Change-Id: I03bd19af2535abcd5ab63df65f75037642493b09

4 years agoMove the resource lock into the handles lock at destroy 97/238097/4 accepted/tizen/unified/20200713.094451 submit/tizen/20200710.025458
YoungHun Kim [Wed, 8 Jul 2020 10:53:42 +0000 (19:53 +0900)]
Move the resource lock into the handles lock at destroy

 - In order to prevent for possible issues, the missing
   mutex lock of the common implementation part is added

Change-Id: I6e09cca64b9dc301efeb42002d20581818fcd4a0

4 years agoFix Svace issue of FORWARD_NULL and CHECKED_RETURN 69/237369/2 accepted/tizen/unified/20200701.032320 submit/tizen/20200630.043505
YoungHun Kim [Mon, 29 Jun 2020 23:18:52 +0000 (08:18 +0900)]
Fix Svace issue of FORWARD_NULL and CHECKED_RETURN

Change-Id: I438c64695588a21a8f442201254b8bac4b2f4708

4 years agoSkip duplicate release while running a release on the server using resource state 14/236614/10 accepted/tizen/unified/20200629.143524 submit/tizen/20200624.045121
YoungHun Kim [Thu, 18 Jun 2020 23:55:50 +0000 (08:55 +0900)]
Skip duplicate release while running a release on the server using resource state

 - dlog optimization
 - change the function name

Change-Id: Ic9a861a4b6bd0d1a16f79f1697eddfb7ff26b88c

4 years agoUpdate the return event of poll for exception case 94/236494/7
YoungHun Kim [Wed, 17 Jun 2020 11:52:58 +0000 (20:52 +0900)]
Update the return event of poll for exception case

Change-Id: I1f14eebc714c8c6ce5eec5532eaceda107e2d428

4 years agoFix the bug of color value set in dlog 37/236437/7
YoungHun Kim [Wed, 17 Jun 2020 06:12:09 +0000 (15:12 +0900)]
Fix the bug of color value set in dlog

 - Update dlog related with handle of mark_for_release

Change-Id: I9e670f0a4935779683941f78b335939ed5fcfd41

4 years agoChange resource timeout from 5 second to 300 miliseconds 95/236395/5
YoungHun Kim [Tue, 16 Jun 2020 23:02:38 +0000 (08:02 +0900)]
Change resource timeout from 5 second to 300 miliseconds

 - temporary workaround to avoid resource relese conflict

Change-Id: I01f0d660181dd3fe8d5bc53853d61e02510029a0

4 years agoUpdate dlog of release cb 89/236289/5
YoungHun Kim [Tue, 16 Jun 2020 06:02:36 +0000 (15:02 +0900)]
Update dlog of release cb

Change-Id: Iea1574692ee7bb976aedeaa1d5aec2dd41e1313b

4 years agoAdd dlog for debugging release mark 58/236258/2
YoungHun Kim [Tue, 16 Jun 2020 03:31:57 +0000 (12:31 +0900)]
Add dlog for debugging release mark

Change-Id: I61a98df5f1e5d3f09a54dd965c6d0bbfd854b66c

4 years agoUpdate dlog of release cb 94/236194/4
YoungHun Kim [Mon, 15 Jun 2020 11:19:22 +0000 (20:19 +0900)]
Update dlog of release cb

Change-Id: I34b6877d1c6635902bb57504b3a62e953210485b

5 years agoUpdate poll event for fd hangup 12/236012/7
YoungHun Kim [Fri, 12 Jun 2020 02:41:26 +0000 (11:41 +0900)]
Update poll event for fd hangup

Change-Id: Iaf62b46d88e18ae97ee2359a64c5a00ef16a6187

5 years agoUpdate the value only when sync is successful 47/235947/3
YoungHun Kim [Thu, 11 Jun 2020 08:17:22 +0000 (17:17 +0900)]
Update the value only when sync is successful

Change-Id: I64e989674d636a8fb72c68b4940761cc074fd77e

5 years agoAdd handle id log for sync failure issue 64/235864/11
YoungHun Kim [Wed, 10 Jun 2020 10:55:10 +0000 (19:55 +0900)]
Add handle id log for sync failure issue

Change-Id: I86fcce45a44244f1aaa3771867cf559dfe67be9f

5 years agoApply maximum line column of 128 40/235840/6
YoungHun Kim [Wed, 10 Jun 2020 07:25:55 +0000 (16:25 +0900)]
Apply maximum line column of 128

Change-Id: I67971852d04593ebd610582ba7ad4470649a5da1

5 years agofixup! Check if the release callback is called not state for avoiding release callbac... 55/235755/3 accepted/tizen/unified/20200611.134803 submit/tizen/20200610.061253
YoungHun Kim [Tue, 9 Jun 2020 10:09:41 +0000 (19:09 +0900)]
fixup! Check if the release callback is called not state for avoiding release callback conflict

Change-Id: Ief6e16fe88e355a54c2768a97827f58018087a9b

5 years agoCheck if the release callback is called not state for avoiding release callback conflict 58/235558/3 accepted/tizen/unified/20200610.015640 submit/tizen/20200609.063705
YoungHun Kim [Fri, 5 Jun 2020 10:53:45 +0000 (19:53 +0900)]
Check if the release callback is called not state for avoiding release callback conflict

Change-Id: If3f942d496626bd5de12179dee1501ae0184b82e

5 years agoFix the bug 57/235557/1
YoungHun Kim [Fri, 5 Jun 2020 10:48:05 +0000 (19:48 +0900)]
Fix the bug

Change-Id: I454662c03ced004e40dca59e854755d2a9bf5481

5 years agoUse secure log for information vulnerable to security 19/235219/1
YoungHun Kim [Wed, 3 Jun 2020 01:53:45 +0000 (10:53 +0900)]
Use secure log for information vulnerable to security

Change-Id: Idc802257de224fdbaafe09bb85ff0c935e703550

5 years agoFix the issue of heap-use-after-free 77/235177/2
YoungHun Kim [Tue, 2 Jun 2020 10:30:50 +0000 (19:30 +0900)]
Fix the issue of heap-use-after-free

Change-Id: Ibae4f96a5d326bad019c64d37d608f669ae18347

5 years agoMerge 'tizen' branch into tizen_5.5 09/235109/1
YoungHun Kim [Tue, 2 Jun 2020 06:58:46 +0000 (15:58 +0900)]
Merge 'tizen' branch into tizen_5.5

Change-Id: I0300d8f92ab9d1d4e991be59e663dc0d922d0317

5 years agoCreate /tmp/.mm-res-mgr.fifo using tmpfile.d conf for smack labeling 46/235046/3
YoungHun Kim [Tue, 2 Jun 2020 02:32:29 +0000 (11:32 +0900)]
Create /tmp/.mm-res-mgr.fifo using tmpfile.d conf for smack labeling

Change-Id: I34afa7ed888e775d7ea1698a28f0de542e71ae5c

5 years agoFix the bug of available volume and instance scenario 32/234832/1
YoungHun Kim [Fri, 29 May 2020 05:12:29 +0000 (14:12 +0900)]
Fix the bug of available volume and instance scenario

Change-Id: Ia60f3b5558709d42394ba8270fb24de66b0decdd

5 years agoRemove replaceable duplicate variables 21/234821/1
YoungHun Kim [Fri, 29 May 2020 05:08:06 +0000 (14:08 +0900)]
Remove replaceable duplicate variables

Change-Id: I2be310fb4121ad28c65ca597bc254fdf261ce5dc

5 years agofixup! Ignore client's duplicate release request after invoking release callback 56/234656/2
YoungHun Kim [Thu, 28 May 2020 00:44:19 +0000 (09:44 +0900)]
fixup! Ignore client's duplicate release request after invoking release callback

Change-Id: I42eb01678012b8998464a7ac90a739e0892203c7

5 years agoMerge branch 'tizen' into tizen_5.5 13/234313/1 submit/tizen_5.5/20200526.050402
YoungHun Kim [Mon, 25 May 2020 10:13:36 +0000 (19:13 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I14a51141ce13d35f42808d8a19b363505bb0bff5

5 years agoMerge "Server ignores a release mark request that has been added to resource callback... submit/tizen/20200525.224545
YoungHun Kim [Fri, 22 May 2020 07:02:10 +0000 (07:02 +0000)]
Merge "Server ignores a release mark request that has been added to resource callback that is already invoked" into tizen

5 years agoServer ignores a release mark request that has been added to resource callback that... 04/234104/9
YoungHun Kim [Thu, 21 May 2020 22:59:14 +0000 (07:59 +0900)]
Server ignores a release mark request that has been added to resource callback that is already invoked

Change-Id: I70f49ea421421ebfac822e1dc654da7718ddbce1

5 years agoMerge "Ignore client's duplicate release request after invoking release callback...
YoungHun Kim [Fri, 22 May 2020 06:11:11 +0000 (06:11 +0000)]
Merge "Ignore client's duplicate release request after invoking release callback" into tizen

5 years agoMerge "Revert "Add root privileges for dbus policy"" into tizen
YoungHun Kim [Fri, 22 May 2020 06:10:30 +0000 (06:10 +0000)]
Merge "Revert "Add root privileges for dbus policy"" into tizen

5 years agoIgnore client's duplicate release request after invoking release callback 67/233167/19
YoungHun Kim [Tue, 12 May 2020 23:43:10 +0000 (08:43 +0900)]
Ignore client's duplicate release request after invoking release callback

Change-Id: I94e6f588bba579b50a02a3ff4f460e6498928a09

5 years agoRevert "Add root privileges for dbus policy" 05/234105/1
YoungHun Kim [Fri, 22 May 2020 00:31:41 +0000 (00:31 +0000)]
Revert "Add root privileges for dbus policy"

This reverts commit 5da523ff8ab28a184a1a543e66db5b367691eb09.

Change-Id: I9e19dcd1c04f6b035dbca170c7aed0cac2f7532f

5 years agoConsider full request if conf is set to full request but the actual required value... 62/232962/9
YoungHun Kim [Mon, 11 May 2020 02:56:30 +0000 (11:56 +0900)]
Consider full request if conf is set to full request but the actual required value is not

Change-Id: I297680a755794f74a81a5b9338d2a3f1a4113ce5

5 years agoAdd root privileges for dbus policy 31/233931/1
YoungHun Kim [Wed, 20 May 2020 10:00:35 +0000 (19:00 +0900)]
Add root privileges for dbus policy

Change-Id: I15b6113e20cdf0416e1697ee2f202a4fa2a44068

5 years agoRevise the function name more intuitively 77/232877/13
YoungHun Kim [Fri, 8 May 2020 05:48:12 +0000 (14:48 +0900)]
Revise the function name more intuitively

 - Check the return value of release callback

Change-Id: Id4221ee174b9a82477856fef598777e01dddb8c8

5 years agoCall poll() again when it fails with an EAGAIN error 35/232035/15
YoungHun Kim [Mon, 27 Apr 2020 22:49:24 +0000 (07:49 +0900)]
Call poll() again when it fails with an EAGAIN error

 - poll() can fail with the error EAGAIN if the system fails to allocate kernel-internal
   resources. Portable programs may wish to check for EAGAIN and loop.
 - Change the mode of mm_resource_manager_daemon_priv.c
 - Update some logs

Change-Id: I2ee8f16931b14e57ed065be607b08d9d81f1b4ca

5 years agoAdd the coverage measurement for resource manager 77/232577/4
YoungHun Kim [Wed, 6 May 2020 11:23:36 +0000 (20:23 +0900)]
Add the coverage measurement for resource manager

Change-Id: Ic6df876631f9dddb1d344dcbc8eff0289f307708

5 years agoIncrease the array size of handle and resource 00/232200/2 accepted/tizen/5.5/unified/20200512.132315 submit/tizen_5.5/20200507.061744
YoungHun Kim [Wed, 29 Apr 2020 01:49:13 +0000 (10:49 +0900)]
Increase the array size of handle and resource
 - the size of handle array is increased from 8 to 64
 - the size of resource array per each handle is increased from 16 to 128

Change-Id: Ic6fe43ebd48d0fc3f729a83f3534cfe5d0eba19c

5 years agoIncrease the array size of handle and resource 73/232173/2 submit/tizen/20200507.052130
YoungHun Kim [Wed, 29 Apr 2020 01:49:13 +0000 (10:49 +0900)]
Increase the array size of handle and resource
 - the size of handle array is increased from 8 to 64
 - the size of resource array per each handle is increased from 16 to 128

Change-Id: Ic6fe43ebd48d0fc3f729a83f3534cfe5d0eba19c

5 years agoResolve the memory leak issue 18/231618/1 accepted/tizen/5.5/unified/20200423.232614 submit/tizen_5.5/20200423.064158
YoungHun Kim [Thu, 16 Apr 2020 04:42:20 +0000 (13:42 +0900)]
Resolve the memory leak issue

Change-Id: I51188f64a0ed8b96cc0a8689d6c89b02525ecdf7
(cherry picked from commit 9fa75cbea4df6db1ac7b4acca521e1e12bd0e13d)

5 years agoResolve the memory leak issue 24/230924/1 accepted/tizen/unified/20200416.164727 submit/tizen/20200416.045236
YoungHun Kim [Thu, 16 Apr 2020 04:42:20 +0000 (13:42 +0900)]
Resolve the memory leak issue

Change-Id: I51188f64a0ed8b96cc0a8689d6c89b02525ecdf7

5 years agoFix Bof issue : dbus error handling 14/230014/4 accepted/tizen/5.5/unified/20200408.131623 submit/tizen_5.5/20200407.234150
YoungHun Kim [Mon, 6 Apr 2020 07:16:31 +0000 (16:16 +0900)]
Fix Bof issue : dbus error handling

Change-Id: I5a6d9e1fe2cdff65fc1dbde0e3e207f57df884ca

5 years agoFix Bof issue : dbus error handling 76/229876/10 accepted/tizen/unified/20200408.131515 submit/tizen/20200407.234405
YoungHun Kim [Mon, 6 Apr 2020 07:16:31 +0000 (16:16 +0900)]
Fix Bof issue : dbus error handling

Change-Id: I5a6d9e1fe2cdff65fc1dbde0e3e207f57df884ca

5 years agoUpdate release part of resource conflict 16/229716/1 submit/tizen_5.5/20200403.054833 submit/tizen_5.5/20200405.224305
YoungHun Kim [Thu, 2 Apr 2020 07:55:17 +0000 (16:55 +0900)]
Update release part of resource conflict

Change-Id: Ibbd96006356e78e6b6655df16b6367d63928921c
(cherry picked from commit ec753cea4ffd57bc62cbd43a6d4288220c020c34)

5 years agoUpdate release part of resource conflict 09/229609/7 accepted/tizen/unified/20200406.015153 submit/tizen/20200403.043453
YoungHun Kim [Thu, 2 Apr 2020 07:55:17 +0000 (16:55 +0900)]
Update release part of resource conflict

Change-Id: Ibbd96006356e78e6b6655df16b6367d63928921c

5 years agoFix the bug of resource release 18/229518/1 accepted/tizen/5.5/unified/20200402.000022 submit/tizen_5.5/20200401.115713
YoungHun Kim [Wed, 1 Apr 2020 11:16:22 +0000 (20:16 +0900)]
Fix the bug of resource release

Change-Id: I00bb8bd20fdb0688ea0f016accd33f5509c72751
(cherry picked from commit 958a5b9e0c6bb5c6eaeebec58755a8f6c37a7fcc)

5 years agoFix the bug of resource release 12/229512/3 accepted/tizen/unified/20200402.155547 submit/tizen/20200401.115321
YoungHun Kim [Wed, 1 Apr 2020 11:16:22 +0000 (20:16 +0900)]
Fix the bug of resource release

Change-Id: I00bb8bd20fdb0688ea0f016accd33f5509c72751

5 years agoMerge branch tizen into tizen_5.5 24/229424/1 accepted/tizen/5.5/unified/20200401.132654 submit/tizen_5.5/20200401.045441
YoungHun Kim [Wed, 1 Apr 2020 04:32:20 +0000 (13:32 +0900)]
Merge branch tizen into tizen_5.5

Change-Id: I9d8e2229f9139da8b0497559484464e1124a220a

5 years agofixup! Fix the bug that attempted to release unacquired resource 22/229422/1 submit/tizen/20200401.045159 submit/tizen/20200401.081537
YoungHun Kim [Wed, 1 Apr 2020 04:25:14 +0000 (13:25 +0900)]
fixup! Fix the bug that attempted to release unacquired resource

Change-Id: Ie05a526c3eb80249052cd5f2632e33cf55c96ed0

5 years agoFix the bug that attempted to release unacquired resource 18/229318/1 accepted/tizen/5.5/unified/20200331.180307 submit/tizen_5.5/20200331.062152
YoungHun Kim [Fri, 27 Mar 2020 10:14:18 +0000 (19:14 +0900)]
Fix the bug that attempted to release unacquired resource

Change-Id: I80bc7242c128b82e10433b57c246bfd81b3a91ed
(cherry picked from commit 132b73bc190f04796aac154e821f2a4bb04acf77)

5 years agoAdd warning log and code refactoring 36/229136/7 submit/tizen/20200331.061908
YoungHun Kim [Fri, 27 Mar 2020 10:14:18 +0000 (19:14 +0900)]
Add warning log and code refactoring

Change-Id: Id588d157344ac47c02f71661bb5f27c03837344b

5 years agoFix the bug that attempted to release unacquired resource 59/229059/7
YoungHun Kim [Fri, 27 Mar 2020 10:14:18 +0000 (19:14 +0900)]
Fix the bug that attempted to release unacquired resource

Change-Id: I80bc7242c128b82e10433b57c246bfd81b3a91ed

5 years agoRevert "Add signal handler for client process" 81/229281/2
YoungHun Kim [Tue, 31 Mar 2020 02:43:44 +0000 (02:43 +0000)]
Revert "Add signal handler for client process"

This reverts commit d1b71e5da7047f4e30037f80951811af6385d158.

Change-Id: I3d635099261062f47219e2723dd56da78789dd08

5 years agoRevert "Add signal handler for client process" 82/229282/2
YoungHun Kim [Tue, 31 Mar 2020 02:44:21 +0000 (02:44 +0000)]
Revert "Add signal handler for client process"

This reverts commit 55e4f4f875c06ad5eefb25ce779c9baa0b305e1c.

Change-Id: I36be6de3f9d2ac8051d459f55cf05ab337363384

5 years agoRevise the coding rule and dlog of resource handle 39/228839/1 submit/tizen_5.5/20200326.083952
YoungHun Kim [Wed, 25 Mar 2020 11:57:56 +0000 (20:57 +0900)]
Revise the coding rule and dlog of resource handle

Change-Id: I4d2b41274666005c62373f91cb14d639f8b1b20d
(cherry picked from commit 119f63110c1c752c96deee6b9f7c1af7a2aeeff6)

5 years agoRevise the coding rule and dlog of resource handle 88/228788/7 submit/tizen/20200326.083902
YoungHun Kim [Wed, 25 Mar 2020 11:57:56 +0000 (20:57 +0900)]
Revise the coding rule and dlog of resource handle

Change-Id: I4d2b41274666005c62373f91cb14d639f8b1b20d

5 years agoAdd signal handler for client process 54/227854/4 accepted/tizen/5.5/unified/20200318.130601 submit/tizen_5.5/20200317.052316
YoungHun Kim [Mon, 16 Mar 2020 23:38:42 +0000 (08:38 +0900)]
Add signal handler for client process

Change-Id: I9c90e74219d9edafacfff9abd1a8b22c94e0aa28

5 years agoAdd signal handler for client process 35/227835/6 accepted/tizen/unified/20200321.043813 submit/tizen/20200317.052232 submit/tizen/20200320.024643
YoungHun Kim [Mon, 16 Mar 2020 23:38:42 +0000 (08:38 +0900)]
Add signal handler for client process

Change-Id: I9c90e74219d9edafacfff9abd1a8b22c94e0aa28

5 years agoUpdate the dbus exception error handling 20/227420/2 accepted/tizen/5.5/unified/20200313.000619 submit/tizen_5.5/20200312.062025
YoungHun Kim [Thu, 12 Mar 2020 01:23:49 +0000 (10:23 +0900)]
Update the dbus exception error handling

Change-Id: I007b4fcac1af21256743716a51eefc8068cfd623

5 years agoUpdate the dbus exception error handling 18/227418/4 accepted/tizen/unified/20200315.214813 submit/tizen/20200312.062225
YoungHun Kim [Thu, 12 Mar 2020 01:23:49 +0000 (10:23 +0900)]
Update the dbus exception error handling

Change-Id: I007b4fcac1af21256743716a51eefc8068cfd623

5 years agoAdd new api of stream and instance for multi-instance 53/219653/31 accepted/tizen/5.5/unified/20200310.151224 submit/tizen_5.5/20200309.062903
YoungHun Kim [Tue, 3 Dec 2019 00:30:26 +0000 (09:30 +0900)]
Add new api of stream and instance for multi-instance

Change-Id: I5d940ac9704fec6f354d68f4a82d41c3c3f7956f

5 years agoAdd new api of stream and instance for multi-instance 68/219168/43 accepted/tizen/unified/20200309.215615 submit/tizen/20200309.062816
YoungHun Kim [Tue, 3 Dec 2019 00:30:26 +0000 (09:30 +0900)]
Add new api of stream and instance for multi-instance

Change-Id: I5d940ac9704fec6f354d68f4a82d41c3c3f7956f

5 years agoFix the bug of gdbus conf 84/216784/1 tizen_5.5_tv accepted/tizen/5.5/unified/20191107.051252 submit/tizen_5.5/20191105.005038
YoungHun Kim [Wed, 23 Oct 2019 05:50:54 +0000 (14:50 +0900)]
Fix the bug of gdbus conf

Change-Id: Ie0dd8efc7637274a48eca418bde574668fe4bfd4

5 years agoFix the bug of gdbus conf 95/216295/1 accepted/tizen/unified/20191101.042133 submit/tizen/20191023.234016
YoungHun Kim [Wed, 23 Oct 2019 05:50:54 +0000 (14:50 +0900)]
Fix the bug of gdbus conf

Change-Id: Ie0dd8efc7637274a48eca418bde574668fe4bfd4

5 years agoCreate server setup file after dbus connection 91/211691/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.022651 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090433 accepted/tizen/unified/20190820.224212 submit/tizen/20190809.042802 submit/tizen/20190820.061055 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
YoungHun Kim [Thu, 8 Aug 2019 07:17:40 +0000 (16:17 +0900)]
Create server setup file after dbus connection

Change-Id: I128601bdb1cf7c7bb1f565354af7c3333c1b9ef0