summaryrefslogtreecommitdiffstats
path: root/inc
Commit message (Collapse)AuthorAgeFilesLines
* ccpp hook: add SaveBinaryImage option which saves of the crashed binaryDenys Vlasenko2010-06-071-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add extern "C" around [suffix,preffix]cmp functionNikola Pajkovsky2010-06-041-0/+8
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* new fuctions and realloc replaced by xreallocNikola Pajkovsky2010-06-041-0/+3
| | | | | | new functions are prefixcmp and suffixcmp Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* add new file *hostname* into debugdump directoryNikola Pajkovsky2010-06-011-0/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* remove std::string from parse_release()Nikola Pajkovsky2010-05-171-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* fix bug 588945 - sparse core files performance hitDenys Vlasenko2010-05-121-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanup, no code changesDenys Vlasenko2010-04-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use backtrace parser from abrtutils, new backtrace rating algorithm, store ↵Karel Klic2010-03-261-0/+5
| | | | crash function if it's known, compute Global UUID in CreateReport
* Move backtrace parser from src/Backtrace to lib/Utils.Karel Klic2010-03-261-49/+1
| | | | | | | | | | | | | | | Move abrt-backtrace app from src/Backtrace/main.c to src/utils/abrt-backtrace. Move backtrace preprocessign code from abrt-backtrace to the parser. Implemented new backtrace rating algorithm. Added old bt rating algorithm to backtrace.c Move strbuf to lib/Utils, and updated it to use xfuncs. Created separate header for xfuncs. Some functions in xfuncs marked as extern "c", so they can be used in C code. Merged backtrace fallback (independent_backtrace) "parser" into backtrace.{h/c}. Added option --rate to abrt-backtrace, to be able to use the new backtrace rating algorithm in scripts.
* remove socket code, it is deadDenys Vlasenko2010-03-232-88/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add ProcessUnpackaged option to abrt.confDenys Vlasenko2010-03-051-11/+14
| | | | | | 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-2/+8
| | | | | | | | | | | | | | | | | | | 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>
* abrt-hook-ccpp: do not consider SIGQUIT to be a crashDenys Vlasenko2010-02-121-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* get_home_dir uses uid_t for the uidKarel Klic2010-02-121-1/+1
|
* Added comment to perror_msg declaration.Karel Klic2010-02-121-0/+1
|
* remove FILENAME_UUIDDenys Vlasenko2010-02-081-3/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "reason" field less verbose; bz reporter: include it in "summary"Denys Vlasenko2010-02-081-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my goof in to_string()Denys Vlasenko2010-02-081-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-074-11/+26
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused getuidbynameDenys Vlasenko2010-01-221-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore saving of backtrace broken by client->server security fixDenys Vlasenko2010-01-211-10/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-211-18/+17
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-16/+40
| | | | 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-192-28/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-7/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: assorted fixes prompted by security analysis; more to comeDenys Vlasenko2010-01-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport/TicketUploader: use more restrictive file modesDenys Vlasenko2010-01-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* RunApp: safer chdir. Overhauled "sparn a child and get its output" in generalDenys Vlasenko2010-01-111-1/+25
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* moved get_cmdline() and daemon_is_ok() to abrtlibKarel Klic2009-12-181-0/+10
|
* fix all instances of atoi() usageDenys Vlasenko2009-12-151-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add paranoia checks on setuid/setgidDenys Vlasenko2009-12-141-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-0/+3
| | | | | | 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-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove std::string usage from class CABRTException.Denys Vlasenko2009-12-061-14/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify code which deletes corrupted debug dumps; kill unused EXCEP_FATALDenys Vlasenko2009-12-041-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SQLite3: string& -> char*, -8k in code sizeDenys Vlasenko2009-12-031-0/+1
| | | | | | Run tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few fixes in automatic reporterNikola Pajkovsky2009-11-301-1/+1
|
* Kerneloops are reported automaticky now when AutoReportUIDs = root is in ↵Nikola Pajkovsky2009-11-261-0/+1
| | | | | | 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-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make BZ insert small text attachments inline; move text file detection codeDenys Vlasenko2009-11-191-0/+2
| | | | | | Run-tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable compilation of the rest of socket codeDenys Vlasenko2009-11-121-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport.cpp: __gnu_cxx::stdio_filebuf<char> is +8k in code, thanks but noDenys Vlasenko2009-11-121-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Factored ParseArgNikola Pajkovsky2009-11-121-0/+3
|
* remove getSettings from most plugins (inherited one is ok)Denys Vlasenko2009-11-101-0/+2
| | | | | | | | | Also move parse_release() to abrtlib, it's shared among Bugzilla and Catcut. Tested Bugzilla and Catcut, both work. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify logging a bit. warn_client() is gone, reuse error_msg() for it.Denys Vlasenko2009-11-061-19/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make exception handling lighterDenys Vlasenko2009-11-062-16/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Plugins/FileTransfer: massive surgeryDenys Vlasenko2009-11-061-0/+2
| | | | | | | | text data bss dec hex filename 50212 2144 16 52372 cc94 0/libTicketUploader.so 34693 1888 24 36605 8efd 1/libTicketUploader.so Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* InformAllUsers support. enabled by default for Kerneloops. Tested wuth CCpp.Denys Vlasenko2009-11-051-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>