lkml.org 
[lkml]   [2015]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl
> We should avoid arch_prctl because glibc won't add a syscall stub that
> libgcc or whatever would want? My mind boggles.

Please turn brain on before posting.

Of course they would add it. But only in the next version. Which means
everyone using older glibc would be out of luck. So all the users
would be stuck using syscall(). Anything you may gain in the kernel
would be totally made up by that.

BTW I added arch_prctl, but in hindsight it wasn't good idea.

-Andi


\
 
 \ /
  Last update: 2015-01-06 05:21    [W:0.077 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site