Re: [Y2038] ia32 signed long treated as x64 unsigned int by __ia32_sys*

2021-09-23 Thread Arnd Bergmann
On Thu, Sep 23, 2021 at 12:01 PM Richard Palethorpe wrote: > Arnd Bergmann writes: > > On Wed, Sep 22, 2021 at 10:46 AM Richard Palethorpe > > wrote: > >> Richard Palethorpe writes: > > > > I also noticed that only x86 and s390 even have separate entry > > points for normal syscalls when

Re: [Y2038] ia32 signed long treated as x64 unsigned int by __ia32_sys*

2021-09-23 Thread Richard Palethorpe
Hello Arnd, Arnd Bergmann writes: > On Wed, Sep 22, 2021 at 10:46 AM Richard Palethorpe > wrote: >> Richard Palethorpe writes: > >> > >> > Then the output is: >> > >> > [ 11.252268] io_pgetevents(f7f19000, 4294967295, 1, ...) >> > [ 11.252401] comparing 4294967295 <= 1 >> >

Re: [Y2038] ia32 signed long treated as x64 unsigned int by __ia32_sys*

2021-09-22 Thread Arnd Bergmann
On Wed, Sep 22, 2021 at 10:46 AM Richard Palethorpe wrote: > Richard Palethorpe writes: > > > > Then the output is: > > > > [ 11.252268] io_pgetevents(f7f19000, 4294967295, 1, ...) > > [ 11.252401] comparing 4294967295 <= 1 > > io_pgetevents02.c:114: TPASS: invalid min_nr: io_pgetevents()

[Y2038] ia32 signed long treated as x64 unsigned int by __ia32_sys*

2021-09-22 Thread Richard Palethorpe
Richard Palethorpe writes: > Richard Palethorpe writes: > >> Hello Arnd, >> >> Arnd Bergmann writes: >> >>> On Tue, Sep 21, 2021 at 3:01 PM Richard Palethorpe >>> wrote: The LTP test io_pgetevents02 fails in 32bit compat mode because an nr_max of -1 appears to be treated as