summaryrefslogtreecommitdiffstats
path: root/src/Hooks
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * src/Hooks/CCpp.cpp: do save abrtd's own coredumps, but carefully...Denys Vlasenko2009-11-231-7/+27
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * CCpp.cpp: quote parameters if needed. closes 540164Denys Vlasenko2009-11-231-31/+69
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-201-1/+6
|\|
| * include more info into oops (we were losing the stack dump)Denys Vlasenko2009-11-191-1/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-193-20/+16
|\|
| * whitespace cleanupsDenys Vlasenko2009-11-181-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * removed the rest of python abrtutils wrapperJiri Moskovcak2009-11-151-3/+0
| |
| * disable lib/Python, we don't use it anymore (run tested)Denys Vlasenko2009-11-132-12/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * src/Hooks/CCpp.cpp: clarify error messageDenys Vlasenko2009-11-121-7/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-124-18/+11
|\|
| * src/Hooks/CCpp.cpp: detect write errors (close() return value); more loggingDenys Vlasenko2009-11-121-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Size of uid depends on sizeof(int)Karel Klic2009-11-121-2/+2
| |
| * abrt user group; used by abrt-pyhook-helperKarel Klic2009-11-121-4/+0
| |
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-111-2/+2
| |\
| * | pyhook-helper: uid taken from system instead of command lineKarel Klic2009-11-112-9/+6
| | |
* | | mergeKarel Klic2009-11-094-162/+190
|\ \ \ | | |/ | |/|
| * | make exception handling lighterDenys Vlasenko2009-11-061-1/+1
| | | | | | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * | mass replace of const string& params by const char*Denys Vlasenko2009-11-061-1/+1
| |/ | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add big try-except block to python hook to hide the errors comming from the ↵Jiri Moskovcak2009-11-031-43/+46
| | | | | | | | hok itself
| * small fix: forgot to terminate longopts[]Denys Vlasenko2009-10-311-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix segfault on "abrt-pyhook-helper -p X </dev/null" (use of uninitialized ↵Denys Vlasenko2009-10-311-71/+61
| | | | | | | | | | | | | | | | | | | | | | | | variiable) Converted to getopt (argp_parse is a GNUism), it's smaller now: text data bss dec hex filename 6461 1364 64 7889 1ed1 old/abrt-pyhook-helper 6579 876 128 7583 1d9f new/abrt-pyhook-helper Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix a bug where after realloc we may scribble over uninitialized memoryDenys Vlasenko2009-10-311-32/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>