×
Close
The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
Blame SOURCES/0094-ccpp-create-dump-directory-without-parents.patch
Branch: 7853e13bbde759b0d5bac91d8b12748a8893181c
baab13
From 2f948bdc09aa346616852a421ce1af2e03b39997 Mon Sep 17 00:00:00 2001
baab13
From: Jakub Filak <jfilak@redhat.com>
baab13
Date: Wed, 15 Apr 2015 17:42:59 +0200
baab13
Subject: [ABRT PATCH] ccpp: create dump directory without parents
baab13
baab13
This patch makes the code more robust.
baab13
This patch ensures that abrt-hook-ccpp never creates the dump location.
baab13
baab13
Related: #1211835
baab13
baab13
Signed-off-by: Jakub Filak <jfilak@redhat.com>
baab13
---
baab13
src/hooks/abrt-hook-ccpp.c | 2 +-
baab13
1 file changed, 1 insertion(+), 1 deletion(-)
baab13
baab13
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
baab13
index 7e05aa6..85e0d35 100644
baab13
--- a/src/hooks/abrt-hook-ccpp.c
baab13
+++ b/src/hooks/abrt-hook-ccpp.c
baab13
@@ -677,7 +677,7 @@ int main(int argc, char** argv)
baab13
* the current user, hence, we have to call dd_reset_ownership() after the
baab13
* directory is populated.
baab13
*/
baab13
- dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE);
baab13
+ dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE, /*no flags*/0);
baab13
if (dd)
baab13
{
baab13
char *rootdir = get_rootdir(pid);
baab13
--
baab13
1.8.3.1
baab13