Skip to content

Instantly share code, notes, and snippets.

View Lodour's full-sized avatar

Yue Gao Lodour

View GitHub Profile
@Lodour
Lodour / pkey.c
Created November 9, 2018 20:59
Test Intel's Protection Key
/**
* This is a program to test Intel's Memory Protection Key Unit.
*
* Check CPU support: cat /proc/cpuinfo | grep pku
* Check Kernel support: man pkeys
*
* Amazon Support:
* Image: Ubuntu Server 18.04 LTS (HVM), SSD Volume Type
* Instance: c5.large
*