* Andy Lutomirski wrote:
> On Sat, Mar 18, 2017 at 10:17 PM, Andy Lutomirski wrote:
> > For mysterious historical reasons, struct user_desc doesn't indicate
> > whether segments are accessed. set_thread_area() has always
> > programmed segments as non-accessed, so the first write will set the
On Sat, Mar 18, 2017 at 10:17 PM, Andy Lutomirski wrote:
> For mysterious historical reasons, struct user_desc doesn't indicate
> whether segments are accessed. set_thread_area() has always
> programmed segments as non-accessed, so the first write will set the
> accessed bit. This will fault if
Commit-ID: 5b781c7e317fcf9f74475dc82bfce2e359dfca13
Gitweb: http://git.kernel.org/tip/5b781c7e317fcf9f74475dc82bfce2e359dfca13
Author: Andy Lutomirski
AuthorDate: Sat, 18 Mar 2017 22:17:24 -0700
Committer: Thomas Gleixner
CommitDate: Sun, 19 Mar 2017 12:14:35 +0100
x86/tls: Forcibly se
For mysterious historical reasons, struct user_desc doesn't indicate
whether segments are accessed. set_thread_area() has always
programmed segments as non-accessed, so the first write will set the
accessed bit. This will fault if the GDT is read-only.
Fix it by making TLS segments start out acc
4 matches
Mail list logo