[PATCH 13/31] x86, pkeys: fill in pkey field in siginfo

2016-01-29 Thread Dave Hansen
From: Dave Hansen This fills in the new siginfo field: si_pkey to indicate to userspace which protection key was set on the PTE that we faulted on. Note though that *ALL* protection key faults have to be generated by a valid, present PTE at some point. But this code does no PTE lookups which

[PATCH 13/31] x86, pkeys: fill in pkey field in siginfo

2016-01-29 Thread Dave Hansen
From: Dave Hansen This fills in the new siginfo field: si_pkey to indicate to userspace which protection key was set on the PTE that we faulted on. Note though that *ALL* protection key faults have to be generated by a valid, present PTE at some point. But this

[PATCH 13/31] x86, pkeys: fill in pkey field in siginfo

2016-01-06 Thread Dave Hansen
From: Dave Hansen This fills in the new siginfo field: si_pkey to indicate to userspace which protection key was set on the PTE that we faulted on. Note though that *ALL* protection key faults have to be generated by a valid, present PTE at some point. But this code does no PTE lookups which

[PATCH 13/31] x86, pkeys: fill in pkey field in siginfo

2016-01-06 Thread Dave Hansen
From: Dave Hansen This fills in the new siginfo field: si_pkey to indicate to userspace which protection key was set on the PTE that we faulted on. Note though that *ALL* protection key faults have to be generated by a valid, present PTE at some point. But this