lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHUa44H0YL5Ke-QgzACYF8dS1C9PE97kjF9CZZQUiSE4RN0+mA@mail.gmail.com>
Date:   Thu, 23 Jan 2020 11:21:48 +0100
From:   Jens Wiklander <jens.wiklander@...aro.org>
To:     "tee-dev @ lists . linaro . org" <tee-dev@...ts.linaro.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:     Jerome Forissier <jerome@...issier.org>,
        Sumit Garg <sumit.garg@...aro.org>,
        Etienne Carriere <etienne.carriere@...aro.org>,
        Rijo Thomas <Rijo-john.Thomas@....com>,
        Devaraj Rangasamy <Devaraj.Rangasamy@....com>
Subject: Re: [PATCH 0/5] tee: shared memory cleanup

Hi,

On Thu, Jan 9, 2020 at 1:37 PM Jens Wiklander <jens.wiklander@...aro.org> wrote:
>
> Hi,
>
> Here's a group of patches to the tee subsystem with cleanups and not so
> urgent fixes related to tee shared memory.
>
> - Unused parts of the shared memory object (struct tee_shm) are removed.
> - Shared memory ids usable from user space are not assigned to driver
>   private shared memory objects
> - The TEE_SHM_USER_MAPPED is used instead of TEE_SHM_REGISTER to accurately
>   tell if a shared memory object originates from another user space mapping.
>
> Only unused "features" should be removed with this patch set, there should
> be no change in behaviour or breakage with other code.

I'll pick up these as they are in a few days if there's no further comments.

Thanks,
Jens

>
> Thanks,
> Jens
>
> Jens Wiklander (5):
>   tee: remove linked list of struct tee_shm
>   tee: remove unused tee_shm_priv_alloc()
>   tee: don't assign shm id for private shms
>   tee: remove redundant teedev in struct tee_shm
>   tee: tee_shm_op_mmap(): use TEE_SHM_USER_MAPPED
>
>  drivers/tee/tee_core.c    |  1 -
>  drivers/tee/tee_private.h |  3 +-
>  drivers/tee/tee_shm.c     | 85 +++++++++++----------------------------
>  include/linux/tee_drv.h   | 19 +--------
>  4 files changed, 27 insertions(+), 81 deletions(-)
>
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ