summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.cpp
Commit message (Collapse)AuthorAgeFilesLines
* do not catch perl/python crashes when the script is not of known package originKarel Klic2010-04-131-22/+38
|
* whitespace cleanup, no code changesDenys Vlasenko2010-04-011-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Allow user to select which reporter he wants to use to report a crash using CLI.Karel Klic2010-03-181-30/+13
| | | | | | | The daemon skips reporters which are not in the list of reporters provided via Report() dbus call. Reviewed by: Jiri Moskovcak <jmoskovc@redhat.com> Reviewed by: Denys Vlasenko <vda.linux@googlemail.com>
* Never flag backtrace as binary file (fixes problem observed in bz#571411)Denys Vlasenko2010-03-081-10/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-7/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add ProcessUnpackaged option to abrt.confDenys Vlasenko2010-03-051-7/+27
| | | | | | Based on patch by Pekka Pietikainen <pp@ee.oulu.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-041-53/+66
| | | | | | | | | | | | | | | | | | | 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 <vda.linux@googlemail.com> Acked-by: Nikola Pajkovsky <npajkovs@redhat.com>
* save reporters' results to abrt_vNN_reportresult table tooDenys Vlasenko2010-03-021-0/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* GUI: improved url handling in report messagesJiri Moskovcak2010-02-171-1/+1
|
* remove autoreport hack, re-enable proper code for itDenys Vlasenko2010-02-081-5/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove binary files from report if client did not include themDenys Vlasenko2010-02-081-0/+19
| | | | | | | This is not used at the moment, but will be needed when GUI will reinstate "Attachments" checkboxes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-071-2/+1
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix handling of dupes (weren't deleting dup's directory); better loggingDenys Vlasenko2010-02-051-11/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: handle "perl -w /usr/bin/script" tooDenys Vlasenko2010-02-041-2/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Kerneloops: fix BZ reporting of oopsesDenys Vlasenko2010-01-291-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bug 559881 (kerneloops not shown in "new" GUI)Denys Vlasenko2010-01-291-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reenabled gpg checkJiri Moskovcak2010-01-281-0/+7
| | | | | | - we still just check only the signature of the package, which doesn't tell us if the files on the disk weren't changed, but will at least filter not official packages
* abrtd: set "Reported" status only if at least one reporter succeededDenys Vlasenko2010-01-271-6/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport: make it avoid double runs; add forced regeneration; upd PLUGINS-HOWTODenys Vlasenko2010-01-261-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* attribute SEGVs in perl to script's package, like we already do for pythonDenys Vlasenko2010-01-251-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix previous commitDenys Vlasenko2010-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused getuidbynameDenys Vlasenko2010-01-221-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore saving of backtrace broken by client->server security fixDenys Vlasenko2010-01-211-45/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-211-137/+94
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use get_crash_data_item_content() accessor more widelyDenys Vlasenko2010-01-201-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split load_crash_data_from_debug_dump from DebugDumpToCrashReportDenys Vlasenko2010-01-201-24/+29
| | | | | | We will need it elsewhere later Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use get_crash_data_item_content() more widely. -4k.Denys Vlasenko2010-01-191-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unify "crash data, "crash info" and "crash report" data types. they are the sameDenys Vlasenko2010-01-191-67/+71
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: disable plugin loading/unloading through GUI. Document keyring a bitDenys Vlasenko2010-01-131-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: assorted fixes prompted by security analysis; more to comeDenys Vlasenko2010-01-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* replace plugin enabling via EnabledPlugins by par-plugin Enabled = yes/noDenys Vlasenko2010-01-101-9/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: preparatory patch for per-plugin "Enable" codeDenys Vlasenko2010-01-081-28/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* change "python /path/to/script" code a bit: doesnt log false failures nowDenys Vlasenko2009-12-161-53/+67
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix all instances of atoi() usageDenys Vlasenko2009-12-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move misplaced commentDenys Vlasenko2009-12-151-9/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't blame python for every crash in /usr/bin/python rhbz#533521 trac#109Jiri Moskovcak2009-12-151-1/+49
| | | | | | - when there is a bug in 3rd party python extension, the python binary creates the coredump, so ABRT always blames the python package, but we want to blame the app that uses the extension instead
* better logging of package and hash checksDenys Vlasenko2009-12-141-11/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* temporarily convert hyperlink-laden label to normal one (HL doesn't work)Denys Vlasenko2009-12-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-4/+4
| | | | | | See https://fedorahosted.org/abrt/ticket/71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove one case when we write data needlessly; remove 2 unused funcsDenys Vlasenko2009-12-101-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify code which deletes corrupted debug dumps; kill unused EXCEP_FATALDenys Vlasenko2009-12-041-24/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SQLite3: string& -> char*, -8k in code sizeDenys Vlasenko2009-12-031-1/+1
| | | | | | Run tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hopefully fix rhbz#541854: when we trim the dir, we must delete it from DB tooDenys Vlasenko2009-12-031-25/+38
| | | | | | Also added a more robust code to resis SEGVing if directory doesn't exist. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-301-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few fixes in automatic reporterNikola Pajkovsky2009-11-301-5/+7
|
* Kerneloops are reported automaticky now when AutoReportUIDs = root is in ↵Nikola Pajkovsky2009-11-261-0/+49
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-261-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>