[PATCH 2/9] x86, pkeys, selftests: save off 'prot' for allocations

2018-04-27 Thread Dave Hansen
From: Dave Hansen This makes it possible to to tell what 'prot' a given allocation is supposed to have. That way, if we want to change just the pkey, we know what 'prot' to pass to mprotect_pkey(). Also, keep a record of the most recent allocation so the tests can easily find it. Signed-off-b

[PATCH 2/9] x86, pkeys, selftests: save off 'prot' for allocations

2018-03-26 Thread Dave Hansen
From: Dave Hansen This makes it possible to to tell what 'prot' a given allocation is supposed to have. That way, if we want to change just the pkey, we know what 'prot' to pass to mprotect_pkey(). Also, keep a record of the most recent allocation so the tests can easily find it. Signed-off-b

[PATCH 2/9] x86, pkeys, selftests: save off 'prot' for allocations

2018-03-23 Thread Dave Hansen
From: Dave Hansen This makes it possible to to tell what 'prot' a given allocation is supposed to have. That way, if we want to change just the pkey, we know what 'prot' to pass to mprotect_pkey(). Also, keep a record of the most recent allocation so the tests can easily find it. Signed-off-b