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: Mon, 22 Aug 2022 23:36:45 +0200 From: Borislav Petkov <bp@...en8.de> To: Dave Hansen <dave.hansen@...el.com> Cc: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@...ux.intel.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org, "H . Peter Anvin" <hpa@...or.com>, "Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>, Tony Luck <tony.luck@...el.com>, Andi Kleen <ak@...ux.intel.com>, Kai Huang <kai.huang@...el.com>, Wander Lairson Costa <wander@...hat.com>, Isaku Yamahata <isaku.yamahata@...il.com>, marcelo.cerri@...onical.com, tim.gardner@...onical.com, khalid.elmously@...onical.com, philip.cox@...onical.com, linux-kernel@...r.kernel.org Subject: Re: [PATCH v9 1/6] x86/tdx: Add TDX Guest attestation interface driver On Mon, Aug 22, 2022 at 02:19:44PM -0700, Dave Hansen wrote: > This actually shows up to apps, though. Blergh. > They'll actually be opening /dev/tdx. When the other driver comes > along, they'll all need to change to /dev/tdx-guest. That seems a bit > unkind to those poor app developers. So do you really wanna call the attestation driver "tdx-guest"? But that's not really an attestation driver - there's tdx/tdx.c which is all the guest code and there's an attestation "driver" in it. So maybe this "attestation driver" thing is just an additional "ability" of the tdx-guest driver. Might wanna take out your cristal ball and think what you wanna call it now so that it doesn't change because... > BTW, do we consider these kernel names be part of the ABI? Seems like > we should. ... yap, that. If apps open this, then this is an ABI and cast in stone. I'd say. Which makes my initial suggestion of calling this whole guest functionality a "tdx" driver not such a bad idea... Depends on whether there will be a split at all or it'll continue gaining more functionality. Or so. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists