|
Date: Thu, 16 Apr 2020 11:35:09 -0400 From: Rich Felker <dalias@...c.org> To: Florian Weimer <fw@...eb.enyo.de> Cc: Nicholas Piggin <npiggin@...il.com>, libc-alpha@...rceware.org, musl@...ts.openwall.com, linuxppc-dev@...ts.ozlabs.org, libc-dev@...ts.llvm.org Subject: Re: Powerpc Linux 'scv' system call ABI proposal take 2 On Thu, Apr 16, 2020 at 06:48:44AM +0200, Florian Weimer wrote: > * Rich Felker: > > > My preference would be that it work just like the i386 AT_SYSINFO > > where you just replace "int $128" with "call *%%gs:16" and the kernel > > provides a stub in the vdso that performs either scv or the old > > mechanism with the same calling convention. > > The i386 mechanism has received some criticism because it provides an > effective means to redirect execution flow to anyone who can write to > the TCB. I am not sure if it makes sense to copy it. Indeed that's a good point. Do you have ideas for making it equally efficient without use of a function pointer in the TCB? Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.