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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191025193243.GI23952@ziepe.ca>
Date:   Fri, 25 Oct 2019 16:32:43 -0300
From:   Jason Gunthorpe <jgg@...pe.ca>
To:     Mimi Zohar <zohar@...ux.ibm.com>, linux-kernel@...r.kernel.org,
        Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
        Peter Huewe <peterhuewe@....de>,
        linux-integrity@...r.kernel.org
Subject: Re: [PATCH] tpm: Add major_version sysfs file

On Fri, Oct 25, 2019 at 11:45:22AM -0700, Jerry Snitselaar wrote:
> On Fri Oct 25 19, Mimi Zohar wrote:
> > On Fri, 2019-10-25 at 07:28 -0700, Jerry Snitselaar wrote:
> > > Easily determining what TCG version a tpm device implements
> > > has been a pain point for userspace for a long time, so
> > > add a sysfs file to report the tcg version of a tpm device.
> > 
> > Use "TCG" uppercase consistently.
> >  
> > > 
> > > Cc: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
> > > Cc: Peter Huewe <peterhuewe@....de>
> > > Cc: Jason Gunthorpe <jgg@...pe.ca>
> > > Cc: linux-integrity@...r.kernel.org
> > > Signed-off-by: Jerry Snitselaar <jsnitsel@...hat.com>
> > 
> > thanks!
> > 
> > Reviewed-by: Mimi Zohar <zohar@...ux.ibm.com>
> > 
> > FYI, on my system(s) the new file is accessible as
> > /sys/class/tpm/tpm0/version_major.  Does this need to be documented
> > anywhere?
> > 
> > 
> 
> Yes, there should be an entry added to
> Documentation/ABI/stable/sysfs-class-tpm.
> I will fix that up and the TCG not being uppercase in a v2.
> 
> Should Documentation/ABI/stable/sysfs-class-tpm updated in
> some way to reflect that those are all links under device
> now and not actually there.

Applications should not use the link version, that path was a
mistake. The link is for compatability with old userspace.

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ