led on native i686.
Rename in_compat_syscall() to in_32bit_syscall() for x86-specific code
and make in_compat_syscall() false under !CONFIG_COMPAT.
With a following patch I'll clean generic users which were forced
to check IS_ENABLED(CONFIG_COMPAT) with in_compat_syscall().
Signed-off-by: Dmitry
Now that in_compat_syscall() == false on native i686, it's possible to
remove some ifdeffery and no more needed helpers.
Signed-off-by: Dmitry Safonov
---
drivers/firmware/efi/efivars.c | 16
kernel/time/time.c | 2 +-
net/xfrm/xfrm_state.c | 2 --
: Ingo Molnar
Cc: John Stultz
Cc: "Kirill A. Shutemov"
Cc: Oleg Nesterov
Cc: Steffen Klassert
Cc: Stephen Boyd
Cc: Steven Rostedt
Cc: Thomas Gleixner
Cc: x...@kernel.org
Cc: linux-efi@vger.kernel.org
Cc: net...@vger.kernel.org
Cc: Dmitry Safonov <0x7f454...@gmail.com>
Dm
efi@vger.kernel.org
Cc: net...@vger.kernel.org
Signed-off-by: Dmitry Safonov
---
arch/x86/include/asm/compat.h | 9 -
arch/x86/include/asm/ftrace.h | 4 +---
arch/x86/kernel/process_64.c | 4 ++--
arch/x86/kernel/sys_x86_64.c | 11 ++-
arch/x86/mm/hugetlbpage.c | 4 ++--
;Kirill A. Shutemov"
Cc: Oleg Nesterov
Cc: Steffen Klassert
Cc: Stephen Boyd
Cc: Steven Rostedt
Cc: Thomas Gleixner
Cc: x...@kernel.org
Cc: linux-efi@vger.kernel.org
Cc: net...@vger.kernel.org
Signed-off-by: Dmitry Safonov
---
drivers/firmware/efi/efivars.c | 16
kernel/t
for ipsec tunnels and to check
that kernel parses correctly the structures those differ in size.
It doesn't depend on any library and compat version can be easy
build with: make CFLAGS=-m32 net/ipsec
Cc: "David S. Miller"
Cc: Herbert Xu
Cc: Steffen Klassert
Cc: Dmitry Safonov <
On Fri, 2018-07-27 at 09:37 +0200, Steffen Klassert wrote:
> On Thu, Jul 26, 2018 at 10:49:59AM +0200, Florian Westphal wrote:
> > Dmitry Safonov wrote:
> > > So, here I add a compatible layer to xfrm.
> > > As xfrm uses netlink notifications, kernel should send the
On Fri, 2018-07-27 at 16:19 +0200, Florian Westphal wrote:
> Dmitry Safonov wrote:
> > 1. It will double copy netlink messages, making it O(n) instead of
> > O(1), where n - is number of bind()s.. Probably we don't care much.
>
> About those bind() patches, I don't
hes set according to critics and
separate compat xfrm layer. I've already a selftest to check that 32/64
bit xfrm works - so the most time-taking part is done.
So, if you'll wait a week or two - you may help me to justify acception
of mainstreaming those patches.
> On Fri, Jul 27, 2018 at 7
On Sat, 2018-07-28 at 14:18 -0700, David Miller wrote:
> From: Dmitry Safonov
> Date: Sat, 28 Jul 2018 17:26:55 +0100
>
> > Well, I think, I'll rework my patches set according to critics and
> > separate compat xfrm layer. I've already a selftest to check that
>
Now that in_compat_syscall() == false on native i686, it's possible to
remove some ifdeffery and no more needed helpers.
Signed-off-by: Dmitry Safonov
---
drivers/firmware/efi/efivars.c | 16
kernel/time/time.c | 2 +-
net/xfrm/xfrm_state.c | 2 --
ompat_syscall() to in_32bit_syscall() for x86-specific code
and make in_compat_syscall() false under !CONFIG_COMPAT.
With a following patch I'll clean generic users which were forced
to check IS_ENABLED(CONFIG_COMPAT) with in_compat_syscall().
Signed-off-by: Dmitry Safonov
---
arch/x86/in
r
Cc: x...@kernel.org
Cc: linux-efi@vger.kernel.org
Cc: net...@vger.kernel.org
Cc: Dmitry Safonov <0x7f454...@gmail.com>
Dmitry Safonov (2):
x86/compat: Adjust in_compat_syscall() to generic code under !COMPAT
compat: Cleanup in_compat_syscall() callers
arch/x86/include/asm/compat.h
13 matches
Mail list logo