Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-12-06 Thread Andy Lutomirski
On Sat, Dec 5, 2020 at 4:01 PM Jessica Clarke wrote: > > Ping? Can you submit patches implementing my proposal? One is your existing patch plus fixing struct msghdr, with Cc: sta...@vger.kernel.org at the bottom. The second is a removal of struct msghdr from uapi, moving it into include/inux

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-12-05 Thread Jessica Clarke
On 16 Nov 2020, at 00:55, Jessica Clarke wrote: > > On 1 Nov 2020, at 21:01, Rich Felker wrote: >> >> On Sun, Nov 01, 2020 at 06:27:10PM +, Jessica Clarke wrote: >>> On 1 Nov 2020, at 18:15, Jessica Clarke wrote: On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: > > On

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-15 Thread Jessica Clarke
On 1 Nov 2020, at 21:01, Rich Felker wrote: > > On Sun, Nov 01, 2020 at 06:27:10PM +, Jessica Clarke wrote: >> On 1 Nov 2020, at 18:15, Jessica Clarke wrote: >>> >>> On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: > >

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-01 Thread Rich Felker
On Sun, Nov 01, 2020 at 06:27:10PM +, Jessica Clarke wrote: > On 1 Nov 2020, at 18:15, Jessica Clarke wrote: > > > > On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: > >> > >> On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: > >>> > >>> On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-01 Thread Jessica Clarke
On 1 Nov 2020, at 18:15, Jessica Clarke wrote: > > On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: >> >> On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: >>> >>> On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica Clarke wrote: On 1 Nov 2020, at 01:22, Rich Felker wrote: > On Sat,

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-01 Thread Jessica Clarke
On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: > > On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: >> >> On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica Clarke wrote: >>> On 1 Nov 2020, at 01:22, Rich Felker wrote: On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote:

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-11-01 Thread Andy Lutomirski
On Sat, Oct 31, 2020 at 6:50 PM Rich Felker wrote: > > On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica Clarke wrote: > > On 1 Nov 2020, at 01:22, Rich Felker wrote: > > > On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote: > > >> cc: some libc folks > > >> > > >> On Mon, Oct 12,

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Rich Felker
On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica Clarke wrote: > On 1 Nov 2020, at 01:22, Rich Felker wrote: > > On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote: > >> cc: some libc folks > >> > >> On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: > >>> > >>> POSIX

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Jessica Clarke
On 1 Nov 2020, at 01:22, Rich Felker wrote: > On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote: >> cc: some libc folks >> >> On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: >>> >>> POSIX specifies that the first field of the supplied msgp, namely mtype, >>> is a long, not

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Rich Felker
On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote: > cc: some libc folks > > On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: > > > > POSIX specifies that the first field of the supplied msgp, namely mtype, > > is a long, not a __kernel_long_t, and it's a user-defined struct

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Jessica Clarke
On 31 Oct 2020, at 23:30, Andy Lutomirski wrote: > > cc: some libc folks > > On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: >> >> POSIX specifies that the first field of the supplied msgp, namely mtype, >> is a long, not a __kernel_long_t, and it's a user-defined struct due to >> the

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Andy Lutomirski
cc: some libc folks On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: > > POSIX specifies that the first field of the supplied msgp, namely mtype, > is a long, not a __kernel_long_t, and it's a user-defined struct due to > the variable-length mtext field so we can't even bend the spec and

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-30 Thread Jessica Clarke
> On 12 Oct 2020, at 14:44, Jessica Clarke wrote: > > POSIX specifies that the first field of the supplied msgp, namely mtype, > is a long, not a __kernel_long_t, and it's a user-defined struct due to > the variable-length mtext field so we can't even bend the spec and make > it a

[PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-12 Thread Jessica Clarke
POSIX specifies that the first field of the supplied msgp, namely mtype, is a long, not a __kernel_long_t, and it's a user-defined struct due to the variable-length mtext field so we can't even bend the spec and make it a __kernel_long_t even if we wanted to. Thus we must use the compat syscalls