Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs Fix emul and exe DT_ types (from RVP, as w...



details:   https://anonhg.NetBSD.org/src/rev/fc9952c8f13a
branches:  trunk
changeset: 359629:fc9952c8f13a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 14 23:46:56 2022 +0000

description:
Fix emul and exe DT_ types (from RVP, as was the previous commit)

diffstat:

 sys/miscfs/procfs/procfs_vnops.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r b76585134b1f -r fc9952c8f13a sys/miscfs/procfs/procfs_vnops.c
--- a/sys/miscfs/procfs/procfs_vnops.c  Fri Jan 14 22:55:10 2022 +0000
+++ b/sys/miscfs/procfs/procfs_vnops.c  Fri Jan 14 23:46:56 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_vnops.c,v 1.225 2022/01/14 18:28:28 christos Exp $      */
+/*     $NetBSD: procfs_vnops.c,v 1.226 2022/01/14 23:46:56 christos Exp $      */
 
 /*-
  * Copyright (c) 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.225 2022/01/14 18:28:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.226 2022/01/14 23:46:56 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -162,12 +162,12 @@
        { DT_DIR, N("fd"),      PFSfd,          NULL },
        { DT_DIR, N("task"),    PFStask,        procfs_validfile_linux },
        { DT_LNK, N("cwd"),     PFScwd,         NULL },
-       { DT_LNK, N("emul"),    PFSemul,        NULL },
+       { DT_REG, N("emul"),    PFSemul,        NULL },
        { DT_LNK, N("root"),    PFSchroot,      NULL },
        { DT_REG, N("auxv"),    PFSauxv,        procfs_validauxv },
        { DT_REG, N("cmdline"), PFScmdline,     NULL },
        { DT_REG, N("environ"), PFSenviron,     NULL },
-       { DT_REG, N("exe"),     PFSexe,         procfs_validfile },
+       { DT_LNK, N("exe"),     PFSexe,         procfs_validfile },
        { DT_REG, N("file"),    PFSfile,        procfs_validfile },
        { DT_REG, N("fpregs"),  PFSfpregs,      procfs_validfpregs },
        { DT_REG, N("limit"),   PFSlimit,       NULL },



Home | Main Index | Thread Index | Old Index