summaryrefslogtreecommitdiff
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 Kim2-5/+1
Change-Id: If06a187e350b9397934a7b1d3e2949cb7eab98d7
2023-10-18Set MemoryLimitaccepted/tizen/7.0/unified/20231018.172247YoungHun Kim2-1/+2
Change-Id: Ib9de7fc8a774cd7b80e120fd90fdcae40631d0e7
2023-08-17Fix coverity issueaccepted/tizen/7.0/unified/20230818.185424YoungHun Kim2-6/+6
Change-Id: I6e5e71684888111708b59045fa3cc4cc8deabf21
2023-05-18Change name for worker threadaccepted/tizen/7.0/unified/20230522.164314Jeongmo Yang2-2/+2
[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 Kim2-9/+11
Change-Id: I72f1dfc45f8765061fc46937e6e3a24f355b7ff1 (cherry picked from commit 41b53ba1640137a6a6b0d6318d5a197534bc89f7)
2021-10-19Applied -fcommon for HWASan buildtizen_7.0_m2_releasesubmit/tizen/20211223.084156accepted/tizen/unified/20211224.144814accepted/tizen/7.0/unified/hotfix/20221116.111149accepted/tizen/7.0/unified/20221110.062105tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfixAndrey Kazmin1-1/+1
Change-Id: I503203702b06ff13d4c65dc992004b7c613537ed Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
2021-10-15Fix Uninitialized scalar variable (UNINIT)submit/tizen/20211028.024042submit/tizen/20211015.034311accepted/tizen/unified/20211029.132555YoungHun Kim2-1/+2
Change-Id: I53708468d973ff7abb3d69959e8b0dcd0d538809
2021-10-12Avoid the conflict of address name in container modesubmit/tizen/20211013.075303YoungHun Kim7-9/+48
Change-Id: I372be21820ef5aa20f7edd46a513f22a6d1c23e2
2021-06-07fixup: Change path of configuration filetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen/20210604.030216accepted/tizen/unified/20210608.131328accepted/tizen/6.5/unified/20211029.015006YoungHun Kim2-3/+1
Change-Id: Ifaef78dfc0a6b00dbb28a2914307b27b4637d028
2021-06-02Change path of configuration fileYoungHun Kim2-2/+5
Change-Id: I9921664041c477d48cf3c44f634392431928cf75
2021-05-20Fix coverity issuesubmit/tizen/20210603.083900YoungHun Kim2-2/+2
- Uninitialized scalar variable (UNINIT) Change-Id: I2a75f401daa69b66d18b1afd647db1c88dd0ea86
2021-02-05Change systemd-devel package namesubmit/tizen/20210219.031951accepted/tizen/unified/20210222.114538INSUN PYO2-3/+2
Change-Id: I55c33f41873fa8c002e28bf01c2e5e74b4ea570b
2020-12-07Change tmpfile path from /var/run to /runsubmit/tizen/20201207.231432accepted/tizen/unified/20201209.124927INSUN PYO2-2/+2
* 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 Kim2-3/+6
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 Kim2-5/+28
- 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 Kim5-9/+9
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 Kim2-3/+8
- Add missing mutex lock Change-Id: I6554ead33d02b3578b9442c89e262dc8ce1fd172
2019-05-20Fix memory leak of mprobesubmit/tizen/20190529.235003submit/tizen/20190520.225431accepted/tizen/unified/20190602.221852YoungHun Kim2-5/+5
- 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 Kim3-1/+52
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 Kim2-1/+3
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419
2018-10-24Enable the dlog of murphyYoungHun Kim1-2/+5
Change-Id: I218fd6029c91f4687b9a7b069f3160ea212fd8de
2018-10-24Disable the dbus part because not related actually with dbus (core)YoungHun Kim1-2/+0
Change-Id: Ic1a87e077265d49f9d72e1446b84967431cc54d3
2018-10-17Launch as a daemon and set systemd service type to forkingsubmit/tizen_5.0/20181101.000007submit/tizen/20181018.230308accepted/tizen/unified/20181019.080714accepted/tizen/5.0/unified/20181102.030038Seungbae Shin2-2/+3
Change-Id: I768ae15fc1dec95d5adfbe045484b547166dd88b
2018-05-21Add rule of 'own' and remove 'user' at the dbus confsubmit/tizen/20180607.021137submit/tizen/20180603.223713submit/tizen/20180527.235133submit/tizen/20180522.225714accepted/tizen/unified/20180611.015404YoungHun Kim2-5/+3
Change-Id: I5768d506291ef927bb5fcecde7eb5a2a6056a41b
2018-05-03Apply deny policy for default context in dbus configuration filesubmit/tizen/20180504.054911accepted/tizen/unified/20180508.071444YoungHun Kim2-2/+10
Change-Id: I6cbb4802b83b95d32bec9c89ca7d1d6b2e85979b
2018-04-09Disable calling memory checking functions temporarily in case of asan buildsubmit/tizen/20180409.075025Sangchul Lee2-1/+7
Change-Id: I3642a96c6ccab3c6c772f14ee369643166a8fbd8 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2018-03-29Remove RELRO enable condition checksubmit/tizen/20180329.053845accepted/tizen/unified/20180403.060041Jeongmo Yang1-4/+2
[Version] 0.0.74-10 [Profile] Common [Issue Type] Optimization Change-Id: I02264a7a31ebaf894ef4153c013adbe329cfafeb Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2018-03-23Enable RELRO option for Wearablesubmit/tizen/20180323.070027accepted/tizen/unified/20180326.075257Seungbae Shin3-1/+21
Change-Id: I4ab119100a7f14f2dcb3e232dd485d6caaff1304
2017-07-17Set terminating signal to SIGKILLtizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20170828.100006submit/tizen_4.0/20170811.094300submit/tizen/20170720.052926accepted/tizen/unified/20170720.164914accepted/tizen/4.0/unified/20170828.222738accepted/tizen/4.0/unified/20170816.012344Konrad Kuchciak1-0/+2
Murphy doesn't shut down properly when SIGTERM is delivered - this blocks system shutdown/reboot for 90 sec (systemd default). Change-Id: Icb5d3b8c7f175abfe41c8c1b2b31a844f1a240f2
2017-05-19Merge branch 'tizen_3.0' into tizentizen_4.0.m1_releasesubmit/tizen/20170519.014533accepted/tizen/unified/20170519.194926Sangchul Lee5-56/+173
Change-Id: I20c24e09ef49d613f859496e3f45ffd6b5f92071
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-27Merge branch 'tizen_3.0' into tizensubmit/tizen/20170329.121135accepted/tizen/wearable/20170329.222714accepted/tizen/unified/20170329.222759accepted/tizen/tv/20170329.222650accepted/tizen/mobile/20170329.222538accepted/tizen/ivi/20170329.222739accepted/tizen/common/20170329.172541accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonSeungbae Shin3-17/+65
Change-Id: I1f6836f969cf11a166d7da9861ffcb25e242e175
2017-03-27Install COPYING & update license to proper one (BSD-3-Clause)submit/tizen_3.0/20170329.043647accepted/tizen/3.0/wearable/20170329.223006accepted/tizen/3.0/tv/20170329.222946accepted/tizen/3.0/mobile/20170329.222926accepted/tizen/3.0/ivi/20170329.223027accepted/tizen/3.0/common/20170330.124937Seungbae Shin1-2/+4
[Version] 0.0.74-8 [Profile] Common [Issue Type] License Change-Id: Id78b7276b834ab7f85429773568b30686c271ae1
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 Brynza2-3/+9
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-02-13Add mutexes to Murphy mainloop implementationVolodymyr Brynza3-3/+33
Change-Id: Id678f6f841e21dc11abb847978e09ce5c17c7256 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2017-01-16Fix build with GCC6submit/tizen_unified/20170308.100415submit/tizen/20170116.062507accepted/tizen/wearable/20170116.090452accepted/tizen/unified/20170309.040212accepted/tizen/tv/20170116.090432accepted/tizen/mobile/20170116.090411accepted/tizen/ivi/20170116.090507accepted/tizen/common/20170116.181608Seungbae Shin1-2/+7
Add -P option to GCC preprocessor Distinguish linemarkers and pragmas (both start with #) Change-Id: I54e8674a5bcbc087da6a40c0571e9c3e4de3ef7f
2017-01-04Remove unnecessary g_thread_unref() after g_thread_join()Sangchul Lee2-2/+1
Change-Id: Ic55c09b67b29492bb9c433d52a82492b1146a349 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com> (cherry picked from commit 99d4d110ceeee74e8c71025d5b09f01373d8477d)
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 Lee2-2/+1
Change-Id: Ic55c09b67b29492bb9c433d52a82492b1146a349 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-12-20Merge branch 'tizen' into tizen_3.0submit/tizen_3.0/20161220.100802submit/tizen_3.0.m2/20170104.093753accepted/tizen/3.0/wearable/20161221.011134accepted/tizen/3.0/tv/20161221.010749accepted/tizen/3.0/mobile/20161221.011621accepted/tizen/3.0/ivi/20161221.010957accepted/tizen/3.0/common/20161221.181309accepted/tizen/3.0.m2/wearable/20170105.025105accepted/tizen/3.0.m2/tv/20170105.024942accepted/tizen/3.0.m2/mobile/20170105.024811tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileJeongmo Yang4-15/+120
Conflicts: packaging/murphy.spec src/common/glib-glue.c Change-Id: I6b37d638f2dcf16593a8ab86ae48fdcd6b8e742a Signed-off-by: Jeongmo Yang <jm80.yang@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 Brynza3-15/+114
Change-Id: Ic2aad19a9bf9269955e825c8b77af75ffeb96efa Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>