From 0f81106870a6eb27e51718c10671a89d420c63e0 Mon Sep 17 00:00:00 2001 From: Simone Piccardi Date: Tue, 8 Sep 2020 19:39:07 +0200 Subject: [PATCH] Nuova versione della struttura --- listati/siginfo_t.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/listati/siginfo_t.h b/listati/siginfo_t.h index 7045a66..3e9b488 100644 --- a/listati/siginfo_t.h +++ b/listati/siginfo_t.h @@ -17,4 +17,11 @@ siginfo_t { void * si_addr; /* Memory location which caused fault */ long si_band; /* Band event (was int before glibc 2.3.2) */ int si_fd; /* File descriptor */ -} + short si_addr_lsb;/* Least significant bit of address (since Linux 2.6.32) */ + void *si_lower; /* Lower bound when address violation 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 (since Linux 3.5) */ + unsigned int si_arch;/* Architecture of attempted system call (since Linux 3.5) */ + } -- 2.30.2