Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-27 Thread Stefano Garzarella
On Wed, Aug 26, 2020 at 01:52:38PM -0600, Andreas Dilger wrote: > On Aug 26, 2020, at 1:43 PM, Kees Cook wrote: > > > > On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > >> The enumeration allows us to keep track of the last > >> io_uring_register(2) opcode available. > >> >

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Andreas Dilger
On Aug 26, 2020, at 1:43 PM, Kees Cook wrote: > > On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: >> The enumeration allows us to keep track of the last >> io_uring_register(2) opcode available. >> >> Behaviour and opcodes names don't change. >> >> Signed-off-by: Stefano Gar

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > The enumeration allows us to keep track of the last > io_uring_register(2) opcode available. > > Behaviour and opcodes names don't change. > > Signed-off-by: Stefano Garzarella > --- > include/uapi/linux/io_uring.h | 27 +

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > The enumeration allows us to keep track of the last > io_uring_register(2) opcode available. > > Behaviour and opcodes names don't change. > > Signed-off-by: Stefano Garzarella Reviewed-by: Kees Cook -- Kees Cook

[PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-13 Thread Stefano Garzarella
The enumeration allows us to keep track of the last io_uring_register(2) opcode available. Behaviour and opcodes names don't change. Signed-off-by: Stefano Garzarella --- include/uapi/linux/io_uring.h | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --gi