summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://git.fedorahosted.org/git/abrtKarel Klic2009-12-181-7/+12
|\
| * made s_signal_caught volatileDenys Vlasenko2009-12-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * further robustification of signal handlerDenys Vlasenko2009-12-171-3/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove unsafe log() from signal handlerDenys Vlasenko2009-12-171-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix all instances of atoi() usageDenys Vlasenko2009-12-151-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of git://git.fedorahosted.org/git/abrtKarel Klic2009-12-141-6/+3
|\|
| * more "obviously correct" code for secure opening of /dev/nullDenys Vlasenko2009-12-141-6/+3
| | | | | | | | | | | | Old code is not broken, new one merely looks "more obviously correct". Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of git://git.fedorahosted.org/git/abrtKarel Klic2009-12-141-2/+8
|\|
| * abrtd: add comment about ccpp/abrtd raceDenys Vlasenko2009-12-101-0/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * style fixes, no code changesDenys Vlasenko2009-12-101-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * small fix on top of DeleteDebugDump changeDenys Vlasenko2009-12-041-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'master' of git://git.fedorahosted.org/git/abrtKarel Klic2009-12-041-15/+1
|\|
| * simplify code which deletes corrupted debug dumps; kill unused EXCEP_FATALDenys Vlasenko2009-12-041-15/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Proper error message on chown failureKarel Klic2009-12-041-2/+2
|/
* rename CreateReport -> StartJob, GetJobResult -> CreateReportDenys Vlasenko2009-12-031-5/+5
| | | | 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-1/+2
| | | | | | Also added a more robust code to resis SEGVing if directory doesn't exist. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix rhbz#518422: refuse to start if some required plugins are missingDenys Vlasenko2009-12-021-6/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-301-22/+28
| | | | 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-261-0/+22
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-261-52/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupsDenys Vlasenko2009-11-181-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* continuing s/std::string&/char*/gDenys Vlasenko2009-11-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon properly checks /var/cache/abrt attributesKarel Klic2009-11-121-17/+19
|
* remove getSettings from most plugins (inherited one is ok)Denys Vlasenko2009-11-101-5/+6
| | | | | | | | | Also move parse_release() to abrtlib, it's shared among Bugzilla and Catcut. Tested Bugzilla and Catcut, both work. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "InformAllUsers" crashes be recorded with UID=-1 in dbDenys Vlasenko2009-11-091-13/+0
| | | | | | this makes them show up in GUI again Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify logging a bit. warn_client() is gone, reuse error_msg() for it.Denys Vlasenko2009-11-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make exception handling lighterDenys Vlasenko2009-11-061-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass replace of const string& params by const char*Denys Vlasenko2009-11-061-16/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* InformAllUsers support. enabled by default for Kerneloops. Tested wuth CCpp.Denys Vlasenko2009-11-051-27/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: call res_init() if /etc/resolv.conf or friends were changedDenys Vlasenko2009-11-041-0/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Plugins/Bugzilla: sanitize xmlrpc init; fix bug where ssl_verify=1 alwaysDenys Vlasenko2009-11-031-2/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* kerneloop has uid = -1 newNikola Pajkovsky2009-11-031-4/+2
|
* abrtd: fix bad interaction with -T SEC code and !-dDenys Vlasenko2009-11-021-4/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Plugins/CCpp: respect DebugInfoCacheMB settingDenys Vlasenko2009-11-021-13/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* implement abrtd -t TIMEOUT_IN_SECDenys Vlasenko2009-10-311-71/+96
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: wire up /var/run/abrt in a few more placesDenys Vlasenko2009-10-301-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix incorrect logic for checking/correcting directory ownerDenys Vlasenko2009-10-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reenable sanitization of /var/cache/abrt; create abrt-di (debuginfo cache) tooDenys Vlasenko2009-10-301-16/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Normal user can see kerneloops and report itNikola Pajkovsky2009-10-291-3/+24
| | | | Bugzilla memory leaks fix
* Merge branch 'master' of git://git.fedorahosted.org/git/abrtKarel Klic2009-10-121-9/+5
|\
| * removed JobStarted signal; fixed a small bug in build-id scanning codeDenys Vlasenko2009-10-091-7/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: add "force" param to CreateReport dbus call. If !0, regenerates backtraceDenys Vlasenko2009-10-091-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | abrt->abrtd in Usage msgKarel Klic2009-10-071-1/+1
|/
* add support for abrtd autostartDenys Vlasenko2009-09-291-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: add an optional 2nd parameter to Report dbus callDenys Vlasenko2009-09-241-3/+4
| | | | | | Also, simplified dbus code a bit. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fix. no code changesDenys Vlasenko2009-09-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* better logic for deleting crashes from overflowing /var/cache/abrtDenys Vlasenko2009-09-211-17/+37
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few C++-isms where they did not buy any convenience anywayDenys Vlasenko2009-09-181-1/+0
| | | | | | | | | | | | text data bss dec hex filename 182372 2624 2320 187316 2dbb4 abrt.t2/abrt-0.0.8.5/src/Daemon/.libs/abrtd 180635 2584 1968 185187 2d363 abrt.t3/abrt-0.0.8.5/src/Daemon/.libs/abrtd 34110 1340 768 36218 8d7a abrt.t2/abrt-0.0.8.5/src/CLI/.libs/abrt-cli 30202 1292 224 31718 7be6 abrt.t3/abrt-0.0.8.5/src/CLI/.libs/abrt-cli 22116 1688 376 24180 5e74 abrt.t2/abrt-0.0.8.5/src/Applet/.libs/abrt-applet 21254 1648 88 22990 59ce abrt.t3/abrt-0.0.8.5/src/Applet/.libs/abrt-applet Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* translate correctionNikola Pajkovsky2009-09-181-1/+1
|