Date: Sun, 19 Mar 2017 10:38:28 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315542 - stable/11/sys/compat/linprocfs Message-ID: <201703191038.v2JAcSms069135@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703191038.v2JAcSms069135>