summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.cpp
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2009-08-26 15:35:50 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2009-08-26 15:35:50 +0200
commit556a4b3df4f116965e8dc46c08ac5e720834022e (patch)
tree863dd4d67b2ace8b6b95e2157cce8b2be3076763 /src/Daemon/Daemon.cpp
parentde7e5c9866603aed5f7b9c3ba6986a7ff1d37028 (diff)
downloadabrt-556a4b3df4f116965e8dc46c08ac5e720834022e.tar.gz
abrt-556a4b3df4f116965e8dc46c08ac5e720834022e.tar.xz
abrt-556a4b3df4f116965e8dc46c08ac5e720834022e.zip
resolved: Bug 518420 - ordinary user's abrt-applet shows up for root owned crashes
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r--src/Daemon/Daemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 58970b0..f5b40b4 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -467,13 +467,13 @@ static gboolean handle_event_cb(GIOChannel *gio, GIOCondition condition, gpointe
log("New crash, saving...");
RunActionsAndReporters(crashinfo[CD_MWDDD][CD_CONTENT]);
/* send message to dbus */
- g_pCommLayer->Crash(crashinfo[CD_PACKAGE][CD_CONTENT]);
+ g_pCommLayer->Crash(crashinfo[CD_PACKAGE][CD_CONTENT], crashinfo[CD_UID][CD_CONTENT]);
break;
case MW_REPORTED:
case MW_OCCURED:
/* send message to dbus */
log("Already saved crash, deleting...");
- g_pCommLayer->Crash(crashinfo[CD_PACKAGE][CD_CONTENT]);
+ g_pCommLayer->Crash(crashinfo[CD_PACKAGE][CD_CONTENT], crashinfo[CD_UID][CD_CONTENT]);
DeleteDebugDumpDir(std::string(DEBUG_DUMPS_DIR) + "/" + name);
break;
case MW_BLACKLISTED: