From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Mon, 19 Apr 2021 11:05:38 +0200 Subject: [LTP] [PATCH] Modify the test logic of mincore. In-Reply-To: References: <20210330104613.1059-1-zhanglianjie@uniontech.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > >> Using the CVE patch on mips, the test will fail because the child > >> process mlocks all pages, but the parent process cannot obtain these > >> pages through mincore and is locked. > > > > Sounds like a kernel bug. > > > CVE list has provided repair patches, The patch I submitted this time is > to modify the logic of the test results, do you plan to incorporate it? Let me try to explain it once again. As far as I can tell the CVE kernel patch you pointed out has NO effect on the testcase and there is NO need to modify the test at all. The test works fine both before and after the kernel patch. If the test fails for you YOUR kernel is broken. That is unless you prove that the test is actually wrong, which you haven't and I do not think that you actually can. -- Cyril Hrubis chrubis@suse.cz