On 07/08/2016 12:18 AM, Ingo Molnar wrote: > So my hope was that we'd also grow some debugging features: such as a periodic > watchdog timer clearing all non-allocated pkeys of a task and re-setting them to > their (kernel-)known values and thus forcing user-space to coordinate key > allocation/freeing. I'm glad you mentioned this. I've explicitly called out this behavior in the manpages now, or at least called out the fact that the kernel will not preserve PKRU contents for unallocated keys. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html