Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1278685
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 16/37] x86, pkeys: notify userspace about protection key faults |
| Date | 2015-11-27 11:00 +0100 |
| Message-ID | <qznYS-18E-7@gated-at.bofh.it> (permalink) |
| References | <qvFhE-7YL-5@gated-at.bofh.it> <qvFrj-82I-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 16 Nov 2015, Dave Hansen wrote: > Note that _pkey is a 64-bit value. The current hardware only > supports 4-bit protection keys. We do this because there is > _plenty_ of space in _sigfault and it is possible that future > processors would support more than 4 bits of protection keys. > > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> > --- > > b/arch/x86/include/asm/pgtable_types.h | 5 ++ > b/arch/x86/mm/fault.c | 59 ++++++++++++++++++++++++++++++++- > b/include/uapi/asm-generic/siginfo.h | 17 ++++++--- > b/kernel/signal.c | 4 ++ I'd be nice to split the core changes from the x86 implementation. Other than that: Reviewed-by: Thomas Gleixner <tglx@linutronix.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 16/37] x86, pkeys: notify userspace about protection key faults Dave Hansen <dave@sr71.net> - 2015-11-17 04:50 +0100 Re: [PATCH 16/37] x86, pkeys: notify userspace about protection key faults Thomas Gleixner <tglx@linutronix.de> - 2015-11-27 11:00 +0100
csiph-web