Re: [PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Alexander Graf
On 24.02.21 23:41, Michael S. Tsirkin wrote: On Wed, Feb 24, 2021 at 02:45:03PM +0100, Alexander Graf wrote: Above should try harder to explan what are the things that need to be scrubbed and why. For example, I personally don't really know what is the OpenSSL session token example and what

Re: [PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread MacCarthaigh, Colm
On 2/24/21, 2:44 PM, "Michael S. Tsirkin" wrote: > The mmap mechanism allows the PRNG to reseed after a genid change. Because > we don't have an event mechanism for this code path, that can happen minutes > after the resume. But that's ok, we "just" have to ensure that nobody is

Re: [PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Michael S. Tsirkin
On Wed, Feb 24, 2021 at 02:45:03PM +0100, Alexander Graf wrote: > > Above should try harder to explan what are the things that need to be > > scrubbed and why. For example, I personally don't really know what is > > the OpenSSL session token example and what makes it vulnerable. I guess > > snapsho

Re: [PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Alexander Graf
On 24.02.21 10:19, Michael S. Tsirkin wrote: On Wed, Feb 24, 2021 at 10:47:31AM +0200, Adrian Catangiu wrote: - Background and problem The System Generation ID feature is required in virtualized or containerized environments by applications that work with local copies or caches of world-uniq

Re: [PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Michael S. Tsirkin
On Wed, Feb 24, 2021 at 10:47:31AM +0200, Adrian Catangiu wrote: > - Background and problem > > The System Generation ID feature is required in virtualized or > containerized environments by applications that work with local copies > or caches of world-unique data such as random values, uuids, > m

[PATCH v7 1/2] drivers/misc: sysgenid: add system generation id driver

2021-02-24 Thread Adrian Catangiu
- Background and problem The System Generation ID feature is required in virtualized or containerized environments by applications that work with local copies or caches of world-unique data such as random values, uuids, monotonically increasing counters, etc. Such applications can be negatively af