Re: [RFC PATCH 3/6] testing/pkeys: Add additional test for pkey_alloc()

From: Dave Hansen
Date: Thu Jun 16 2022 - 16:24:31 EST


On 6/16/22 12:25, Sohil Mehta wrote:
> Should we have different return error codes when compile support is
> disabled vs when runtime support is missing?

It doesn't *really* matter. Programs have to be able to run on old
kernels which will return ENOSYS. So, _when_ new kernels return ENOSYS
or ENOSPC is pretty immaterial.