Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/miscfs/procfs Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/af163edbae13
branches: netbsd-9
changeset: 964275:af163edbae13
user: martin <martin%NetBSD.org@localhost>
date: Thu Feb 04 17:20:45 2021 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #1195):
sys/miscfs/procfs/procfs_vfsops.c: revision 1.110
Fix procfs environ node.
diffstat:
sys/miscfs/procfs/procfs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r ada9863fa6f9 -r af163edbae13 sys/miscfs/procfs/procfs_vfsops.c
--- a/sys/miscfs/procfs/procfs_vfsops.c Thu Feb 04 17:12:10 2021 +0000
+++ b/sys/miscfs/procfs/procfs_vfsops.c Thu Feb 04 17:20:45 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_vfsops.c,v 1.101 2019/03/30 23:28:30 christos Exp $ */
+/* $NetBSD: procfs_vfsops.c,v 1.101.4.1 2021/02/04 17:20:45 martin Exp $ */
/*
* Copyright (c) 1993
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.101 2019/03/30 23:28:30 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.101.4.1 2021/02/04 17:20:45 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -388,6 +388,7 @@
case PFSmap: /* /proc/N/map = -r-------- */
case PFSmaps: /* /proc/N/maps = -r-------- */
case PFSauxv: /* /proc/N/auxv = -r-------- */
+ case PFSenviron: /* /proc/N/environ = -r-------- */
pfs->pfs_mode = S_IRUSR;
vp->v_type = VREG;
break;
@@ -395,7 +396,6 @@
case PFSstatus: /* /proc/N/status = -r--r--r-- */
case PFSstat: /* /proc/N/stat = -r--r--r-- */
case PFScmdline: /* /proc/N/cmdline = -r--r--r-- */
- case PFSenviron: /* /proc/N/environ = -r--r--r-- */
case PFSemul: /* /proc/N/emul = -r--r--r-- */
case PFSmeminfo: /* /proc/meminfo = -r--r--r-- */
case PFScpustat: /* /proc/stat = -r--r--r-- */
Home |
Main Index |
Thread Index |
Old Index