From afb30fe1502e9c45b722da3b5c09e292d589aa7f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 4 Mar 2010 16:19:31 +0100 Subject: *: UID:UUID -> crash_id conversion This fixes at least three instances where we did not check whether user is even allowed to report or delete a crash. Also fixes a few cases when root might inadvertently act on (e.g. delete) mote than one crash. Renamed FILENAME_UID to CD_UID - makes more sense this way. Added COL_INFORMALL and CD_INFORMALL. Nuked UID == -1 hacks. Renamed getReport() to start_job on Python side. Dropped a few unused parameters from server -> client dbus signals. Fixed CLI's way of reverencing crashes (see updated help text). Run-tested (GUI and CLI). Signed-off-by: Denys Vlasenko Acked-by: Nikola Pajkovsky --- lib/Utils/make_descr.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Utils/make_descr.cpp') diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp index 8019896..a2f0c03 100644 --- a/lib/Utils/make_descr.cpp +++ b/lib/Utils/make_descr.cpp @@ -68,14 +68,16 @@ static void add_content(bool &was_multiline, string& description, const char *he } } +/* Items we don't want to include */ static const char *const blacklisted_items_bz[] = { FILENAME_TIME , - FILENAME_UID , FILENAME_ANALYZER , FILENAME_COREDUMP , FILENAME_DESCRIPTION, /* package description - basically useless */ - CD_DUPHASH , + CD_UID , CD_UUID , + CD_INFORMALL , + CD_DUPHASH , CD_DUMPDIR , CD_COUNT , CD_REPORTED , -- cgit