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
| ||
|
Date: Tue, 30 May 2017 10:31:19 +0200 From: Hannes Reinecke <hare@...e.de> To: Johannes Thumshirn <jthumshirn@...e.de>, Sagi Grimberg <sagi@...mberg.me>, Keith Busch <keith.busch@...el.com>, Christoph Hellwig <hch@....de> Cc: Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>, Linux NVMe Mailinglist <linux-nvme@...ts.infradead.org> Subject: Re: [PATCH 7/7] nvme: provide UUID value to userspace On 05/30/2017 10:08 AM, Johannes Thumshirn wrote: > Now that we have a way for getting the UUID from a target, provide it > to userspace as well. > > Unfortunately there is already a sysfs attribute called UUID which is > a misnomer as it holds the NGUID value. So instead of creating yet > another wrong name, create a new 'nguid' sysfs attribute for the > NGUID. For the UUID attribute add a check wheter the namespace has a > UUID assigned to it and return this or return the NGUID to maintain > backwards compatibility. This should give userspace a chance to catch > up. > > Signed-off-by: Johannes Thumshirn <jthumshirn@...e.de> > --- > drivers/nvme/host/core.c | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > Reviewed-by: Hannes Reinecke <hare@...e.com> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@...e.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)
Powered by blists - more mailing lists