summaryrefslogtreecommitdiffstats
path: root/lib/Utils
Commit message (Collapse)AuthorAgeFilesLines
* fix bz description text disrupted by recent dbus security fixDenys Vlasenko2010-01-211-30/+65
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* TicketUploader and FileTransfer plugins: fixes after a round of testingDenys Vlasenko2010-01-211-1/+1
| | | | | | | for one, FileTransfer now would not use current dir as a storage for temp files. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore saving of backtrace broken by client->server security fixDenys Vlasenko2010-01-211-12/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-213-14/+62
| | | | | | 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-192-20/+1
| | | | 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-197-28/+90
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-36/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CCpp analyzer: display __abort_msg in backtrace. closes rhbz#549735Denys Vlasenko2010-01-181-16/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'bugzilla'Nikola Pajkovsky2010-01-132-3/+15
|\
| * fix memory leaks in bugzillaNikola Pajkovsky2010-01-132-3/+15
| |
* | remeove timeout when authorization is doneJiri Moskovcak2010-01-131-2/+2
|/
* Fixing /var/cache/abrt/ permissions by allowing users to read, but not to ↵Karel Klic2010-01-121-20/+31
| | | | change their crash data. Adds abrt user, changes abrt-hook-python to use suid instead of sgid bit (uid=abrt), sets /var/cache/abrt and every dump subdirectory to be owned by abrt user. Read access for users and their own crashes is provided by group (/var/cache/abrt/ccpp-xxxx-xx has user's group).
* DebugDump: more consistent logic in setting mode and uid:gid on dump dirDenys Vlasenko2010-01-113-18/+69
| | | | | | | | With comments! yay. Before it, too restrictive mode was preventing python craches to be handled. Signed-off-by: Karel Klic <kklic@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: assorted fixes prompted by security analysis; more to comeDenys Vlasenko2010-01-114-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: misc fixesDenys Vlasenko2010-01-115-10/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: cast pids and uigs to long, not intDenys Vlasenko2010-01-113-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport/TicketUploader: use more restrictive file modesDenys Vlasenko2010-01-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* RunApp: safer chdir. Overhauled "sparn a child and get its output" in generalDenys Vlasenko2010-01-114-31/+128
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* DebugDump: use more restrictive modesDenys Vlasenko2010-01-111-3/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ccpp: add a possibility to disable backtrace generationDenys Vlasenko2010-01-071-1/+0
| | | | | | + assorted minor tweaks Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* moved get_cmdline() and daemon_is_ok() to abrtlibKarel Klic2009-12-182-0/+140
|
* prevent destructors from throwing exceptions; check curl_easy_init errorsDenys Vlasenko2009-12-164-2/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix all instances of atoi() usageDenys Vlasenko2009-12-153-1/+52
| | | | 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-0/+2
| | | | | | - 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
* add paranoia checks on setuid/setgidDenys Vlasenko2009-12-141-0/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-0/+1
| | | | | | 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-10/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dbus lib: fix parsing of 0-element arrays. Fixes bug 95Denys Vlasenko2009-12-101-10/+12
| | | | | | See https://fedorahosted.org/abrt/ticket/95 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: add comment about ccpp/abrtd raceDenys Vlasenko2009-12-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2009-12-102-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove std::string usage from class CABRTException.Denys Vlasenko2009-12-064-15/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SQLite3: string& -> char*, -8k in code sizeDenys Vlasenko2009-12-032-35/+28
| | | | | | 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-17/+10
| | | | | | Also added a more robust code to resis SEGVing if directory doesn't exist. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build fixesJiri Moskovcak2009-12-031-4/+5
|
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-302-7/+5
| | | | 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-262-0/+13
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-264-21/+142
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split libABRTdUtils from libABRTUtils. This makes hooks _much_ smaller.Denys Vlasenko2009-11-251-5/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bump text size threshold 1k -> 2kDenys Vlasenko2009-11-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* forgotten commaDenys Vlasenko2009-11-191-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix small bug in plugin loading codeDenys Vlasenko2009-11-191-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make BZ insert small text attachments inline; move text file detection codeDenys Vlasenko2009-11-193-99/+32
| | | | | | Run-tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move Catcut's description generation to lib/Utils/make_descr.cppDenys Vlasenko2009-11-192-4/+76
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupsDenys Vlasenko2009-11-182-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add support for \" escaping in config fileDenys Vlasenko2009-11-181-8/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add experimental saving of /var/log/Xorg*.log for X crashesDenys Vlasenko2009-11-161-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable compilation of the rest of socket codeDenys Vlasenko2009-11-121-1/+1
| | | | 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-123-2/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>