abrt/0063-doc-add-documentation-for-GetProblemData.patch
Matej Habrnal fa1950198b Several bug fixes
Move the default dump location to /var/spool/abrt from /var/tmp/abrt and
Use root for owner of all dump directories

Fixes for CVE-2015-3315, CVE-2015-3142, CVE-2015-1869, CVE-2015-1870
Fixes for CVE-2015-3147, CVE-2015-3151, CVE-2015-3150, CVE-2015-3159

Resolves: #1179752

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2015-06-17 16:53:27 +02:00

38 lines
1.5 KiB
Diff

From 7af709b3054bafc118d216c59b2d2c9ed49ce31c Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 16 Mar 2015 14:13:14 +0100
Subject: [PATCH] doc: add documentation for GetProblemData
For cockpit-abrt.
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
doc/problems-service/org.freedesktop.Problems.xml.in | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/problems-service/org.freedesktop.Problems.xml.in b/doc/problems-service/org.freedesktop.Problems.xml.in
index 705b286..6fcd990 100644
--- a/doc/problems-service/org.freedesktop.Problems.xml.in
+++ b/doc/problems-service/org.freedesktop.Problems.xml.in
@@ -253,6 +253,18 @@ for prblmid in problems.GetProblems():
</arg>
</method>
+ <method name='GetProblemData'>"
+ <tp:docstring>Returns problem's data.</tp:docstring>
+
+ <arg type='s' name='problem_dir' direction='in'>
+ <tp:docstring>An identifier of problem.</tp:docstring>
+ </arg>
+
+ <arg type='a{sits}' name='problem_data' direction='out'>
+ <tp:docstring>A dictionary where keys are element names and values are triplets (element libreport flags, element size, element contents).</tp:docstring>
+ </arg>
+ </method>
+
<method name='ChownProblemDir'>
<tp:docstring>Assures ownership of a specified problem for the caller.</tp:docstring>
--
2.1.0