Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/puffs/mount_sysctlfs nothing is executable.



details:   https://anonhg.NetBSD.org/src/rev/1dc1a88e76af
branches:  trunk
changeset: 819230:1dc1a88e76af
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 23 17:25:11 2016 +0000

description:
nothing is executable.

diffstat:

 usr.sbin/puffs/mount_sysctlfs/sysctlfs.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 622a5a1e2597 -r 1dc1a88e76af usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
--- a/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c  Wed Nov 23 17:22:44 2016 +0000
+++ b/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c  Wed Nov 23 17:25:11 2016 +0000
@@ -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 @@
        filegid = getegid();
 
        if (fileuid == 0)
-               fileperms = 0755;
+               fileperms = 0644;
        else
-               fileperms = 0555;
+               fileperms = 0444;
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index