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


Groups > linux.kernel > #1219311

Re: [PATCH 07/12] mm: Pass the 4-bit protection key in via PROT_ bits to syscalls

From Dave Hansen <dave@sr71.net>
Newsgroups linux.kernel
Subject Re: [PATCH 07/12] mm: Pass the 4-bit protection key in via PROT_ bits to syscalls
Date 2015-09-04 22:50 +0200
Message-ID <q565R-4De-23@gated-at.bofh.it> (permalink)
References (2 earlier) <pnzuW-394-23@gated-at.bofh.it> <pnzuW-394-29@gated-at.bofh.it> <q55CP-44B-27@gated-at.bofh.it> <q55CP-44B-25@gated-at.bofh.it> <q55W9-4s0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/04/2015 01:34 PM, Florian Weimer wrote:
...>>> It will also be very painful to add additional bits.  We went through
>>> this with the CPU affinity mask, and it still hurts it.  Please use a
>>> more sensible interface from the start. :)
>>
>> Any suggestions?
> 
> It's difficult.  I don't know what kind of programming model you
> expect.  Could glibc use these bits for its own implementation?  Or
> OpenSSL?

Our expectation is that there will be a central "allocator" for these
bits for mixed-use, like when two libraries want to control a portion of
the address space for their purposes.

Applications will also be completely free to implement their own, like
with a language runtime.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 07/12] mm: Pass the 4-bit protection key in via PROT_ bits  to syscalls Dave Hansen <dave@sr71.net> - 2015-09-04 22:20 +0200
  Re: [PATCH 07/12] mm: Pass the 4-bit protection key in via PROT_ bits to syscalls Florian Weimer <fw@deneb.enyo.de> - 2015-09-04 22:40 +0200
    Re: [PATCH 07/12] mm: Pass the 4-bit protection key in via PROT_ bits  to syscalls Dave Hansen <dave@sr71.net> - 2015-09-04 22:50 +0200

csiph-web