summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-04Fix the build warningsubmit/tizen_4.0/20191004.084131accepted/tizen/4.0/unified/20191015.052706accepted/tizen_4.0_unifiedYoungHun Kim5-9/+9
Change-Id: I532e54feccda18ba617e661018404bedf9fdf7e9
2019-09-06Move the mainloop quit checksubmit/tizen_4.0/20190906.083634submit/tizen_4.0/20190906.024235accepted/tizen/4.0/unified/20190909.053610YoungHun Kim1-4/+4
Change-Id: Id6c12df20650310305282298752ea4986ff16592
2019-09-05Merge "Fix the crash issue of check_destroy" into tizen_4.0submit/tizen_4.0/20190905.081408YoungHun Kim1-1/+4
2019-09-05Fix 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-05Fix the callback crashYoungHun Kim2-14/+30
- Add null check - Add invalid fd check - Add mainloop termination check Change-Id: I3c7856aaf6143edf7e2229ccd594172d8c05e2f1
2019-09-05fixup! 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_4.0/20190725.074254submit/tizen_4.0/20190521.040544accepted/tizen/4.0/unified/20190726.001415YoungHun 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 (cherry picked from commit aade6316b0de6e75e4b71ca60ec9a23f0d6e16f6)
2019-04-25Add PIDFile for forking typesubmit/tizen_4.0/20190425.081909accepted/tizen/4.0/unified/20190429.060034YoungHun Kim3-1/+52
Change-Id: Ieb37b8c370d2dd74b1fd6a0d6417c109079448be (cherry picked from commit 2e50ff6d704db0eb0a9c8e7d0a8b403790918769)
2018-10-25Merge branch 'tizen' to 'tizen_4.0'YoungHun Kim4-7/+17
- Launch as a daemon and set systemd service type to forking - Diable the dependency of dbus because not related actally with dbus (core) - Enable the dlog of murphy - Change to daemonize after stream flush Change-Id: If9dc2d9542e773c844961eedf8249759a2a5b6ae
2018-04-09Disable calling memory checking functions temporarily in case of asan buildsubmit/tizen_4.0/20180409.074338accepted/tizen/4.0/unified/20180410.063514Sangchul Lee2-1/+7
Change-Id: I3642a96c6ccab3c6c772f14ee369643166a8fbd8 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2018-03-29Remove RELRO enable condition checksubmit/tizen_4.0/20180329.053905accepted/tizen/4.0/unified/20180330.122335Jeongmo 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_4.0/20180323.070042accepted/tizen/4.0/unified/20180326.075147Seungbae 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>
2016-12-14Fix fd leakVolodymyr Brynza1-0/+6
Change-Id: Ib2f8153d2a8e13bc8f0edf6cbbc2ecf3de274044 Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
2016-11-27Remove systemctl enable/disable for duplicated installationsubmit/tizen/20161129.052917accepted/tizen/wearable/20161130.015333accepted/tizen/tv/20161130.015244accepted/tizen/mobile/20161130.015159accepted/tizen/ivi/20161130.015417accepted/tizen/common/20161129.173546Seungbae Shin1-7/+1
[Version] 0.0.74-3 [Profile] Common [Issue Type] systemd Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e (cherry picked from commit 06d0ba2d2501fac59f2d1b96782412afd1194b81)
2016-11-25Remove systemctl enable/disable for duplicated installationsubmit/tizen_3.0/20161129.051721accepted/tizen/3.0/wearable/20161130.011709accepted/tizen/3.0/tv/20161130.011626accepted/tizen/3.0/mobile/20161130.011423accepted/tizen/3.0/ivi/20161130.011751accepted/tizen/3.0/common/20161130.064611Seungbae Shin1-7/+1
[Version] 0.0.74-3 [Profile] Common [Issue Type] systemd Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e
2016-11-22Modify spec and service fileSangchul Lee2-2/+4
Change value of WantedBy field to multi-user.target Change-Id: I6fae41114ed53f461543c5351d2e5cef630c63bb Signed-off-by: Sangchul Lee <sc11.lee@samsung.com> (cherry picked from commit 0cb0a08aae506e747a5a57fbd98f8bc01886c440)
2016-11-17Modify spec and service fileSangchul Lee2-2/+4
Change value of WantedBy field to multi-user.target Change-Id: I6fae41114ed53f461543c5351d2e5cef630c63bb Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-11-10Update glib-glue for suporting non default contextsubmit/tizen_3.0_common/20161114.081136submit/tizen_3.0/20161110.095131accepted/tizen/3.0/wearable/20161111.003332accepted/tizen/3.0/tv/20161111.003313accepted/tizen/3.0/mobile/20161111.003304accepted/tizen/3.0/ivi/20161111.003352accepted/tizen/3.0/common/20161114.143140Volodymyr Brynza1-21/+54
Change-Id: Ia3163c7822627d64acfe1d49a3c3e3a5c9f93716 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-11-08Change spec and service file to launch murphyd for system-wide and to change ↵submit/tizen_3.0_common/20161110.084657submit/tizen_3.0/20161108.053851accepted/tizen/3.0/wearable/20161109.124640accepted/tizen/3.0/tv/20161109.124537accepted/tizen/3.0/mobile/20161109.124331accepted/tizen/3.0/ivi/20161109.124724accepted/tizen/3.0/common/20161114.081802Sangchul Lee2-8/+10
UID/GID to multimedia_fw Change-Id: I5f43dc25215d427e7e90f8ab198763e7888bb6a8 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-10-26Change spec and service file to launch murphyd for system-wide and to change ↵submit/tizen/20161108.054351accepted/tizen/wearable/20161109.002742accepted/tizen/tv/20161109.002649accepted/tizen/mobile/20161109.002454accepted/tizen/ivi/20161109.002826accepted/tizen/common/20161109.140239Sangchul Lee2-8/+10
UID/GID to multimedia_fw Change-Id: I5f43dc25215d427e7e90f8ab198763e7888bb6a8 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-09-05packaging: Add -fcommon to build with Address Sanitizersubmit/tizen_3.0_wearable/20161015.000004submit/tizen_3.0_tv/20161015.000004submit/tizen_3.0_mobile/20161015.000005submit/tizen_3.0_ivi/20161010.000005submit/tizen_3.0_common/20161104.104000submit/tizen/20160907.074000accepted/tizen/wearable/20160908.044042accepted/tizen/tv/20160908.043932accepted/tizen/mobile/20160908.043236accepted/tizen/ivi/20160908.044150accepted/tizen/common/20160907.154643accepted/tizen/3.0/wearable/20161015.083727accepted/tizen/3.0/tv/20161016.005221accepted/tizen/3.0/mobile/20161015.033926accepted/tizen/3.0/ivi/20161011.055326Chan Lee1-0/+3
Change-Id: Ica854c690e5f5a47e5eed98108c106b32fc0fbea Signed-off-by: Chan Lee <chan45.lee@samsung.com>
2016-09-02Remove policy group in org.Murphy.conf.inSangchul Lee1-5/+0
Change-Id: I43ed971a3353c8c01fde8155364fe6626d1b563b
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-06-29disable setcap in spec filesubmit/tizen_common/20160701.180000submit/tizen/20160630.022953accepted/tizen/wearable/20160630.063251accepted/tizen/tv/20160630.063314accepted/tizen/mobile/20160630.063355accepted/tizen/ivi/20160630.063332accepted/tizen/common/20160703.130255Sangchul Lee1-2/+2
Change-Id: I7a5a3ef6185d66a552c55060d3e0b21cc63bd2d5
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 Vagin6-5/+161
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-29Change license description to BSD-2.0 in spec fileSangchul Lee1-2/+2
Change-Id: I1103aff62b4b9062d312d650470c1f2afe14a353
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-09-02tmpfiled: fix the systemd-tmpfiles-setup.service failure bugtizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150902.115323accepted/tizen/wearable/20150903.000501accepted/tizen/tv/20150903.000219accepted/tizen/mobile/20150903.000032tizen_3.0.m1_tvtizen_3.0.m1_mobileSangjung Woo1-2/+2
systemd-tmpfiles-setup.service is failed to start since user 'app' does not exist in Tizen 3.0. This patch fixes that bug. Change-Id: I5abf15f226586ebf045c31eecde34e55223c0376 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2015-07-30Modify spec file for minimal compiling and extract murphy.lua filesubmit/tizen/20150731.050937accepted/tizen/wearable/20150731.102901accepted/tizen/tv/20150731.102734accepted/tizen/mobile/20150731.102602Sangchul Lee9-3306/+57
Change-Id: Iad805d12a41934e59d637c1e76712f39e57bde44 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>