summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Andrey Kazmin [Thu, 8 Apr 2021 08:32:38 +0000 (11:32 +0300)]
Applied -fcommon for HWASan build
Change-Id: I503203702b06ff13d4c65dc992004b7c613537ed
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
YoungHun Kim [Fri, 15 Oct 2021 00:42:52 +0000 (09:42 +0900)]
Fix Uninitialized scalar variable (UNINIT)
Change-Id: I53708468d973ff7abb3d69959e8b0dcd0d538809
YoungHun Kim [Wed, 15 Sep 2021 01:14:56 +0000 (10:14 +0900)]
Avoid the conflict of address name in container mode
Change-Id: I372be21820ef5aa20f7edd46a513f22a6d1c23e2
YoungHun Kim [Mon, 7 Jun 2021 03:14:12 +0000 (12:14 +0900)]
fixup: Change path of configuration file
Change-Id: Ifaef78dfc0a6b00dbb28a2914307b27b4637d028
YoungHun Kim [Tue, 1 Jun 2021 22:51:17 +0000 (07:51 +0900)]
Change path of configuration file
Change-Id: I9921664041c477d48cf3c44f634392431928cf75
YoungHun Kim [Thu, 20 May 2021 02:30:59 +0000 (11:30 +0900)]
Fix coverity issue
- Uninitialized scalar variable (UNINIT)
Change-Id: I2a75f401daa69b66d18b1afd647db1c88dd0ea86
INSUN PYO [Fri, 5 Feb 2021 02:24:38 +0000 (11:24 +0900)]
Change systemd-devel package name
Change-Id: I55c33f41873fa8c002e28bf01c2e5e74b4ea570b
INSUN PYO [Thu, 3 Dec 2020 05:15:10 +0000 (14:15 +0900)]
Change tmpfile path from /var/run to /run
* 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
YoungHun Kim [Fri, 11 Sep 2020 06:41:59 +0000 (15:41 +0900)]
fixup! Set null after unregistering mainloop to fix heap-use-after-free
- Added setting null missing after mrp_mainloop_destroy
Change-Id: I6ac05b3caf15e1366aa5932ffa0382ca514e03d1
YoungHun Kim [Wed, 12 Aug 2020 23:18:18 +0000 (08:18 +0900)]
Set null after unregistering mainloop to fix heap-use-after-free
Change-Id: I7679ee06fd20e03b5a76f54c7a7c0b586439c2bd
YoungHun Kim [Thu, 17 Oct 2019 02:50:58 +0000 (11:50 +0900)]
Wait until context is owned by worker thread to avoid context owner warning
- 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
YoungHun Kim [Mon, 30 Sep 2019 07:09:19 +0000 (16:09 +0900)]
Fix the build warning
Change-Id: I532e54feccda18ba617e661018404bedf9fdf7e9
YoungHun Kim [Fri, 6 Sep 2019 02:04:34 +0000 (11:04 +0900)]
Move the mainloop quit check
Change-Id: Id6c12df20650310305282298752ea4986ff16592
YoungHun Kim [Thu, 5 Sep 2019 06:36:49 +0000 (15:36 +0900)]
Fix the crash issue of check_destroy
- 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
YoungHun Kim [Thu, 5 Sep 2019 00:43:10 +0000 (09:43 +0900)]
Fix the callback crash
- Add null check
- Add invalid fd check
- Add mainloop termination check
Change-Id: I3c7856aaf6143edf7e2229ccd594172d8c05e2f1
YoungHun Kim [Fri, 30 Aug 2019 06:04:11 +0000 (15:04 +0900)]
fixup! Move mutexes and condition from static memory allocation to dynamic
- Add missing mutex lock
Change-Id: I6554ead33d02b3578b9442c89e262dc8ce1fd172
YoungHun Kim [Fri, 17 May 2019 09:35:04 +0000 (18:35 +0900)]
Fix memory leak of mprobe
- 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
YoungHun Kim [Thu, 25 Apr 2019 00:24:15 +0000 (09:24 +0900)]
Add PIDFile for forking type
Change-Id: Ieb37b8c370d2dd74b1fd6a0d6417c109079448be
YoungHun Kim [Wed, 31 Oct 2018 10:37:43 +0000 (19:37 +0900)]
Setup log target right after starting plugin for more debugging
- replace with printf before setup target
Change-Id: I091e774092954e782694ed6fc89ebb27957977e7
YoungHun Kim [Wed, 24 Oct 2018 08:26:34 +0000 (17:26 +0900)]
Change to daemonize after stream flush
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419
YoungHun Kim [Mon, 15 Oct 2018 23:17:50 +0000 (08:17 +0900)]
Enable the dlog of murphy
Change-Id: I218fd6029c91f4687b9a7b069f3160ea212fd8de
YoungHun Kim [Mon, 9 Jul 2018 06:25:33 +0000 (15:25 +0900)]
Disable the dbus part because not related actually with dbus (core)
Change-Id: Ic1a87e077265d49f9d72e1446b84967431cc54d3
Seungbae Shin [Wed, 17 Oct 2018 08:13:31 +0000 (17:13 +0900)]
Launch as a daemon and set systemd service type to forking
Change-Id: I768ae15fc1dec95d5adfbe045484b547166dd88b
YoungHun Kim [Sun, 20 May 2018 23:24:57 +0000 (08:24 +0900)]
Add rule of 'own' and remove 'user' at the dbus conf
Change-Id: I5768d506291ef927bb5fcecde7eb5a2a6056a41b
YoungHun Kim [Tue, 24 Apr 2018 09:43:08 +0000 (18:43 +0900)]
Apply deny policy for default context in dbus configuration file
Change-Id: I6cbb4802b83b95d32bec9c89ca7d1d6b2e85979b
Sangchul Lee [Mon, 9 Apr 2018 04:12:02 +0000 (13:12 +0900)]
Disable calling memory checking functions temporarily in case of asan build
Change-Id: I3642a96c6ccab3c6c772f14ee369643166a8fbd8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Thu, 29 Mar 2018 05:18:19 +0000 (14:18 +0900)]
Remove RELRO enable condition check
[Version] 0.0.74-10
[Profile] Common
[Issue Type] Optimization
Change-Id: I02264a7a31ebaf894ef4153c013adbe329cfafeb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Seungbae Shin [Fri, 23 Mar 2018 06:12:30 +0000 (15:12 +0900)]
Enable RELRO option for Wearable
Change-Id: I4ab119100a7f14f2dcb3e232dd485d6caaff1304
Konrad Kuchciak [Mon, 17 Jul 2017 13:45:01 +0000 (15:45 +0200)]
Set terminating signal to SIGKILL
Murphy doesn't shut down properly when SIGTERM is delivered - this
blocks system shutdown/reboot for 90 sec (systemd default).
Change-Id: Icb5d3b8c7f175abfe41c8c1b2b31a844f1a240f2
Sangchul Lee [Fri, 19 May 2017 00:40:34 +0000 (09:40 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I20c24e09ef49d613f859496e3f45ffd6b5f92071
Volodymyr Brynza [Thu, 6 Apr 2017 10:59:52 +0000 (13:59 +0300)]
Check glue_ref return value
Change-Id: Ica5d1d2094edd492347a4dbb4e6851e6dfb5aea5
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Fri, 12 May 2017 11:33:52 +0000 (14:33 +0300)]
Move mutexes and condition from static memory allocation to dynamic
Add reference counting to glue
Change-Id: I2380d4cc4a761374b69f062a0906a1a388a26a2c
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Thu, 9 Mar 2017 14:06:01 +0000 (16:06 +0200)]
Add dlog target to common murphy logging
Change-Id: Id48b150bda810c7ea33798a0493f07b56d0e6482
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Fri, 12 May 2017 08:46:24 +0000 (11:46 +0300)]
Add timed wait to thread loop join to avoid timeouts
Change-Id: Iae53916efcbd3591f7e3b94bf8551fc29ead7b96
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Seungbae Shin [Mon, 27 Mar 2017 10:05:55 +0000 (19:05 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I1f6836f969cf11a166d7da9861ffcb25e242e175
Seungbae Shin [Mon, 27 Mar 2017 07:26:39 +0000 (16:26 +0900)]
Install COPYING & update license to proper one (BSD-3-Clause)
[Version] 0.0.74-8
[Profile] Common
[Issue Type] License
Change-Id: Id78b7276b834ab7f85429773568b30686c271ae1
Volodymyr Brynza [Mon, 6 Mar 2017 07:48:55 +0000 (09:48 +0200)]
Add NULL check to prevent crashes in super_*_cb
Change-Id: Ib0a1dfe6b11290bf18657cba5f3dbffe880516b3
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Mon, 27 Feb 2017 12:34:06 +0000 (14:34 +0200)]
Change glib thread creation function to prevent crash in stress testing
Change-Id: I3712b9e397a9b7fc53426ddc378276e02b29062e
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Mon, 13 Feb 2017 12:48:05 +0000 (14:48 +0200)]
Add mutexes to Murphy mainloop implementation
Change-Id: Id678f6f841e21dc11abb847978e09ce5c17c7256
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Mon, 13 Feb 2017 12:48:05 +0000 (14:48 +0200)]
Add mutexes to Murphy mainloop implementation
Change-Id: Id678f6f841e21dc11abb847978e09ce5c17c7256
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Seungbae Shin [Wed, 11 Jan 2017 15:23:30 +0000 (00:23 +0900)]
Fix build with GCC6
Add -P option to GCC preprocessor
Distinguish linemarkers and pragmas (both start with #)
Change-Id: I54e8674a5bcbc087da6a40c0571e9c3e4de3ef7f
Sangchul Lee [Wed, 4 Jan 2017 02:23:40 +0000 (11:23 +0900)]
Remove unnecessary g_thread_unref() after g_thread_join()
Change-Id: Ic55c09b67b29492bb9c433d52a82492b1146a349
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
99d4d110ceeee74e8c71025d5b09f01373d8477d)
Sangchul Lee [Wed, 4 Jan 2017 02:23:40 +0000 (11:23 +0900)]
Remove unnecessary g_thread_unref() after g_thread_join()
Change-Id: Ic55c09b67b29492bb9c433d52a82492b1146a349
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongmo Yang [Tue, 20 Dec 2016 08:32:15 +0000 (17:32 +0900)]
Merge branch 'tizen' into tizen_3.0
Conflicts:
packaging/murphy.spec
src/common/glib-glue.c
Change-Id: I6b37d638f2dcf16593a8ab86ae48fdcd6b8e742a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Volodymyr Brynza [Mon, 19 Dec 2016 20:22:14 +0000 (22:22 +0200)]
Implement thread cretaion. Add mutex to prevent data races in callback
Change-Id: Ic2aad19a9bf9269955e825c8b77af75ffeb96efa
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Wed, 14 Dec 2016 12:32:26 +0000 (14:32 +0200)]
Fix fd leak
Change-Id: Ib2f8153d2a8e13bc8f0edf6cbbc2ecf3de274044
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Seungbae Shin [Fri, 25 Nov 2016 11:25:15 +0000 (20:25 +0900)]
Remove systemctl enable/disable for duplicated installation
[Version] 0.0.74-3
[Profile] Common
[Issue Type] systemd
Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e
(cherry picked from commit
06d0ba2d2501fac59f2d1b96782412afd1194b81)
Seungbae Shin [Fri, 25 Nov 2016 11:25:15 +0000 (20:25 +0900)]
Remove systemctl enable/disable for duplicated installation
[Version] 0.0.74-3
[Profile] Common
[Issue Type] systemd
Change-Id: I5a60d551913e20a57dac7b8702878875257ae04e
Sangchul Lee [Tue, 15 Nov 2016 02:09:32 +0000 (11:09 +0900)]
Modify spec and service file
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)
Sangchul Lee [Tue, 15 Nov 2016 02:09:32 +0000 (11:09 +0900)]
Modify spec and service file
Change value of WantedBy field to multi-user.target
Change-Id: I6fae41114ed53f461543c5351d2e5cef630c63bb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Volodymyr Brynza [Wed, 9 Nov 2016 14:46:43 +0000 (16:46 +0200)]
Update glib-glue for suporting non default context
Change-Id: Ia3163c7822627d64acfe1d49a3c3e3a5c9f93716
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Wed, 9 Nov 2016 14:46:43 +0000 (16:46 +0200)]
Update glib-glue for suporting non default context
Change-Id: Ia3163c7822627d64acfe1d49a3c3e3a5c9f93716
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Sangchul Lee [Wed, 26 Oct 2016 03:05:51 +0000 (12:05 +0900)]
Change spec and service file to launch murphyd for system-wide and to change UID/GID to multimedia_fw
Change-Id: I5f43dc25215d427e7e90f8ab198763e7888bb6a8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 26 Oct 2016 03:05:51 +0000 (12:05 +0900)]
Change spec and service file to launch murphyd for system-wide and to change UID/GID to multimedia_fw
Change-Id: I5f43dc25215d427e7e90f8ab198763e7888bb6a8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Chan Lee [Mon, 5 Sep 2016 02:41:58 +0000 (11:41 +0900)]
packaging: Add -fcommon to build with Address Sanitizer
Change-Id: Ica854c690e5f5a47e5eed98108c106b32fc0fbea
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Sangchul Lee [Fri, 2 Sep 2016 09:18:42 +0000 (18:18 +0900)]
Remove policy group in org.Murphy.conf.in
Change-Id: I43ed971a3353c8c01fde8155364fe6626d1b563b
Volodymyr Brynza [Fri, 1 Jul 2016 12:41:48 +0000 (15:41 +0300)]
add pointer Null check in mod_defer callback
Change-Id: Ia89beb2dcb88e26da39c3770bc83843ef0e0b926
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Sangchul Lee [Wed, 29 Jun 2016 06:57:23 +0000 (15:57 +0900)]
disable setcap in spec file
Change-Id: I7a5a3ef6185d66a552c55060d3e0b21cc63bd2d5
Ievgen Vagin [Wed, 4 May 2016 18:52:06 +0000 (21:52 +0300)]
added dlog plugin, and default dlog logger for native resources
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>
Volodymyr Brynza [Thu, 14 Jan 2016 13:50:40 +0000 (15:50 +0200)]
resource-native plugin: Add resource syncronous release
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>
Sangchul Lee [Tue, 29 Dec 2015 08:00:07 +0000 (17:00 +0900)]
Change license description to BSD-2.0 in spec file
Change-Id: I1103aff62b4b9062d312d650470c1f2afe14a353
Volodymyr Brynza [Tue, 22 Dec 2015 09:32:57 +0000 (11:32 +0200)]
add_defer() function fix
Change-Id: Ib12559ca8338ec215a6ec50c2f4f1c8d69c13ee0
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Volodymyr Brynza [Tue, 8 Dec 2015 08:36:09 +0000 (10:36 +0200)]
Add callback checking
Change-Id: I26b518f3c0fc6ce0a3e6f0e0681cbc86ae8c8219
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
Sangchul Lee [Fri, 26 Jun 2015 02:52:49 +0000 (11:52 +0900)]
Apply ASLR
Change-Id: Ibaebcfddc8866d6a00b376e3c0a505f29c9565b5
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangjung Woo [Wed, 2 Sep 2015 05:58:06 +0000 (14:58 +0900)]
tmpfiled: fix the systemd-tmpfiles-setup.service failure bug
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>
Sangchul Lee [Thu, 30 Jul 2015 08:18:45 +0000 (17:18 +0900)]
Modify spec file for minimal compiling and extract murphy.lua file
Change-Id: Iad805d12a41934e59d637c1e76712f39e57bde44
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Denis Melenevsky [Tue, 21 Jul 2015 16:04:03 +0000 (19:04 +0300)]
Synchronous resource release mechanism
Change-Id: I5d54d013a94acb6c6206d35834a8dacb7bcbf2ce
Signed-off-by: Denis Melenevsky <d.melenevsky@samsung.com>
Sangchul Lee [Wed, 24 Jun 2015 11:05:33 +0000 (20:05 +0900)]
Modify manifest file for changing smack execution label
Change-Id: I441c7534d9735efd2f3b06f4ff73b74e004b6b1d
Doohwan Kim [Thu, 26 Feb 2015 08:39:16 +0000 (17:39 +0900)]
Initialize Tizen 3.0
Signed-off-by: Doohwan Kim <dh8210.kim@samsung.com>
Change-Id: I2ad7e23e121506673a724f512fea429489928451
KyungMi Lee [Wed, 25 Feb 2015 04:42:26 +0000 (20:42 -0800)]
Initial empty repository