summaryrefslogtreecommitdiffstats
path: root/src/Hooks/abrt-hook-python.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-041-1/+1
| | | | | | | | | | | | | | | | | | | 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-15/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* python hook: move UUID generation to abrtd; generate REASON, add it to bz titleDenys Vlasenko2010-02-081-16/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stupid whitespace fixDenys Vlasenko2010-02-071-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use .new suffix on new crashdumps; strip it when crashdump is readyDenys Vlasenko2010-02-041-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-hook-python: sanitize input more; log to syslogDenys Vlasenko2010-01-121-10/+43
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixing /var/cache/abrt/ permissions by allowing users to read, but not to ↵Karel Klic2010-01-121-1/+1
| | | | 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).
* Catch and display ABRTException thrown by CDebugDump::CreateKarel Klic2010-01-111-1/+7
|
* *: misc fixesDenys Vlasenko2010-01-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: cast pids and uigs to long, not intDenys Vlasenko2010-01-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-hook-python: add input sanitization and directory size guardDenys Vlasenko2010-01-111-16/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cmdline and daemon checking is done by abrt-python-hookKarel Klic2009-12-181-9/+11
|
* abrt-pyhook-helper rename part 2Denys Vlasenko2009-12-111-0/+120
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>