Blame SOURCES/0094-ccpp-create-dump-directory-without-parents.patch

a60cd7
From 2f948bdc09aa346616852a421ce1af2e03b39997 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Wed, 15 Apr 2015 17:42:59 +0200
a60cd7
Subject: [ABRT PATCH] ccpp: create dump directory without parents
a60cd7
a60cd7
This patch makes the code more robust.
a60cd7
This patch ensures that abrt-hook-ccpp never creates the dump location.
a60cd7
a60cd7
Related: #1211835
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/hooks/abrt-hook-ccpp.c | 2 +-
a60cd7
 1 file changed, 1 insertion(+), 1 deletion(-)
a60cd7
a60cd7
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
a60cd7
index 7e05aa6..85e0d35 100644
a60cd7
--- a/src/hooks/abrt-hook-ccpp.c
a60cd7
+++ b/src/hooks/abrt-hook-ccpp.c
a60cd7
@@ -677,7 +677,7 @@ int main(int argc, char** argv)
a60cd7
      * the current user, hence, we have to call dd_reset_ownership() after the
a60cd7
      * directory is populated.
a60cd7
      */
a60cd7
-    dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE);
a60cd7
+    dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE, /*no flags*/0);
a60cd7
     if (dd)
a60cd7
     {
a60cd7
         char *rootdir = get_rootdir(pid);
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7