aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-28 19:05:16 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-28 19:05:16 +1300
commit9f6007b8bc0796707587b2082e0a2bd06b5894ac (patch)
treeb699a3a33176c09f8b0ccb6f3678e4a3e106f96b
parent0c962aab5f979a952dab54b72445b32c2e9cb105 (diff)
downloadman-pages-9f6007b8bc0796707587b2082e0a2bd06b5894ac.tar.gz
sigaction.2: Document SEGV_PKUERR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sigaction.213
1 files changed, 13 insertions, 0 deletions
diff --git a/man2/sigaction.2 b/man2/sigaction.2
index b38a2fbf63..5bbed0740f 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