[PATCH v17 13/24] selftests/vm/pkeys: Introduce generic pkey abstractions