Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-07-09 Thread Tony Krowiak
On 7/9/19 6:49 AM, Cornelia Huck wrote: On Mon, 8 Jul 2019 10:27:11 -0400 Tony Krowiak wrote: On 7/1/19 3:26 PM, Cornelia Huck wrote: On Wed, 19 Jun 2019 09:04:18 -0400 Tony Krowiak wrote: Allow me to first address your fear that a bad actor can hog resources that can't be removed by root

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-07-09 Thread Cornelia Huck
On Mon, 8 Jul 2019 10:27:11 -0400 Tony Krowiak wrote: > On 7/1/19 3:26 PM, Cornelia Huck wrote: > > On Wed, 19 Jun 2019 09:04:18 -0400 > > Tony Krowiak wrote: > >> Allow me to first address your fear that a bad actor can hog > >> resources that can't be removed by root. With this enhancement, >

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-07-08 Thread Tony Krowiak
On 7/1/19 3:26 PM, Cornelia Huck wrote: On Wed, 19 Jun 2019 09:04:18 -0400 Tony Krowiak wrote: On 6/18/19 12:25 PM, Cornelia Huck wrote: On Thu, 13 Jun 2019 15:39:36 -0400 Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its dev

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-07-01 Thread Cornelia Huck
On Wed, 19 Jun 2019 09:04:18 -0400 Tony Krowiak wrote: > On 6/18/19 12:25 PM, Cornelia Huck wrote: > > On Thu, 13 Jun 2019 15:39:36 -0400 > > Tony Krowiak wrote: > > > >> Introduces a new driver callback to prevent a root user from unbinding > >> an AP queue from its device driver if the queu

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-27 Thread Tony Krowiak
On 6/27/19 3:25 AM, Cornelia Huck wrote: On Wed, 26 Jun 2019 17:13:50 -0400 Tony Krowiak wrote: On 6/19/19 9:04 AM, Tony Krowiak wrote: On 6/18/19 12:25 PM, Cornelia Huck wrote: On Thu, 13 Jun 2019 15:39:36 -0400 Tony Krowiak wrote: Introduces a new driver callback to prevent a root use

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-27 Thread Cornelia Huck
On Wed, 26 Jun 2019 17:13:50 -0400 Tony Krowiak wrote: > On 6/19/19 9:04 AM, Tony Krowiak wrote: > > On 6/18/19 12:25 PM, Cornelia Huck wrote: > >> On Thu, 13 Jun 2019 15:39:36 -0400 > >> Tony Krowiak wrote: > >> > >>> Introduces a new driver callback to prevent a root user from unbinding >

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-26 Thread Tony Krowiak
On 6/19/19 9:04 AM, Tony Krowiak wrote: On 6/18/19 12:25 PM, Cornelia Huck wrote: On Thu, 13 Jun 2019 15:39:36 -0400 Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-19 Thread Tony Krowiak
On 6/18/19 12:25 PM, Cornelia Huck wrote: On Thu, 13 Jun 2019 15:39:36 -0400 Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away fr

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-18 Thread Cornelia Huck
On Thu, 13 Jun 2019 15:39:36 -0400 Tony Krowiak wrote: > Introduces a new driver callback to prevent a root user from unbinding > an AP queue from its device driver if the queue is in use. This prevents > a root user from inadvertently taking a queue away from a guest and > giving it to the host,

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-17 Thread Tony Krowiak
On 6/17/19 5:28 AM, Harald Freudenberger wrote: On 13.06.19 21:39, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest a

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-17 Thread Harald Freudenberger
On 13.06.19 21:39, Tony Krowiak wrote: > Introduces a new driver callback to prevent a root user from unbinding > an AP queue from its device driver if the queue is in use. This prevents > a root user from inadvertently taking a queue away from a guest and > giving it to the host, or vice versa. Th

[PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-13 Thread Tony Krowiak
Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest and giving it to the host, or vice versa. The callback will be invoked whenever a change to