svn commit: r315542 - stable/11/sys/compat/linprocfs

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Mar 19 10:38:29 UTC 2017


Author: trasz
Date: Sun Mar 19 10:38:27 2017
New Revision: 315542
URL: https://svnweb.freebsd.org/changeset/base/315542

Log:
  MFC r313995:
  
  Add /proc/self/mounts to linprocfs; some linux binaries need it.

Modified:
  stable/11/sys/compat/linprocfs/linprocfs.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linprocfs/linprocfs.c
==============================================================================
--- stable/11/sys/compat/linprocfs/linprocfs.c	Sun Mar 19 10:37:03 2017	(r315541)
+++ stable/11/sys/compat/linprocfs/linprocfs.c	Sun Mar 19 10:38:27 2017	(r315542)
@@ -1543,6 +1543,8 @@ linprocfs_init(PFS_INIT_ARGS)
 	    NULL, NULL, NULL, PFS_RD);
 	pfs_create_file(dir, "mem", &procfs_doprocmem,
 	    &procfs_attr, &procfs_candebug, NULL, PFS_RDWR|PFS_RAW);
+	pfs_create_file(dir, "mounts", &linprocfs_domtab,
+	    NULL, NULL, NULL, PFS_RD);
 	pfs_create_link(dir, "root", &linprocfs_doprocroot,
 	    NULL, NULL, NULL, 0);
 	pfs_create_file(dir, "stat", &linprocfs_doprocstat,


More information about the svn-src-all mailing list