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


Groups > linux.kernel > #1252961

Re: [PATCH v5 1/3] create SMAF module

From Benjamin Gaignard <benjamin.gaignard@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/3] create SMAF module
Date 2015-10-21 17:40 +0200
Message-ID <qm3EB-7ex-17@gated-at.bofh.it> (permalink)
References <qlXSx-7bk-3@gated-at.bofh.it> <qlXSy-7bk-25@gated-at.bofh.it> <qm2IA-5OI-77@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-10-21 16:32 GMT+02:00 James Morris <jmorris@namei.org>:
> On Wed, 21 Oct 2015, Benjamin Gaignard wrote:
>
>> Secure Memory Allocation Framework goal is to be able
>> to allocate memory that can be securing.
>> There is so much ways to allocate and securing memory that SMAF
>> doesn't do it by itself but need help of additional modules.
>> To be sure to use the correct allocation method SMAF implement
>> deferred allocation (i.e. allocate memory when only really needed)
>>
>> Allocation modules (smaf-alloctor.h):
>> SMAF could manage with multiple allocation modules at same time.
>> To select the good one SMAF call match() to be sure that a module
>> can allocate memory for a given list of devices. It is to the module
>> to check if the devices are compatible or not with it allocation
>> method.
>>
>> Securing module (smaf-secure.h):
>> The way of how securing memory it is done is platform specific.
>> Secure module is responsible of grant/revoke memory access.
>>
>
> This documentation is highly inadequate.

If you give hints I will try to complete it and make it acceptable.

>
> What does "allocate memory that can be securing" mean?

Maybe I could re-phrase it like that:
"Secure Memory Allocation Framework goal is to be able to allocate
memory that the platform can secure."

I'm trying to be generic here because each could have it own method to
secure buffers.

>
>
> --
> James Morris
> <jmorris@namei.org>
>



-- 
Benjamin Gaignard

Graphic Working Group

Linaro.org │ Open source software for ARM SoCs

Follow Linaro: Facebook | Twitter | Blog
--
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

[PATCH v5 1/3] create SMAF module Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2015-10-21 11:30 +0200
  Re: [PATCH v5 1/3] create SMAF module James Morris <jmorris@namei.org> - 2015-10-21 16:40 +0200
    Re: [PATCH v5 1/3] create SMAF module Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2015-10-21 17:40 +0200

csiph-web