Blame SOURCES/0001-CVE-2011-4339-OpenIPMI.patch

b6e1a9
From 152efd46931a70ab4e3d81e99d312df7dcd666e6 Mon Sep 17 00:00:00 2001
b6e1a9
From: Boris Ranto <branto@redhat.com>
b6e1a9
Date: Tue, 10 May 2016 19:12:08 +0200
b6e1a9
Subject: [PATCH] CVE-2011-4339 OpenIPMI
b6e1a9
b6e1a9
IPMI event daemon creates PID file with world writeable permissions
b6e1a9
---
b6e1a9
 lib/helper.c | 1 -
b6e1a9
 1 file changed, 1 deletion(-)
b6e1a9
b6e1a9
diff --git a/lib/helper.c b/lib/helper.c
b6e1a9
index de91438..c3a1c80 100644
b6e1a9
--- a/lib/helper.c
b6e1a9
+++ b/lib/helper.c
b6e1a9
@@ -829,7 +829,6 @@ ipmi_start_daemon(struct ipmi_intf *intf)
b6e1a9
 #endif
b6e1a9
 
b6e1a9
 	chdir("/");
b6e1a9
-	umask(0);
b6e1a9
 
b6e1a9
 	for (fd=0; fd<64; fd++) {
b6e1a9
 		if (fd != intf->fd)
b6e1a9
-- 
b6e1a9
2.7.4
b6e1a9