login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
8
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kees Cook
Subject:
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
Date: Wednesday, December 8, 2010 - 3:19 pm
On Fri, Nov 26, 2010 at 06:23:55PM +0100, mat wrote:
quoted text
> could you try the attached patch ? > > on module load, we sort the __jump_table section. So we should make it > writable. > > > Matthieu
quoted text
> diff --git a/arch/x86/include/asm/jump_label.h b/arch/x86/include/asm/jump_label.h > index f52d42e..574dbc2 100644 > --- a/arch/x86/include/asm/jump_label.h > +++ b/arch/x86/include/asm/jump_label.h > @@ -14,7 +14,7 @@ > do { \ > asm goto("1:" \ > JUMP_LABEL_INITIAL_NOP \ > - ".pushsection __jump_table, \"a\" \n\t"\ > + ".pushsection __jump_table, \"aw\" \n\t"\ > _ASM_PTR "1b, %l[" #label "], %c0 \n\t" \ > ".popsection \n\t" \ > : : "i" (key) : : label); \
Acked-by: Kees Cook <kees.cook@canonical.com> Can this please get committed to tip? Thanks, -Kees -- Kees Cook Ubuntu Security Team --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 3/3 V13] RO/NX protection for loadable kernel
, matthieu castet
, (Tue Nov 16, 2:35 pm)
[tip:x86/security] x86: Add RO/NX protection for loadable ...
, tip-bot for matthieu ...
, (Thu Nov 18, 7:13 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Valdis.Kletnieks
, (Wed Nov 24, 8:41 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, mat
, (Fri Nov 26, 10:23 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Valdis.Kletnieks
, (Mon Nov 29, 9:59 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Steven Rostedt
, (Mon Nov 29, 11:15 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Rusty Russell
, (Mon Nov 29, 4:35 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Steven Rostedt
, (Tue Nov 30, 7:46 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, mat
, (Tue Nov 30, 2:20 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Steven Rostedt
, (Tue Nov 30, 5:38 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Rusty Russell
, (Wed Dec 1, 6:36 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Kees Cook
, (Wed Dec 8, 3:19 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, mat
, (Fri Dec 10, 4:18 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Kees Cook
, (Fri Dec 10, 5:27 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Kees Cook
, (Sat Dec 11, 4:15 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Ingo Molnar
, (Wed Dec 22, 5:40 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Valdis.Kletnieks
, (Wed Dec 22, 2:35 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Ingo Molnar
, (Wed Dec 22, 2:57 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Steven Rostedt
, (Wed Dec 22, 3:02 pm)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Ingo Molnar
, (Thu Dec 23, 1:49 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Steven Rostedt
, (Thu Dec 23, 8:01 am)
Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel
, Valdis.Kletnieks
, (Thu Dec 23, 6:43 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Thomas Gleixner
Re: 2.6.21-rc1: known regressions (v2) (part 2)
Jeff Garzik
Re: Linux 2.6.29
Eric W. Biederman
[PATCH 1/2] msi: Safer state caching.
Andreas Schwab
Re: Linux 2.6.21-rc1
Mark Lord
Re: [PATCH 1/7] block: Add block_flush_device()
git
:
Erik Faye-Lund
Re: What should be the CRLF policy when win + Linux?
Francis Moreau
Re: Track /etc directory using Git
Junio C Hamano
Re: "error: non-monotonic index" during fresh linux-2.6.git cloning.
Octavio Alvarez
Re: What does git reset do?
Junio C Hamano
Re: "error: non-monotonic index" during fresh linux-2.6.git cloning.
linux-netdev
:
Jarek Poplawski
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Paul E. McKenney
Re: [PATCH 2/2] udp: RCU handling for Unicast packets.
Rick Jones
[PATCH] iproute2: enable setting rto_min, rtt and rttvar in tc-esque units
Christian Bell
Re: [PATCH 1/2] udp: introduce struct udp_table and multiple rwlocks
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git-commits-head
:
Linux Kernel Mailing List
drm/radeon/kms: add rn50/r100/r200 CS tracker.
Linux Kernel Mailing List
p54usb: Add device ID for Dell WLA3310 USB
Linux Kernel Mailing List
V4L/DVB: saa7134: clear warning noise
Linux Kernel Mailing List
Input: bcm5974 - add driver for Macbook Air and Pro Penryn touchpads
Linux Kernel Mailing List
mfd: driver for the TC6387XB TMIO controller.
openbsd-misc
:
Calomel Org
Re: PF cluestick please - low priority queue spills over into normal queue
Jim Willis
Re: procfs in OpenBSD
Rick Pettit
Re: : Real men don't attack straw men
Timo Schoeler
Re: OT: 32bit vs 64bit network card question
Tony Abernethy
Re: Completeness & consistency, was: A sad thread
Colocation donated by:
Syndicate