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


Groups > linux.kernel > #1430840

Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries

From Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries
Date 2016-06-24 19:50 +0200
Message-ID <rNDoT-2OX-45@gated-at.bofh.it> (permalink)
References <rNAr1-NX-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 24, 2016 at 10:36:55AM -0400, Stefan Berger wrote:
> Introduce TPM_VTPM_PROXY_NO_SYSFS flag that prevents a vtpm_proxy driver
> instance from having the typical sysfs entries that shows the state of the
> TPM. The flag is to be set in the ioctl creating the vtpm_proxy device
> pair and maps on a new chip flags TPM_CHIP_FLAG_NO_SYSFS.

No other subsystem does something so goofy, this really needs to be
part of namespace support for TPM.

Why can't you just make the sysfs files unreadable in user space?
If a container can make them readable again can't it also just create
the chardev node?

Jason

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


Thread

[PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-06-24 16:40 +0200
  Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-06-24 19:50 +0200
    Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-06-24 20:50 +0200
      Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-06-24 21:50 +0200
      Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-06-27 20:40 +0200
        Re: [PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-06-30 18:20 +0200

csiph-web