This causes ibacm files to be created as world writable.

Problem reported by Florian Weimer <[email protected]>

Signed-off-by: Sean Hefty <[email protected]>
---
 src/acm.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/acm.c b/src/acm.c
index 00fc35d..725cde2 100644
--- a/src/acm.c
+++ b/src/acm.c
@@ -3182,8 +3182,6 @@ static void daemonize(void)
        if (pid)
                exit(pid < 0);
 
-       umask(0);
-
        sid = setsid();
        if (sid < 0)
                exit(1);


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to