lkml.org 
[lkml]   [2013]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [TrouSerS-tech] [tpmdd-devel] [PATCH 09/13] tpm: Pull everything related to sysfs into tpm-sysfs.c
    On Tue, Oct 08, 2013 at 09:15:55AM +0000, Fuchs, Andreas wrote:


    > Rather than an ioctl, why not provide a different tpm-device per
    > locality. This way, the access to the different localities can be
    > restricted via standard user/group of the device. i.e. /dev/tpm0l1,
    > /dev/tpm0l2, ... or similar approaches...

    The way the TPM architecture is setup you will need the middle ware to
    do the switching between localities and managing cross locality
    resources, so it doesn't make sense for the kernel to export a
    locality specific char device.

    You'd have to do the above by having trousers create unix domain
    sockets for each of the privilege levels and using the usual security
    mechanisms to protect access to those sockets.

    Jason


    \
     
     \ /
      Last update: 2013-10-09 20:21    [W:4.407 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site