Module Name:    src
Committed By:   christos
Date:           Wed Nov 23 17:25:12 UTC 2016

Modified Files:
        src/usr.sbin/puffs/mount_sysctlfs: sysctlfs.c

Log Message:
nothing is executable.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
diff -u src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c:1.19 src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c:1.20
--- src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c:1.19	Wed Nov 23 12:22:44 2016
+++ src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c	Wed Nov 23 12:25:11 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysctlfs.c,v 1.19 2016/11/23 17:22:44 christos Exp $	*/
+/*	$NetBSD: sysctlfs.c,v 1.20 2016/11/23 17:25:11 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: sysctlfs.c,v 1.19 2016/11/23 17:22:44 christos Exp $");
+__RCSID("$NetBSD: sysctlfs.c,v 1.20 2016/11/23 17:25:11 christos Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -349,9 +349,9 @@ sysctlfs_domount(struct puffs_usermount 
 	filegid = getegid();
 
 	if (fileuid == 0)
-		fileperms = 0755;
+		fileperms = 0644;
 	else
-		fileperms = 0555;
+		fileperms = 0444;
 
 	return 0;
 }

Reply via email to