[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190206073938.GC15311@avx2>
Date: Wed, 6 Feb 2019 10:39:38 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH -mm 2/2] proc: use ramfs for executable generation
tmpfs is under CONFIG_TMPFS which can be disabled.
ramfs is always enabled.
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
fold into proc-test-proc-maps-smaps-smaps_rollup-statm.patch
tools/testing/selftests/proc/proc-pid-vm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/tools/testing/selftests/proc/proc-pid-vm.c
+++ b/tools/testing/selftests/proc/proc-pid-vm.c
@@ -20,7 +20,6 @@
* Test /proc/$PID/smaps_rollup
* Test /proc/$PID/statm
*
- * FIXME require CONFIG_TMPFS which can be disabled
* FIXME test other values from "smaps"
* FIXME support other archs
*/
@@ -58,7 +57,7 @@ static void make_private_tmp(void)
if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) {
exit(1);
}
- if (mount(NULL, "/tmp", "tmpfs", 0, NULL) == -1) {
+ if (mount(NULL, "/tmp", "ramfs", 0, NULL) == -1) {
exit(1);
}
}
Powered by blists - more mailing lists