summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Karol Lewandowski [Wed, 2 Nov 2022 09:32:41 +0000 (10:32 +0100)]
Release 2.0.15
Change-Id: I0375be86cc3d023e8a2a61f4770d17d73de5e303
Karol Lewandowski [Wed, 2 Nov 2022 09:31:38 +0000 (10:31 +0100)]
Use new style #pragma once instead of ifdef/endif header guards
Change-Id: I07a9083fa046e266be08bf3dd37f7f6fc34b4156
Karol Lewandowski [Wed, 2 Nov 2022 09:30:08 +0000 (10:30 +0100)]
Make libraries callable from c++
Change-Id: I43afc780c30004f1f588a72a1f018c1e547659c4
Karol Lewandowski [Wed, 14 Sep 2022 08:51:53 +0000 (10:51 +0200)]
Release 2.0.14
Change-Id: Ib6bfceaa46c0b6bad13e07b7726fb6049b2cb787
Mateusz Moscicki [Mon, 12 Sep 2022 11:25:50 +0000 (13:25 +0200)]
dumpsys: Remove code duplication
Change-Id: I8f248dffde4595b0462eb89f1681394c0792220e
Mateusz Moscicki [Mon, 12 Sep 2022 09:05:18 +0000 (11:05 +0200)]
tests: Remove code duplication
Change-Id: I78fff774c4bd9d4dd0d085fabfbe62381649037f
Karol Lewandowski [Mon, 12 Sep 2022 20:33:51 +0000 (22:33 +0200)]
Add unit tests to SAM exclude list
Change-Id: I0ac9a97cb7b555eb7eaaa70f156b8bcc6502da89
Mateusz Moscicki [Tue, 15 Jun 2021 12:11:06 +0000 (14:11 +0200)]
Release 2.0.13
Change-Id: Ia040c8b974291af67d97fc64b8c80b9278754209
Ernest Borowski [Tue, 8 Jun 2021 17:27:31 +0000 (17:27 +0000)]
Prevent out of bounds write.
read() could write up to PATH_MAX chars to array
and return it as res, then we write to this array at res
position which is out of bound index.
exepath[res] = '\0';
sizeof(exepath) is equal to res, so it is out of bounds write.
Change-Id: I1c1a2f00998933e5ff7bc17409ea6a228b21475c
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
Mateusz Moscicki [Thu, 22 Apr 2021 08:03:26 +0000 (10:03 +0200)]
Release 2.0.12
Change-Id: I29f436b3b9415092b99cb07cee84492fddcb63ef
Mateusz Moscicki [Thu, 25 Mar 2021 12:27:20 +0000 (13:27 +0100)]
Remove the requirement to separate service parameters with "--"
This change removes the requirement to separate service options from
dumpsys options with "--". Now all options after the service name are
passed to the target service.
After this change there is no need to call:
dumpsys -o /tmp/data.txt org.tizen.some_service -- --opt1 arg1
Can be called simply:
dumpsys -o /tmp/data.txt org.tizen.some_service --opt1 arg1
Change-Id: I6886f7dfd8e0cf550833163901c07c7c7f25d933
Karol Lewandowski [Fri, 9 Oct 2020 08:41:13 +0000 (10:41 +0200)]
service: Drop needless dependencies
dumpsys-service.service is activated using Type=dbus, meaning it already
requires dbus.socket. systemd-tmpfiles-setup.service is part of early
target(s) so we can simplify this by simply dropping both DefaultDeps=no
and the tmpfiles dependency.
Change-Id: Ib92f995e28fb26a80b9d6c7ce4913dcaf99c5689
Karol Lewandowski [Tue, 29 Sep 2020 14:41:50 +0000 (16:41 +0200)]
Release 2.0.11
Change-Id: I59634ddd4ff5971ee533bcb49e5a1bd619d5ce28
Karol Lewandowski [Tue, 29 Sep 2020 14:41:39 +0000 (16:41 +0200)]
service: Move dumpsys-service to /usr/libexec
It's not supposed to be executed directly by user.
Change-Id: Ie0c0e693a1705fa7921a71e9f56ed9cb826db8fd
Karol Lewandowski [Tue, 29 Sep 2020 21:26:19 +0000 (23:26 +0200)]
service: Drop unimplemented Register method from interface description
Change-Id: I7d3304be7ac405fc56a33135f0dc0e8ed9d62cf7
Karol Lewandowski [Tue, 29 Sep 2020 12:17:30 +0000 (14:17 +0200)]
service: Support and enable on-demand activation of dumpsys-service
Change-Id: I0f2ae67924f66fd93f5f7f25832c89f189397aa7
Mateusz Moscicki [Wed, 19 Aug 2020 08:50:45 +0000 (10:50 +0200)]
Return the correct code in case of permission issue
Change-Id: Ib07350e9e219ab177ee39ed1631f56fa05da98bb
Mateusz Moscicki [Thu, 30 Jul 2020 07:47:08 +0000 (09:47 +0200)]
Release 2.0.10
Change-Id: Ib86f3c406135a90abc4a5a6f88edf4e1cbebb305
Mateusz Moscicki [Tue, 4 Aug 2020 09:48:04 +0000 (11:48 +0200)]
Cleanup build requirements in the spec file
Change-Id: Iaa5400c5fd634b1c67c62c4723e685cdbeff4f5b
Mateusz Moscicki [Thu, 30 Jul 2020 06:17:24 +0000 (08:17 +0200)]
Disable building tests by default
Change-Id: Ib53b90435a529a96b2db8f6ac31cc35662553467
Karol Lewandowski [Tue, 28 Jul 2020 16:13:10 +0000 (18:13 +0200)]
Ensure tmpfile is always installed in /usr/lib
This commit fixes issue on aarch64, where tmpfile was installed into /usr/lib64.
Change-Id: I139fe96678832b928a5e955a937aca955b45d3c1
Mateusz Moscicki [Mon, 13 Jul 2020 11:28:31 +0000 (13:28 +0200)]
Release 2.0.8
Change-Id: Id77ef5317da6f71b493dfbf011726460a0d9645c
Mateusz Moscicki [Fri, 3 Jul 2020 13:22:49 +0000 (15:22 +0200)]
Add dumpsys-common requirement to the dumpsys package
Change-Id: I0de1f258174bffdd0fa009067b66c19bb53e72da
Mateusz Moscicki [Fri, 26 Jun 2020 06:56:43 +0000 (08:56 +0200)]
Fix memory leak
Change-Id: I5fd9ce01b80b3baa80dbf924ee1468d141373637
Mateusz Moscicki [Mon, 22 Jun 2020 12:54:25 +0000 (14:54 +0200)]
Change the dumpsys_dump() function signature
Change-Id: Iaf20a0e29afab2f2eac6b489757605ea5aaddb81
Mateusz Moscicki [Mon, 11 May 2020 11:32:49 +0000 (13:32 +0200)]
Add unit tests
Change-Id: I6e85ba73472b1bf0bc363cd9c09cfedd41dec321
Mateusz Moscicki [Thu, 30 Apr 2020 11:26:04 +0000 (13:26 +0200)]
Release 2.0.7
Change-Id: I9861cbd237b6c002a4a331609241367ecbbe410e
Mateusz Moscicki [Wed, 29 Apr 2020 10:01:20 +0000 (12:01 +0200)]
Merge branch 'tizen_5.5' into tizen
Change-Id: If816e118c02114d7a06a50c021a06d82bfc6b9e7
Kichan Kwon [Wed, 29 Apr 2020 03:15:35 +0000 (12:15 +0900)]
Fix memory leak
Change-Id: Icc17a110af79c93197cdcc97933ec2f033db9f96
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Mateusz Moscicki [Mon, 27 Apr 2020 13:01:21 +0000 (15:01 +0200)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I54fecf2c105f9524f3f357ba1e32d574efb1d68a
Mateusz Moscicki [Mon, 27 Apr 2020 10:29:30 +0000 (12:29 +0200)]
Release 2.0.6
Change-Id: Ib8f280eefddc3876db4a963fc36a1c52d411e25a
Mateusz Moscicki [Fri, 24 Apr 2020 10:15:22 +0000 (12:15 +0200)]
Fix resource leak
Change-Id: Ie4237ffa4164648923941554c9e66db10428d693
Karol Lewandowski [Tue, 14 Apr 2020 08:34:51 +0000 (08:34 +0000)]
Merge "Change file permission of dumpsys-service.conf to 644" into tizen
Karol Lewandowski [Fri, 10 Apr 2020 08:43:18 +0000 (10:43 +0200)]
Merge branch 'tizen' into tizen_5.5
Change-Id: Id869d30fe79479900c947789c2a6d3896dc4eae9
Karol Lewandowski [Fri, 10 Apr 2020 07:00:43 +0000 (09:00 +0200)]
Release 2.0.5: Hotfix: Modify policy to support dumpsys providers with multiple well-known names registered
Change-Id: I0cf61c9f3d92776c2fee25f8efc1f7ce08b15fa7
Mateusz Moscicki [Thu, 9 Apr 2020 08:27:30 +0000 (10:27 +0200)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I72a896fe0a90418c97efb935f1de02cde65aa832
Mateusz Moscicki [Thu, 9 Apr 2020 08:26:48 +0000 (10:26 +0200)]
Release 2.0.4
Change-Id: Id2924889367b792d6db3ce37e30f1ec7efe8abae
INSUN PYO [Thu, 9 Apr 2020 05:35:23 +0000 (14:35 +0900)]
Change file permission of dumpsys-service.conf to 644
Change-Id: I3c0edce328b555074850107dd8cde78998b15f0e
Mateusz Moscicki [Mon, 6 Apr 2020 07:58:57 +0000 (09:58 +0200)]
Fix coverity issue - memory leak
Change-Id: I889c26f9f254519eb8b4b26b8708d49dbbddd092
Mateusz Moscicki [Tue, 24 Mar 2020 08:01:58 +0000 (09:01 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I1dc4c7201d0c5896d5aaeac9ff460ea7728bab00
Mateusz Moscicki [Tue, 24 Mar 2020 07:57:16 +0000 (08:57 +0100)]
Release 2.0.3
Change-Id: Ib9463330f8a78df3a26685e50c7bf261015251c3
Mateusz Moscicki [Tue, 24 Mar 2020 06:51:24 +0000 (07:51 +0100)]
Fix coverity issues - memory leaks
Change-Id: I6c96a07b52a01b16b6e823d39b9b2a55e45ffbc5
Mateusz Moscicki [Mon, 23 Mar 2020 12:10:03 +0000 (13:10 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I0a7116e330c60643807c71f99babefb893f1ccb0
Mateusz Moscicki [Mon, 23 Mar 2020 11:19:04 +0000 (12:19 +0100)]
Release 2.0.2
Change-Id: Ifd269f0658e30cd4784180de99942705ced649e8
Mateusz Moscicki [Mon, 23 Mar 2020 09:29:16 +0000 (10:29 +0100)]
Fix memory leak
Change-Id: Iecddd0c97022afd4c3f17a5b988d1156b1e5c7b6
Karol Lewandowski [Fri, 20 Mar 2020 10:02:58 +0000 (10:02 +0000)]
Merge "Merge branch 'tizen' into tizen_5.5" into tizen_5.5
Karol Lewandowski [Fri, 20 Mar 2020 09:45:14 +0000 (10:45 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I5a745d748e4e168e32ad3f404575412b2d307c30
Karol Lewandowski [Fri, 20 Mar 2020 09:10:04 +0000 (10:10 +0100)]
Release 2.0.1
Current implementation is the second implementation of dumpsys
functionality, mark it as such.
Change-Id: I0a59fe376477f12a06155b8f87f1ae97222b6f56
Karol Lewandowski [Fri, 20 Mar 2020 08:50:21 +0000 (09:50 +0100)]
packaging: Ensure shell users can use dumpsys without restriction
Change-Id: Ibac06670ac5965fc1acb3211b53aa64e7d2040c9
Mateusz Moscicki [Fri, 13 Mar 2020 11:04:33 +0000 (12:04 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I9caf0b8cb78a6595f77045dcbe64ea3103c1d755
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
Mateusz Moscicki [Thu, 12 Mar 2020 14:16:14 +0000 (15:16 +0100)]
Fix linking flags and permissions
Change-Id: I27a8fd557b4bd47e94b05ce031c3848097dc41e3
Mateusz Moscicki [Tue, 10 Mar 2020 14:36:02 +0000 (15:36 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I96d0a721ec3223a66b207a5b62035cf501bd4e5f
Mateusz Moscicki [Tue, 10 Mar 2020 14:32:29 +0000 (15:32 +0100)]
Fix systemd service unit path
Change-Id: I42840c5366ed842276b5efa0a2c65f75cb66200f
Mateusz Moscicki [Tue, 10 Mar 2020 12:05:31 +0000 (13:05 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: Ifcd0a29516d299a98fe46f67119d59a6d7184181
Mateusz Moscicki [Fri, 6 Mar 2020 14:16:02 +0000 (15:16 +0100)]
Release 0.0.4
This version adds the dumpsys-service which is responsible for communication
between dumpsys tool and services or aplications
Change-Id: I5786a029239e6d44e1a8dad123a425f71e53e9da
Mateusz Moscicki [Tue, 10 Mar 2020 12:00:24 +0000 (13:00 +0100)]
Fix uninitialized variable error
Change-Id: Ib21a8ea06ce1a7276fe4094f3a150b9edab9c0f8
Mateusz Moscicki [Fri, 6 Mar 2020 14:15:44 +0000 (15:15 +0100)]
Separate DBus policy configuration
Change-Id: I15ff48ef59ddf1461ad57d978087a17546b3789f
Mateusz Moscicki [Fri, 6 Mar 2020 14:08:41 +0000 (15:08 +0100)]
Change the prefix for services
Change-Id: Ie0f88fe58299cb1d9818e791513d0999a847fefe
Mateusz Moscicki [Fri, 6 Mar 2020 10:23:17 +0000 (11:23 +0100)]
Remove system agent
Change-Id: I99d03fea64aceddb332681bc15e4c39866713926
Mateusz Moscicki [Tue, 25 Feb 2020 14:07:17 +0000 (15:07 +0100)]
Remove session agent
Change-Id: I26a6394635130eabad8aaedd5b0ecd9fa11ff6a2
Mateusz Moscicki [Wed, 29 Jan 2020 13:02:03 +0000 (14:02 +0100)]
Add system tests for dumpsys
Change-Id: I8f42f0a37f8b94656b8485d71b33f5887f0faef9
Mateusz Moscicki [Thu, 27 Feb 2020 16:58:01 +0000 (17:58 +0100)]
Add library providing API for user app services.
Change-Id: Idd1c4b763a6377912d62fa38a0d79a83a09b5122
Mateusz Moscicki [Tue, 21 Jan 2020 15:12:48 +0000 (16:12 +0100)]
Modify dumpsys architecture
This commit introduces a dumpsys-service which is responsible for
communication between dumpsys tool and service or application.
dumpsys-service creates a fifo pipe, and sends one of its ends to
dumpsys-agents. If agent confirms that requested application exists on
its bus, then dumpsys-service returns second end of pipe to dumpsys
tool. After that dumpsys tool can read the data written by requested
application or service.
Change-Id: I40545c260d5c9367da6af4454151293f7e3d1a3b
Karol Lewandowski [Fri, 14 Feb 2020 13:53:49 +0000 (14:53 +0100)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I9d9fe92ac8177671029e8243c5b29ec4f3aa8fb8
Karol Lewandowski [Fri, 14 Feb 2020 13:20:38 +0000 (14:20 +0100)]
Fix: drop duplicate test
Change-Id: Ie048642cb7bc5a6d0448843d776e33efc6b21225
Karol Lewandowski [Fri, 14 Feb 2020 13:09:45 +0000 (14:09 +0100)]
Do not leak write_fd in call_dump error path
Change-Id: I1ac5ca3a3987c2334e013bd52f304aa5fa0f9f58
Karol Lewandowski [Tue, 11 Feb 2020 15:26:08 +0000 (16:26 +0100)]
Do not leak fifo_path
Change-Id: Ib8ed78d09c3ab0438f6786d91c86c8ae6d1f1f2f
(cherry picked from commit
bb5afc237868973b3acd6a1873c2e32bb119e78e)
Karol Lewandowski [Tue, 11 Feb 2020 15:26:08 +0000 (16:26 +0100)]
Do not leak fifo_path
Change-Id: Ib8ed78d09c3ab0438f6786d91c86c8ae6d1f1f2f
Mateusz Moscicki [Thu, 31 Oct 2019 12:24:09 +0000 (13:24 +0100)]
Add dumpsys API library
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
Change-Id: I4f27610c7facfc48bc532bb5a943beb699a41dfd
Tizen Infrastructure [Thu, 16 Jan 2020 00:38:29 +0000 (00:38 +0000)]
Initial empty repository