[master] b9a9c5d Removing confusing, non-effective permissions

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 7 11:06:12 CEST 2015


commit b9a9c5d0a06d1ea37ae16854e2c59570d3ae4e4c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 1 12:14:22 2015 +0000

    Removing confusing, non-effective permissions

diff --git a/bin/varnishd/mgt/mgt_shmem.c b/bin/varnishd/mgt/mgt_shmem.c
index 89a7935..1afcfbf 100644
--- a/bin/varnishd/mgt/mgt_shmem.c
+++ b/bin/varnishd/mgt/mgt_shmem.c
@@ -104,7 +104,7 @@ vsm_n_check(void)
 	struct VSM_head vsmh;
 	int retval = 1;
 
-	fd = open(VSM_FILENAME, O_RDWR, 0644);
+	fd = open(VSM_FILENAME, O_RDWR);
 	if (fd < 0)
 		return (0);
 



More information about the varnish-commit mailing list