[PATCH 9/9] x86, pkeys: add self-tests

2016-07-07 Thread Dave Hansen
From: Dave Hansen This code should be a good demonstration of how to use the new system calls as well as how to use protection keys in general. This code shows how to: 1. Manipulate the Protection Keys Rights User (PKRU) register with sys_pkey_get/set() 2. Set a protection key on memory 3. F

[PATCH 9/9] x86, pkeys: add self-tests

2016-06-08 Thread Dave Hansen
From: Dave Hansen This code should be a good demonstration of how to use the new system calls as well as how to use protection keys in general. This code shows how to: 1. Manipulate the Protection Keys Rights User (PKRU) register with sys_pkey_get/set() 2. Set a protection key on memory 3. F

[PATCH 9/9] x86, pkeys: add self-tests

2016-06-07 Thread Dave Hansen
From: Dave Hansen This code should be a good demonstration of how to use the new system calls as well as how to use protection keys in general. This code shows how to: 1. Manipulate the Protection Keys Rights User (PKRU) register with sys_pkey_get/set() 2. Set a protection key on memory 3. F

[PATCH 9/9] x86, pkeys: add self-tests

2016-03-09 Thread Dave Hansen
From: Dave Hansen This code should be a good demonstration of how to use the new system calls as well as how to use protection keys in general. This code shows how to: 1. Manipulate the Protection Keys Rights User (PKRU) register with sys_pkey_get/set() 2. Set a protection key on memory 3. F