From 9f6007b8bc0796707587b2082e0a2bd06b5894ac Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 28 Mar 2016 19:05:16 +1300 Subject: [PATCH] sigaction.2: Document SEGV_PKUERR Signed-off-by: Michael Kerrisk --- man2/sigaction.2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index b38a2fbf6..5bbed0740 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -303,6 +303,8 @@ siginfo_t { occurred (since Linux 3.19) */ void *si_upper; /* Upper bound when address violation occurred (since Linux 3.19) */ + int si_pkey; /* Protection key on PTE that caused + fault (since Linux 4.6) */ void *si_call_addr; /* Address of system call instruction (since Linux 3.5) */ int si_syscall; /* Number of attempted system call @@ -469,6 +471,13 @@ populates .IR si_lower and .IR si_upper . + +The +.BR SEGV_PKUERR +suberror of +.B SIGSEGV +populates +.IR si_pkey . .IP * .BR SIGIO / SIGPOLL (the two names are synonyms on Linux) @@ -638,6 +647,10 @@ Invalid permissions for mapped object. .BR SEGV_BNDERR " (since Linux 3.19)" .\" commit ee1b58d36aa1b5a79eaba11f5c3633c88231da83 Failed address bound checks. +.TP +.BR SEGV_PKUERR " (since Linux 4.6)" +.\" commit cd0ea35ff5511cde299a61c21a95889b4a71464e +Protection key fault. .RE .PP The following values can be placed in