Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-23 Thread Pavel Begunkov
On 22/09/2020 12:01, Arnd Bergmann wrote: > On Tue, Sep 22, 2020 at 9:59 AM Pavel Begunkov wrote: >> On 22/09/2020 10:23, Arnd Bergmann wrote: >>> On Tue, Sep 22, 2020 at 8:32 AM Pavel Begunkov >>> wrote: >>>> On 22/09/2020 03:58, Andy Lutomirski wrote

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-22 Thread Pavel Begunkov
On 22/09/2020 10:23, Arnd Bergmann wrote: > On Tue, Sep 22, 2020 at 8:32 AM Pavel Begunkov wrote: >> On 22/09/2020 03:58, Andy Lutomirski wrote: >>> On Mon, Sep 21, 2020 at 5:24 PM Pavel Begunkov >>> wrote: >>> I may be looking at a different kernel tha

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-22 Thread Pavel Begunkov
On 22/09/2020 03:58, Andy Lutomirski wrote: > On Mon, Sep 21, 2020 at 5:24 PM Pavel Begunkov wrote: >>>>>>> Ah, so reading /dev/input/event* would suffer from the same issue, >>>>>>> and that one would in fact be broken by your patch in the hypoth

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
On 22/09/2020 02:51, Andy Lutomirski wrote: > On Mon, Sep 21, 2020 at 9:15 AM Pavel Begunkov wrote: >> >> On 21/09/2020 19:10, Pavel Begunkov wrote: >>> On 20/09/2020 01:22, Andy Lutomirski wrote: >>>> >>>>> On Sep 19, 2020, at 2:16 PM, Arnd

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
a submitter. The exception is SQPOLL mode, but it requires CAP_SYS_ADMIN or CAP_SYS_NICE anyway. > I suspect there are some really horrid security holes in that area. > > David. > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 > 1PT, UK > Registration No: 1397386 (Wales) > -- Pavel Begunkov

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
ess, you don't get to use io_uring. Would > any real users actually care about that? There were .net and\or wine (which AFAIK often works in compat) guys experimenting with io_uring, they might want it. -- Pavel Begunkov

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
to IORING_OP_READV32 and then the core >> code can know what that user pointer is pointing to. -- Pavel Begunkov

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
On 21/09/2020 19:10, Pavel Begunkov wrote: > On 20/09/2020 01:22, Andy Lutomirski wrote: >> >>> On Sep 19, 2020, at 2:16 PM, Arnd Bergmann wrote: >>> >>> On Sat, Sep 19, 2020 at 6:21 PM Andy Lutomirski wrote: >>>>> On Fri, Sep 18, 2020 at 8:1

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-21 Thread Pavel Begunkov
> As for the other direction: what exactly are the desired bitness/arch > semantics of io_uring? Is the operation bitness chosen by the io_uring > creation or by the io_uring_enter() bitness? It's rather the second one. Even though AFAIR it wasn't discussed specifically, that how it works now (_partially_). -- Pavel Begunkov

Re: Build failure on latest powerpc/merge (311ae9e159d8 io_uring: fix dead-hung for non-iter fixed rw)

2019-12-01 Thread Pavel Begunkov
an #include is missing. >>> >>> Huh weird how the build bots didn't catch that. Does the below work? >> >> Yes it works, thanks. > > Thanks for reporting and testing, I've queued it up with your reported > and tested-by. > My bad, thanks for the report and fixing. -- Pavel Begunkov signature.asc Description: OpenPGP digital signature