Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595553 > unrolled thread

Re: [PATCH v1 1/4] syscalls: Restore address limit after a syscall

Started byRussell King - ARM Linux <linux@armlinux.org.uk>
First post2017-03-08 23:20 +0100
Last post2017-03-08 23:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1 1/4] syscalls: Restore address limit after a syscall Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-03-08 23:20 +0100

#1595553 — Re: [PATCH v1 1/4] syscalls: Restore address limit after a syscall

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2017-03-08 23:20 +0100
SubjectRe: [PATCH v1 1/4] syscalls: Restore address limit after a syscall
Message-ID<tiS66-4mZ-3@gated-at.bofh.it>
On Wed, Mar 08, 2017 at 01:38:41PM -0800, Thomas Garnier wrote:
> This patch prevents a syscall to modify the address limit of the
> caller. The address limit is kept by the syscall wrapper and restored
> just after the syscall ends.

I would much rather architectures were given the opportunity to code up
checks like this efficiently (iow, inline in the exit path assembly),
rather than having to unconditionally call an additional function on
every syscall, with its register saving overheads.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web