Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-02 Thread Jan Kara
On Tue 01-12-20 16:51:26, Borislav Petkov wrote: > On Tue, Dec 01, 2020 at 10:48:10AM +0100, Jan Kara wrote: > > On Mon 30-11-20 17:30:59, Brian Gerst wrote: > > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > > > use the compat handlers to allow conversion to

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Brian Gerst
On Tue, Dec 1, 2020 at 12:34 PM Andy Lutomirski wrote: > > On Tue, Dec 1, 2020 at 9:23 AM Andy Lutomirski wrote: > > > > On Mon, Nov 30, 2020 at 2:31 PM Brian Gerst wrote: > > > > > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > > > use the compat handlers to

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Andy Lutomirski
On Tue, Dec 1, 2020 at 11:00 AM Catalin Marinas wrote: > > On Tue, Dec 01, 2020 at 09:34:32AM -0800, Andy Lutomirski wrote: > > On Tue, Dec 1, 2020 at 9:23 AM Andy Lutomirski wrote: > > > On Mon, Nov 30, 2020 at 2:31 PM Brian Gerst wrote: > > > > Commit 121b32a58a3a converted native x86-32

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Catalin Marinas
On Tue, Dec 01, 2020 at 09:34:32AM -0800, Andy Lutomirski wrote: > On Tue, Dec 1, 2020 at 9:23 AM Andy Lutomirski wrote: > > On Mon, Nov 30, 2020 at 2:31 PM Brian Gerst wrote: > > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > > > use the compat handlers to allow

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Andy Lutomirski
On Tue, Dec 1, 2020 at 9:23 AM Andy Lutomirski wrote: > > On Mon, Nov 30, 2020 at 2:31 PM Brian Gerst wrote: > > > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > > use the compat handlers to allow conversion to passing args via pt_regs. > > sys_fanotify_mark() was

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Andy Lutomirski
On Mon, Nov 30, 2020 at 2:31 PM Brian Gerst wrote: > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > use the compat handlers to allow conversion to passing args via pt_regs. > sys_fanotify_mark() was however missed, as it has a general compat handler. > Add a config

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Borislav Petkov
On Tue, Dec 01, 2020 at 10:48:10AM +0100, Jan Kara wrote: > On Mon 30-11-20 17:30:59, Brian Gerst wrote: > > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > > use the compat handlers to allow conversion to passing args via pt_regs. > > sys_fanotify_mark() was however

Re: [PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-12-01 Thread Jan Kara
On Mon 30-11-20 17:30:59, Brian Gerst wrote: > Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to > use the compat handlers to allow conversion to passing args via pt_regs. > sys_fanotify_mark() was however missed, as it has a general compat handler. > Add a config option

[PATCH] fanotify: Fix sys_fanotify_mark() on native x86-32

2020-11-30 Thread Brian Gerst
Commit 121b32a58a3a converted native x86-32 which take 64-bit arguments to use the compat handlers to allow conversion to passing args via pt_regs. sys_fanotify_mark() was however missed, as it has a general compat handler. Add a config option that will use the syscall wrapper that takes the split