summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-12Remove json_object_private.h because of json-c upgradeaccepted/tizen/7.0/unified/20231213.120715tizen_7.0accepted/tizen_7.0_unifiedYoungHun Kim1-4/+0
Change-Id: If06a187e350b9397934a7b1d3e2949cb7eab98d7
2023-08-17Fix coverity issueaccepted/tizen/7.0/unified/20230818.185424YoungHun Kim1-5/+5
Change-Id: I6e5e71684888111708b59045fa3cc4cc8deabf21
2023-05-18Change name for worker threadaccepted/tizen/7.0/unified/20230522.164314Jeongmo Yang1-1/+1
[Version] 0.0.75-25 [Issue Type] Update Change-Id: Ib8116b3da7366645d9307b9e357f7d8cc38d7ccb Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2023-02-27Add a null check to avoid dereferencing a null pointeraccepted/tizen/7.0/unified/20230228.035401YoungHun Kim1-8/+10
Change-Id: I72f1dfc45f8765061fc46937e6e3a24f355b7ff1 (cherry picked from commit 41b53ba1640137a6a6b0d6318d5a197534bc89f7)
2021-10-15Fix Uninitialized scalar variable (UNINIT)submit/tizen/20211028.024042submit/tizen/20211015.034311accepted/tizen/unified/20211029.132555YoungHun Kim1-0/+1
Change-Id: I53708468d973ff7abb3d69959e8b0dcd0d538809
2021-10-12Avoid the conflict of address name in container modesubmit/tizen/20211013.075303YoungHun Kim6-8/+47
Change-Id: I372be21820ef5aa20f7edd46a513f22a6d1c23e2
2021-06-02Change path of configuration fileYoungHun Kim1-1/+1
Change-Id: I9921664041c477d48cf3c44f634392431928cf75
2021-05-20Fix coverity issuesubmit/tizen/20210603.083900YoungHun Kim1-1/+1
- Uninitialized scalar variable (UNINIT) Change-Id: I2a75f401daa69b66d18b1afd647db1c88dd0ea86
2020-12-07Change tmpfile path from /var/run to /runsubmit/tizen/20201207.231432accepted/tizen/unified/20201209.124927INSUN PYO1-1/+1
* Journal log Jan 16 13:38:50 localhost systemd-tmpfiles[207]: /usr/lib/tmpfiles.d/murphyd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/murphy/processes → /run/murphy/processes; please update the tmpfiles.d/ drop-in file accordingly. Change-Id: I5066bcefc81cad5864a852fde8674e33718064f0
2020-09-11fixup! Set null after unregistering mainloop to fix heap-use-after-freetizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115103submit/tizen_6.0_hotfix/20201102.192903submit/tizen_6.0/20201029.205503submit/tizen/20200911.074610accepted/tizen/unified/20200914.131428accepted/tizen/6.0/unified/hotfix/20201102.231645accepted/tizen/6.0/unified/20201030.111713tizen_6.0_hotfixaccepted/tizen_6.0_unified_hotfixYoungHun Kim2-0/+2
- Added setting null missing after mrp_mainloop_destroy Change-Id: I6ac05b3caf15e1366aa5932ffa0382ca514e03d1
2020-08-13Set null after unregistering mainloop to fix heap-use-after-freesubmit/tizen/20200903.061902submit/tizen/20200813.010450accepted/tizen/unified/20200904.035459accepted/tizen/unified/20200814.123148YoungHun Kim1-2/+5
Change-Id: I7679ee06fd20e03b5a76f54c7a7c0b586439c2bd
2019-10-29Wait until context is owned by worker thread to avoid context owner warningsubmit/tizen/20191029.083414accepted/tizen/unified/20191101.042138YoungHun Kim1-4/+27
- We must ensure g_main_context_push_thread_default() is executed before mm-resource-manager return mainloop when calling mrp_mainloop_glib_get() Change-Id: I18dca7760010d882584ab9feb5aba34eb005127b
2019-10-04Fix the build warningtizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185107submit/tizen_5.5/20191031.000007submit/tizen/20191004.080012accepted/tizen/unified/20191010.032753accepted/tizen/5.5/unified/mobile/hotfix/20201027.073843accepted/tizen/5.5/unified/20191031.011151tizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixYoungHun Kim4-8/+8
Change-Id: I532e54feccda18ba617e661018404bedf9fdf7e9
2019-09-19Move the mainloop quit checkYoungHun Kim1-4/+4
Change-Id: Id6c12df20650310305282298752ea4986ff16592
2019-09-18Fix the crash issue of check_destroyYoungHun Kim1-1/+4
- If check_destory is called after mrp_transport_destroy, then there double free issue. check_destroy is verifying if destroyed with purge_destroyed. So we can return simply using destoyed variable. Change-Id: I92dc725df47a76a9e7020ef67657b02043ede434
2019-09-18Fix the callback crashYoungHun Kim2-14/+30
- Add null check - Add invalid fd check - Add mainloop termination check Change-Id: I3c7856aaf6143edf7e2229ccd594172d8c05e2f1
2019-09-18fixup! Move mutexes and condition from static memory allocation to dynamicYoungHun Kim1-2/+7
- Add missing mutex lock Change-Id: I6554ead33d02b3578b9442c89e262dc8ce1fd172
2019-05-20Fix memory leak of mprobesubmit/tizen/20190529.235003submit/tizen/20190520.225431accepted/tizen/unified/20190602.221852YoungHun Kim1-4/+4
- When mcheck () fails in MRP_INIT time and then mprobe () returns MCHECK_DISABLED, which needs to free memory otherwise occur abnormal memory corruption. For more detailed, MRP_INIT (memory_check_init) is executed in the parent process of forking and __passthru_free is executed in the child process. So variable (mcheck_result) is unnecessary because we can consider mprobe returns always only MCHECK_DISABLED and mcheck is not performed at child process. Change-Id: I123d3af30cb1b84b34b09349952a225ee0ec91ad
2019-04-25Add PIDFile for forking typesubmit/tizen/20190425.081607accepted/tizen/unified/20190426.054119YoungHun Kim1-0/+50
Change-Id: Ieb37b8c370d2dd74b1fd6a0d6417c109079448be
2018-11-02Setup log target right after starting plugin for more debuggingsubmit/tizen/20190121.010243submit/tizen/20181106.232739accepted/tizen/unified/20190128.061317accepted/tizen/unified/20181108.074505YoungHun Kim2-12/+14
- replace with printf before setup target Change-Id: I091e774092954e782694ed6fc89ebb27957977e7
2018-10-25Change to daemonize after stream flushsubmit/tizen/20181102.020303accepted/tizen/unified/20181107.081806YoungHun Kim1-1/+1
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419
2018-04-09Disable calling memory checking functions temporarily in case of asan buildsubmit/tizen/20180409.075025Sangchul Lee1-1/+6
Change-Id: I3642a96c6ccab3c6c772f14ee369643166a8fbd8 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2018-03-23Enable RELRO option for Wearablesubmit/tizen/20180323.070027accepted/tizen/unified/20180326.075257Seungbae Shin1-0/+4
Change-Id: I4ab119100a7f14f2dcb3e232dd485d6caaff1304
2017-05-12Check glue_ref return valuesubmit/tizen_3.0/20170518.094523accepted/tizen/3.0/wearable/20170519.070009accepted/tizen/3.0/tv/20170519.070007accepted/tizen/3.0/mobile/20170519.070005accepted/tizen/3.0/ivi/20170519.070011accepted/tizen/3.0/common/20170519.190034tizen_3.0accepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonVolodymyr Brynza1-3/+3
Change-Id: Ica5d1d2094edd492347a4dbb4e6851e6dfb5aea5 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-05-12Move mutexes and condition from static memory allocation to dynamicVolodymyr Brynza2-62/+108
Add reference counting to glue Change-Id: I2380d4cc4a761374b69f062a0906a1a388a26a2c Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-05-12Add dlog target to common murphy loggingVolodymyr Brynza3-1/+58
Change-Id: Id48b150bda810c7ea33798a0493f07b56d0e6482 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-05-12Add timed wait to thread loop join to avoid timeoutsVolodymyr Brynza1-2/+16
Change-Id: Iae53916efcbd3591f7e3b94bf8551fc29ead7b96 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-03-06Add NULL check to prevent crashes in super_*_cbVolodymyr Brynza1-13/+53
Change-Id: Ib0a1dfe6b11290bf18657cba5f3dbffe880516b3 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-02-27Change glib thread creation function to prevent crash in stress testingVolodymyr Brynza1-2/+8
Change-Id: I3712b9e397a9b7fc53426ddc378276e02b29062e Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-02-14Add mutexes to Murphy mainloop implementationsubmit/tizen_3.0/20170215.035201accepted/tizen/3.0/wearable/20170216.022707accepted/tizen/3.0/tv/20170216.022655accepted/tizen/3.0/mobile/20170216.022638accepted/tizen/3.0/ivi/20170216.022714accepted/tizen/3.0/common/20170216.151338Volodymyr Brynza3-3/+33
Change-Id: Id678f6f841e21dc11abb847978e09ce5c17c7256 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-01-04Remove unnecessary g_thread_unref() after g_thread_join()submit/tizen_3.0/20170105.073655accepted/tizen/3.0/wearable/20170106.094228accepted/tizen/3.0/tv/20170106.094204accepted/tizen/3.0/mobile/20170106.094153accepted/tizen/3.0/ivi/20170106.094244accepted/tizen/3.0/common/20170109.200203Sangchul Lee1-1/+0
Change-Id: Ic55c09b67b29492bb9c433d52a82492b1146a349 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-12-20Implement thread cretaion. Add mutex to prevent data races in callbacksubmit/tizen/20161220.104958accepted/tizen/wearable/20161220.223800accepted/tizen/tv/20161220.223733accepted/tizen/mobile/20161220.223700accepted/tizen/ivi/20161220.223829accepted/tizen/common/20161220.191025Volodymyr Brynza2-14/+113
Change-Id: Ic2aad19a9bf9269955e825c8b77af75ffeb96efa Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2016-12-14Fix fd leakVolodymyr Brynza1-0/+6
Change-Id: Ib2f8153d2a8e13bc8f0edf6cbbc2ecf3de274044 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2016-11-09Update glib-glue for suporting non default contextsubmit/tizen/20161115.062308accepted/tizen/wearable/20161115.234231accepted/tizen/tv/20161115.234159accepted/tizen/mobile/20161115.234027accepted/tizen/ivi/20161115.234306accepted/tizen/common/20161115.200628Volodymyr Brynza1-21/+54
Change-Id: Ia3163c7822627d64acfe1d49a3c3e3a5c9f93716 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2016-07-01add pointer Null check in mod_defer callbacksubmit/tizen/20160704.004002accepted/tizen/wearable/20160704.090407accepted/tizen/tv/20160704.090512accepted/tizen/mobile/20160704.090533accepted/tizen/ivi/20160704.090624accepted/tizen/common/20160704.145302Volodymyr Brynza1-0/+3
Change-Id: Ia89beb2dcb88e26da39c3770bc83843ef0e0b926 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2016-05-11added dlog plugin, and default dlog logger for native resourcessubmit/tizen/20160512.051443accepted/tizen/wearable/20160513.004050accepted/tizen/tv/20160513.004124accepted/tizen/mobile/20160513.004024accepted/tizen/ivi/20160513.004146accepted/tizen/common/20160513.123222Ievgen Vagin3-1/+131
Note: to enable plugin, it has to be loaded in configuration file (/etc/murphy/murphy.lua) by m:try_load_plugin('dlog') command; dlog support is enabled by default; use --disable-dlog configure command to build without dlog support Change-Id: I1e85f52a5ac58f24e1639e4b2945e9555b79289b Signed-off-by: Ievgen Vagin <i.vagin@samsung.com>
2016-01-14resource-native plugin: Add resource syncronous releasesubmit/tizen_ivi/20160217.000006submit/tizen_ivi/20160217.000000submit/tizen_common/20160218.142243submit/tizen/20160212.091002accepted/tizen/wearable/20160213.091250accepted/tizen/tv/20160213.090958accepted/tizen/mobile/20160213.090630accepted/tizen/ivi/20160218.025227Volodymyr Brynza1-3/+49
Add resource syncronous release to native console test application for handling protocol extension Change-Id: I6b3e6b3274588328be58669416900fa0926a27a3 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2015-12-22add_defer() function fixsubmit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151224.065653accepted/tizen/wearable/20151224.102637accepted/tizen/tv/20151224.102616accepted/tizen/mobile/20151224.102602Volodymyr Brynza1-1/+1
Change-Id: Ib12559ca8338ec215a6ec50c2f4f1c8d69c13ee0 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2015-12-08Add callback checkingsubmit/tizen/20151208.092302accepted/tizen/wearable/20151208.130242accepted/tizen/tv/20151208.130225accepted/tizen/mobile/20151208.130206Volodymyr Brynza1-0/+12
Change-Id: I26b518f3c0fc6ce0a3e6f0e0681cbc86ae8c8219 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2015-12-04Apply ASLRsubmit/tizen/20151204.092106submit/tizen/20151204.082508accepted/tizen/wearable/20151206.224704accepted/tizen/tv/20151206.224645accepted/tizen/mobile/20151206.224628Sangchul Lee1-0/+3
Change-Id: Ibaebcfddc8866d6a00b376e3c0a505f29c9565b5 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2015-07-21Synchronous resource release mechanismsubmit/tizen/20150722.090021accepted/tizen/wearable/20150722.094530accepted/tizen/tv/20150722.095031accepted/tizen/mobile/20150722.094357Denis Melenevsky24-80/+741
Change-Id: I5d54d013a94acb6c6206d35834a8dacb7bcbf2ce Signed-off-by: Denis Melenevsky <d.melenevsky@samsung.com>
2015-02-26Initialize Tizen 3.0submit/tizen_3.0.2015.q1_common/20150320.000000submit/tizen/20150313.025220accepted/tizen/wearable/20150313.084641accepted/tizen/tv/20150313.084515accepted/tizen/mobile/20150313.084815accepted/tizen/common/20150313.083743accepted/tizen/3.0.2015.q1/common/20150323.084221tizen_3.0.2015.q2_commontizen_3.0.2015.q1_commonaccepted/tizen_3.0.2015.q1_commonDoohwan Kim392-0/+128964
Signed-off-by: Doohwan Kim <dh8210.kim@samsung.com> Change-Id: I2ad7e23e121506673a724f512fea429489928451