Re: [PATCH] selftests/mm: Specify requirement for PROC_MEM_ALWAYS_FORCE=y

From: Mark Brown

Date: Fri Apr 17 2026 - 08:38:22 EST


On Fri, Apr 17, 2026 at 03:33:32PM +0300, Mike Rapoport wrote:
> On Fri, Apr 17, 2026 at 12:24:25PM +0100, Mark Brown wrote:

> > > {
> > > - mem_fd = open("/proc/self/mem", O_RDWR);
> > > - if (mem_fd < 0)
> > > - ksft_exit_fail_msg("opening /proc/self/mem failed\n");

> > Yes, this is a preexisting bug in the test which I see there are more
> > instances of :(

> Do you mean that ksft_exit_fail_msg() should also print the test name and
> the actual failure message should be ksft_perror() before?

Oh, I hadn't read that closely enough - if bombing out of the entire
program it's not an issue.

Attachment: signature.asc
Description: PGP signature