This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: V4 [PATCH 04/12] x86/CET: Extend arch_prctl syscall for CET control
- From: Zack Weinberg <zackw at panix dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Sergey Senozhatsky <sergey dot senozhatsky dot work at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>, "Carlos O'Donell" <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, Sergey Senozhatsky <sergey dot senozhatsky at gmail dot com>
- Date: Mon, 13 Aug 2018 07:48:50 -0400
- Subject: Re: V4 [PATCH 04/12] x86/CET: Extend arch_prctl syscall for CET control
- References: <CAMe9rOqKkgBp7PN9m-L7-r33brXO+Eu_=-7n74B=nS9FEujJhQ@mail.gmail.com> <20180813045118.GA1193@jagdpanzerIV> <7d236db3-aaa5-3d94-73ac-2ba368ad19ec@redhat.com>
On Mon, Aug 13, 2018 at 7:10 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 08/13/2018 06:51 AM, Sergey Senozhatsky wrote:
>>
>> [ 8.864561] process: tty: Unsupported common prctl 3001
>> [ 8.865664] expr: Unsupported prctl 3001
>> [..]
>>
>> Which is, maybe fine, though I'm not entirely sure since I don't
>> really see ARCH_CET being supported by any arch (neither in linux-next
>> nor in Linus' tree), so maybe as of now those syscalls are unneeded.
Has any hardware with CET support shipped to the general public yet?
Could we perhaps use cpuid or similar to detect hardware support, and
not bother probing for kernel support if it's not there?
zw