summaryrefslogtreecommitdiffstats
path: root/lib/Utils
Commit message (Collapse)AuthorAgeFilesLines
* 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-052-19/+17
| | | | | | 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-046-19/+18
| | | | | | | | | | | | | | | | | | | 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/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix format security errorFrederic Crozat2010-03-021-2/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cli: add support for "--report @N" and "--report PARTIAL_UUID"Denys Vlasenko2010-02-231-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my goof in cmdline escapingDenys Vlasenko2010-02-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Utils/abrt_dbus: utf8-sanitize all strings in dbus messages (fixes #565876)Denys Vlasenko2010-02-171-1/+97
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* license fixNikola Pajkovsky2010-02-163-3/+60
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'master' into bugzillaNikola Pajkovsky2010-02-154-3/+87
|\
| * Better comment for LoadPluginSettingsKarel Klic2010-02-121-1/+3
| |
| * Move LoadPluginSettings to the shared utils library. Add parameter ↵Karel Klic2010-02-122-1/+84
| | | | | | | | skipKeysWithoutValue.
| * get_home_dir uses uid_t for the uidKarel Klic2010-02-121-1/+1
| |
| * remove FILENAME_UUIDDenys Vlasenko2010-02-081-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | remove debug messageNikola Pajkovsky2010-02-091-1/+0
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | new bugzilla insides, add comment and reproduce when it's filled and not ↵Nikola Pajkovsky2010-02-083-1/+35
|/ | | | CLOSED, hopping when bug is CLOSED as DUPLICATE
* stupid whitespace fixDenys Vlasenko2010-02-072-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* forgot to add lib/Utils/numtoa.cppDenys Vlasenko2010-02-071-0/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-0724-32/+214
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cli: fix the problem of not showing oops text in editorDenys Vlasenko2010-02-031-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Bugzilla,Catcut: fix or remove incomprehensible comments; fix error msgDenys Vlasenko2010-01-282-8/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: proper fix to autostart problemDenys Vlasenko2010-01-271-5/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport: make it avoid double runs; add forced regeneration; upd PLUGINS-HOWTODenys Vlasenko2010-01-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused getuidbynameDenys Vlasenko2010-01-221-9/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>