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

Mark Brown
2026-04-17T12:37:52Z

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]