summaryrefslogtreecommitdiffstats
path: root/src/daemon/Daemon.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Daemon.cpp: remove unused rpm.hNikola Pajkovsky2010-09-301-1/+0
|/ | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* remove unused codeNikola Pajkovsky2010-09-231-10/+0
| | | | | | code is run in abrt-action-save-package-data.cpp Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* This patch splits off abrtd's package/component/descriptionDenys Vlasenko2010-09-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | generation into a separate tool: abrt-action-save-package-data: invalid option -- 'z' Usage: abrt-action-save-package-data -d DIR [-vs] Query package database and save package name, component, and description Options: -d DIR Crash dump directory -v Verbose -s Log to syslog This also allows for debugging and regression testing of abrt-action-save-package-data - it can be simply run from command-line. Also it provides a better fault isolation - crash in abrt-action-save-package-data does not take down abrtd. Same goes for isolation of memory leaks - old code actually had leaks on a rarely used error path. New code doesn't, but if it would have, it wouldn't matter, since the process is short-lived. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* eliminate LoadOpenGPGPublicKey wrapperDenys Vlasenko2010-09-221-1/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* perror has to be used immediately after failed syscallDenys Vlasenko2010-09-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* This patch makes abrtd spawn a new process, abrt-server,Denys Vlasenko2010-09-141-22/+154
| | | | | | | | | | | | | | | | | | | | | | | | | for every socket client. This allows for simpler timeout handling using SIGALRM, and makes timers for tracking client timeouts unnecessary. This also allows for debugging and regression testing of abrt-server separately - it can be simply run from command-line and fed commands on stdin. Also it provides a better fault isolation - crash in abrt-server does not take down abrtd. The code is based on dumpsocket.{cpp,h}. Most of dumpsocket.cpp goes to abrt-server.c, a small part goes to Daemon.cpp (i.e. to abrtd). This change will not compile - it does not have dumpsocket.cpp renamed to abrt-server.c, which makes the change easier to read. The next change, which I'll commit after this one, contains only the renaming. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* msg_prefix now doesn't need ": " suffixDenys Vlasenko2010-09-141-3/+3
| | | | | | Contains some other trivial changes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* DebugDump.* -> dump_dir.*Nikola Pajkovsky2010-09-071-1/+0
| | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com> Acked-off-by: Jiri Moskovcak <jmoskovc@redhat.com>
* run_main_loop: allocate GPollFD array dynamicallyDenys Vlasenko2010-09-071-6/+12
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dumpsocket: removed unused sockaddr param in accept() call; s/perror/error/Denys Vlasenko2010-09-071-1/+1
| | | | | | Also removed unneeded casts and added and fixed comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* preparatory patch for dirsize.cpp -> dirsize.c conversionDenys Vlasenko2010-08-301-5/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* consolidate HAVE_CONFIG_H in abrtlib.hDenys Vlasenko2010-08-301-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fix a few xmlrpc leaksNikola Pajkovsky2010-08-261-1/+3
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* concat_path_file: make it a C function, not C++Denys Vlasenko2010-08-241-11/+17
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: move NLS include and #define _ to abrtlib.hDenys Vlasenko2010-08-171-12/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lower case direcotry(no code changed)Nikola Pajkovsky2010-08-101-0/+1000
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>