<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/lib/putuser.S, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-21T19:45:27Z</updated>
<entry>
<title>x86, smap: Add STAC and CLAC instructions to control user space access</title>
<updated>2012-09-21T19:45:27Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2012-09-21T19:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63bcff2a307b9bcc712a8251eb27df8b2e117967'/>
<id>urn:sha1:63bcff2a307b9bcc712a8251eb27df8b2e117967</id>
<content type='text'>
When Supervisor Mode Access Prevention (SMAP) is enabled, access to
userspace from the kernel is controlled by the AC flag.  To make the
performance of manipulating that flag acceptable, there are two new
instructions, STAC and CLAC, to set and clear it.

This patch adds those instructions, via alternative(), when the SMAP
feature is enabled.  It also adds X86_EFLAGS_AC unconditionally to the
SYSCALL entry mask; there is simply no reason to make that one
conditional.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/1348256595-29119-9-git-send-email-hpa@linux.intel.com
</content>
</entry>
<entry>
<title>x86, extable: Remove open-coded exception table entries in arch/x86/lib/putuser.S</title>
<updated>2012-04-20T20:51:39Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2012-04-20T19:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a53a96e5413d3639ed75d202bbfe68aa0a56c091'/>
<id>urn:sha1:a53a96e5413d3639ed75d202bbfe68aa0a56c091</id>
<content type='text'>
Remove open-coded exception table entries in arch/x86/lib/putuser.S,
and replace them with _ASM_EXTABLE() macros; this will allow us to
change the format and type of the exception table entries.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: David Daney &lt;david.daney@cavium.com&gt;
Link: http://lkml.kernel.org/r/CA%2B55aFyijf43qSu3N9nWHEBwaGbb7T2Oq9A=9EyR=Jtyqfq_cQ@mail.gmail.com
</content>
</entry>
<entry>
<title>x86: merge putuser asm functions.</title>
<updated>2008-07-09T07:14:13Z</updated>
<author>
<name>Glauber Costa</name>
</author>
<published>2008-06-24T20:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cbbc3b1eb37bdc72eefd2de03b39f5e784400c2'/>
<id>urn:sha1:5cbbc3b1eb37bdc72eefd2de03b39f5e784400c2</id>
<content type='text'>
putuser_32.S and putuser_64.S are merged into putuser.S.

Signed-off-by: Glauber Costa &lt;gcosta@redhat.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
