summaryrefslogtreecommitdiffstats
path: root/src/Hooks
Commit message (Collapse)AuthorAgeFilesLines
* PYHOOK: don't use sitecustomize.py rhbz#539497Jiri Moskovcak2010-03-254-19/+14
|
* don't read syslog if it didn't changeJiri Moskovcak2010-03-151-2/+2
|
* *: 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>
* partial fix for bz#565983Denys Vlasenko2010-02-231-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify kerneloops/dumpoops a bitDenys Vlasenko2010-02-231-6/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* license fixNikola Pajkovsky2010-02-161-24/+21
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-hook-ccpp: do not consider SIGQUIT to be a crashDenys Vlasenko2010-02-122-42/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bz#541088 "abrt should not catch python excp EPIPE"Denys Vlasenko2010-02-111-0/+14
| | | | 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-083-26/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "reason" field less verbose; bz reporter: include it in "summary"Denys Vlasenko2010-02-081-10/+15
| | | | 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-042-2/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-hook-ccpp: fix rhbz#560612 "limit '18446744073709551615' is bogus"Denys Vlasenko2010-02-011-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* python hook: clean up exception handler (removed dead code)Denys Vlasenko2010-01-262-194/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* TicketUploader and FileTransfer plugins: fixes after a round of testingDenys Vlasenko2010-01-211-3/+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>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-192-7/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use repr() to print variable values in python hookJiri Moskovcak2010-01-151-1/+1
|
* abrt-hook-python: sanitize input more; log to syslogDenys Vlasenko2010-01-122-12/+44
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grr... src/Hooks/abrt_hook_ccpp.cpp -> abrt-hook-ccpp.cppDenys Vlasenko2010-01-122-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* src/Hooks/CCpp.cpp -> src/Hooks/abrt_hook_ccpp.cppDenys Vlasenko2010-01-122-2/+2
| | | | 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
|
* DebugDump: more consistent logic in setting mode and uid:gid on dump dirDenys Vlasenko2010-01-111-0/+4
| | | | | | | | 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-112-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: misc fixesDenys Vlasenko2010-01-112-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: cast pids and uigs to long, not intDenys Vlasenko2010-01-112-15/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-hook-python: add input sanitization and directory size guardDenys Vlasenko2010-01-115-95/+174
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cmdline and daemon checking is done by abrt-python-hookKarel Klic2009-12-183-47/+16
|
* moved get_cmdline() and daemon_is_ok() to abrtlibKarel Klic2009-12-181-122/+0
|
* large file support for whole abrtKarel Klic2009-12-181-8/+0
|
* src/Hooks/CCpp.cpp: use and honour %c (core limit size).Denys Vlasenko2009-12-161-73/+98
| | | | | | | Makes MakeCompatCore = yes much more frielndly - now users with ulimit -c 0 won't get unwanted coredumps. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix all instances of atoi() usageDenys Vlasenko2009-12-151-13/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add paranoia checks on setuid/setgidDenys Vlasenko2009-12-141-3/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename part 3, now it builds :]Denys Vlasenko2009-12-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-pyhook-helper rename part 2Denys Vlasenko2009-12-111-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* renaming abrt-pyhook-helper -> abrt-hook-python and moving it to /usr/libexecDenys Vlasenko2009-12-113-9/+9
| | | | 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>
* fix incorrect wordingDenys Vlasenko2009-12-091-3/+3
| | | | | | | | | This looked wrong: "This crash has been reported, you can find the report(s) at: Kernel oops report was uploaded." Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* removed un needed filesJiri Moskovcak2009-12-082-17/+0
|
* PyHook: better logic for checking if abrtd is running rhbz#539987Jiri Moskovcak2009-12-073-40/+34
|
* PyHook: use repr() for displaying variables rhbz#545070Jiri Moskovcak2009-12-071-1/+1
|
* whitespace cleanupDenys Vlasenko2009-12-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ccpp hook: reanme it, and add "crash storm protection" (see rhbz#542003)Denys Vlasenko2009-11-302-10/+40
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hooks/CCpp.cpp: cosmetics after last big commitDenys Vlasenko2009-11-271-38/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hooks/CCpp.cpp: add MakeCompatCore = yes/no directive. Fixes rhbz#541707Denys Vlasenko2009-11-271-35/+185
| | | | | | Run tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* PyHOOK: close pyhook.conf rhzb#541712Jiri Moskovcak2009-11-271-0/+1
|
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-262-2/+55
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split libABRTdUtils from libABRTUtils. This makes hooks _much_ smaller.Denys Vlasenko2009-11-251-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-241-39/+109
|\
| * src/Hooks/CCpp.cpp: print signal name; document future work in commentsDenys Vlasenko2009-11-231-2/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>