ira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-a...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: initial revision
include/asm-generic/syscall.h | 39 +--
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/include/asm-gene
/elf.h
and confirmed by binutils:include/elf/common.h
Cc: Guo Ren
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
include/uapi/linux/elf-em.h | 1 +
1 file changed, 1 insertion(+)
diff --git a
,
syscall_get_error, and syscall_get_return_value.
Cc: Richard Henderson
Cc: Ivan Kokshaysky
Cc: Matt Turner
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-al...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: use asm-generic/syscall.h
arch
-by: Vineet Gupta
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Alexey Brodkin
Cc: Paul Moore
Cc: Eric Paris
Cc: linux-snps-...@lists.infradead.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added
getting rid of BUGs, BUG_ONs,
and replicated error checks in arch-specific asm/syscall.h files.
Cc: Arnd Bergmann
Cc: Oleg Nesterov
Cc: Geert Uytterhoeven
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-a...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: initial
PTRACE_GET_SYSCALL_INFO request.
Cc: Richard Kuo
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-hexa...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added Cc
arch/hexagon/include/asm/elf.h | 6 +-
include/uapi/linux/elf
syscall_get_arch.
Cc: Yoshinori Sato
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: uclinux-h8-de...@lists.sourceforge.jp
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: added missing includes
syscall_get_arch.
Cc: Richard Kuo
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-hexa...@vger.kernel.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: added missing includes
v5: added
-by: Mark Salter
Cc: Aurelien Jacquiot
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-c6x-...@linux-c6x.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: added Acked-by
v5: added
generic ptrace API with PTRACE_GET_SYSCALL_INFO request.
Acked-by: Vineet Gupta
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Alexey Brodkin
Cc: linux-snps-...@lists.infradead.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5
...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
arch/csky/include/asm/syscall.h | 7 +++
include/uapi/linux/audit.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/csky/include/asm/syscall.h b/arch/csky/include/asm/syscall.h
index 926a64a8b4ee
,
syscall_get_arguments, syscall_get_error, syscall_get_return_value,
and syscall_get_arch.
Cc: Geert Uytterhoeven
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-m...@lists.linux-m68k.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: added missing
Foon Tan
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: nios2-...@lists.rocketboards.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added Cc
arch/nios2/include/asm
request.
Cc: Greentime Hu
Cc: Vincent Chen
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added Cc
arch/nds32/include/asm/elf.h | 3 +--
include/uapi/linux/elf-em.h | 2 ++
2 files
: Paul Burton
Cc: Ralf Baechle
Cc: James Hogan
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-m...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: initial revision
arch/mips/include/asm/syscall.h | 6 ++
1
: Greentime Hu
Cc: Vincent Chen
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added Cc
v2: apparently, this architecture can be
: James E.J. Bottomley
Cc: Helge Deller
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-par...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: initial revision
arch/parisc/include/asm/syscall.h | 7 +++
1 file
-on-patch-by: David Abdurachmanov
Reviewed-by: Palmer Dabbelt
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Albert Ou
Cc: Paul Moore
Cc: Eric Paris
Cc: linux-ri...@lists.infradead.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linuxppc-...@lists.ozlabs.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5:
This change has been tested with
PTRACE_GET_SYSCALL_INFO request.
Cc: Guan Xuetao
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: unchanged
v5: added Cc
arch/unicore32/include/asm/elf.h | 3 +--
include/uapi/linux/elf-em.h | 1 +
2 files changed
similar to ARM, so the implementation of syscall_get_* functions
is also similar to ARM.
Cc: Guan Xuetao
Cc: Paul Moore
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes
PTRACE_GET_SYSCALL_INFO request.
Cc: Max Filippov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Chris Zankel
Cc: linux-xte...@linux-xtensa.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6: there is an earlier revision of this patch in xtensa tree where
,
syscall_get_error, syscall_get_return_value, and syscall_get_arch.
Cc: Max Filippov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Chris Zankel
Cc: Paul Moore
Cc: Eric Paris
Cc: linux-xte...@linux-xtensa.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V
Check whether PTRACE_GET_SYSCALL_INFO semantics implemented in the kernel
matches userspace expectations.
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Shuah Khan
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-kselft...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v6
.
Co-authored-by: Dmitry V. Levin
Fixes: 5521eb4bca2d ("powerpc/ptrace: Add support for PTRACE_SYSEMU")
Signed-off-by: Elvira Khabirova
Signed-off-by: Dmitry V. Levin
[mpe: Take this as a minimal fix for 4.20, we'll rework it later]
Signed-off-by: Michael Ellerman
---
Notes:
el exceeds the size
specified by "addr" argument, the output is truncated.
Co-authored-by: Dmitry V. Levin
Reviewed-by: Oleg Nesterov
Reviewed-by: Kees Cook
Cc: Andy Lutomirski
Cc: Eugene Syromyatnikov
Cc: Jann Horn
Cc: linux-...@vger.kernel.org
Cc: strace-de...@lists.s
abs.org
Cc: linux-ri...@lists.infradead.org
Cc: linux-s...@vger.kernel.org
Cc: linux...@vger.kernel.org
Cc: sparcli...@vger.kernel.org
Cc: linux...@lists.infradead.org
Cc: linux-xte...@linux-xtensa.org
Cc: linux-a...@vger.kernel.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v6:
.
Fixes: 72cd87576d1d8 ("block: Introduce BLKGETZONESZ ioctl")
Fixes: 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl")
Signed-off-by: Dmitry V. Levin
---
Since both ioctls were introduced after 4.19,
please make sure they are fixed in 4.20.
Thanks.
include/uapi/linux/bl
As commit 72cd87576d1d8 ("block: Introduce BLKGETZONESZ ioctl") and
commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl") added
two more ioctls of type 0x12, update the comment about ioctl numbers
reserved for zoned block devices.
Signed-off-by: Dmitry V. Levin
---
Invoke tracehook_report_syscall_entry once.
Signed-off-by: Dmitry V. Levin
---
arch/powerpc/kernel/ptrace.c | 54 +---
1 file changed, 31 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 714c3480c52d
Hi,
On Mon, Dec 17, 2018 at 10:20:26PM +1100, Michael Ellerman wrote:
> "Dmitry V. Levin" writes:
> > Invoke tracehook_report_syscall_entry once.
>
> Thanks.
>
> > Signed-off-by: Dmitry V. Levin
> > ---
> > arch/powerpc/kernel/ptrace.c | 54 ++
Hi Geert,
On Mon, Dec 10, 2018 at 09:45:42AM +0100, Geert Uytterhoeven wrote:
> Hi Dmitry,
>
> On Mon, Dec 10, 2018 at 5:30 AM Dmitry V. Levin wrote:
> > syscall_get_* functions are required to be implemented on all
> > architectures in order to extend the ge
Hi,
On Sun, Dec 09, 2018 at 09:02:50PM -0800, Max Filippov wrote:
> Hello,
>
> On Sun, Dec 9, 2018 at 8:30 PM Dmitry V. Levin wrote:
> > syscall_get_* functions are required to be implemented on all
> > architectures in order to extend the generic ptrace API with
> &
Hi Geert,
On Mon, Dec 10, 2018 at 02:06:28PM +0100, Geert Uytterhoeven wrote:
> On Mon, Dec 10, 2018 at 1:41 PM Dmitry V. Levin wrote:
> > On Mon, Dec 10, 2018 at 09:45:42AM +0100, Geert Uytterhoeven wrote:
> > > On Mon, Dec 10, 2018 at 5:30 AM Dmitry V. Levin wrote:
&g
On Mon, Dec 10, 2018 at 02:28:07PM +0100, Oleg Nesterov wrote:
> On 12/07, Dmitry V. Levin wrote:
> >
> > Please make either v5 or v6 edition of this fix, or any similar fix,
> > into v4.20.
>
> IIUC, v5 above means
>
> [PATCH v5 23/25] powerpc/ptrace: rep
master]
> [also build test ERROR on v4.20-rc6]
> [cannot apply to next-20181207]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Dmitry-V-Levin/ptrace-add-PTRACE_GET_
On Mon, Dec 10, 2018 at 03:11:07PM +0100, Oleg Nesterov wrote:
> On 12/10, Dmitry V. Levin wrote:
> >
> > +struct ptrace_syscall_info {
> > + __u8 op;/* PTRACE_SYSCALL_INFO_* */
> > + __u8 __pad0[3];
> > + __u32 arch;
> > + __u64 instructi
On Mon, Dec 10, 2018 at 12:14:37PM -0800, Max Filippov wrote:
> On Mon, Dec 10, 2018 at 4:53 AM Dmitry V. Levin wrote:
> > On Sun, Dec 09, 2018 at 09:02:50PM -0800, Max Filippov wrote:
> > > How should we synchronize our changes?
> >
> > No problem, I can revert t
On Mon, Dec 10, 2018 at 11:24:02PM +0300, Dmitry V. Levin wrote:
> On Mon, Dec 10, 2018 at 12:14:37PM -0800, Max Filippov wrote:
> > On Mon, Dec 10, 2018 at 4:53 AM Dmitry V. Levin wrote:
> > > On Sun, Dec 09, 2018 at 09:02:50PM -0800, Max Filippov wrote:
> > > >
Nesterov
Cc: Arnd Bergmann
Cc: linux-a...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
include/asm-generic/ptrace.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/asm-generic/ptrace.h b/include/asm-generic/ptrace.h
index 82e674f6b337..3186c30bd50d 100644
--- a/include/asm
On Tue, Dec 11, 2018 at 04:29:54PM +0100, Oleg Nesterov wrote:
> On 12/10, Dmitry V. Levin wrote:
> > On Mon, Dec 10, 2018 at 03:11:07PM +0100, Oleg Nesterov wrote:
> > > On 12/10, Dmitry V. Levin wrote:
> > > >
> > > > +struct ptr
On Tue, Dec 11, 2018 at 07:23:05PM +0300, Dmitry V. Levin wrote:
> On Tue, Dec 11, 2018 at 04:29:54PM +0100, Oleg Nesterov wrote:
> > On 12/10, Dmitry V. Levin wrote:
> > > On Mon, Dec 10, 2018 at 03:11:07PM +0100, Oleg Nesterov wrote:
> > > > O
Hi,
On Thu, Dec 13, 2018 at 08:21:42PM +0300, Dmitry V. Levin wrote:
> These should never have been defined in the arch tree to begin with, and
> now uapi/linux/audit.h header is going to use EM_ARCOMPACT and EM_ARCV2
> in order to define AUDIT_ARCH_ARCOMPACT and AUDIT_ARCH_ARCV2
Hi,
On Thu, Dec 13, 2018 at 08:21:46PM +0300, Dmitry V. Levin wrote:
> syscall_get_arch() is required to be implemented on all architectures
> in addition to already implemented syscall_get_nr(),
> syscall_get_arguments(), syscall_get_error(), and
> syscall_get_return_value() functi
Hi Paul,
On Thu, Dec 13, 2018 at 07:00:16PM +, Paul Burton wrote:
> Hi Dmitry,
>
> On Thu, Dec 13, 2018 at 08:23:02PM +0300, Dmitry V. Levin wrote:
> > syscall_get_error() is required to be implemented on all
> > architectures in addition to already imple
Hi,
On Fri, Dec 14, 2018 at 12:43:08PM +0800, Guo Ren wrote:
> Reviewed-by: Guo Ren
Given that the whole series is going to be pinged for quite some
time yet, would you mind taking this patch into the csky tree?
Thanks.
> On Thu, Dec 13, 2018 at 08:22:00PM +0300, Dmitry V. Levin
; Cc: Oleg Nesterov
> > Cc: Andy Lutomirski
> > Cc: Elvira Khabirova
> > Cc: Eugene Syromyatnikov
> > Cc: linux-au...@redhat.com
> > Signed-off-by: Dmitry V. Levin
> > ---
> >
> > Notes:
> > v6: unchanged
> >
> &
On Fri, Jan 04, 2019 at 10:25:24AM +0100, Heiko Carstens wrote:
> On Thu, Jan 03, 2019 at 11:52:51PM +, Martin Lau wrote:
> > On Thu, Jan 03, 2019 at 11:41:18PM +0100, Heiko Carstens wrote:
> > > On Thu, Jan 03, 2019 at 07:12:05PM +, Martin Lau wrote:
> > > > On Thu, Jan 03, 2019 at 12:46:1
ira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-a...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: initial revision
include/asm-generic/syscall.h | 39 +--
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/incl
getting rid of BUGs, BUG_ONs,
and replicated error checks in arch-specific asm/syscall.h files.
Cc: Arnd Bergmann
Cc: Oleg Nesterov
Cc: Geert Uytterhoeven
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-a...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
generic ptrace API with PTRACE_GET_SYSCALL_INFO request.
Acked-by: Vineet Gupta
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Alexey Brodkin
Cc: linux-snps-...@lists.infradead.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6
,
syscall_get_error, and syscall_get_return_value.
Cc: Richard Henderson
Cc: Ivan Kokshaysky
Cc: Matt Turner
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-al...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: use asm-generic
syscall_get_arch.
Acked-by: Paul Moore # audit related parts
Cc: Yoshinori Sato
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: uclinux-h8-de...@lists.sourceforge.jp
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7
-by: Vineet Gupta
Acked-by: Paul Moore
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Alexey Brodkin
Cc: Eric Paris
Cc: linux-snps-...@lists.infradead.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added Acked-by
syscall_get_arch.
Acked-by: Paul Moore # audit related parts
Cc: Richard Kuo
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-hexa...@vger.kernel.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added
-by: Mark Salter
Acked-by: Paul Moore
Cc: Aurelien Jacquiot
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-c6x-...@linux-c6x.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added Acked-by
v6
PTRACE_GET_SYSCALL_INFO request.
Cc: Richard Kuo
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-hexa...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: unchanged
v5: added Cc
arch/hexagon/include/asm/elf.h | 6
-by: Paul Moore
Cc: Ley Foon Tan
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: nios2-...@lists.rocketboards.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added Acked-by
v6: unchanged
v5: added
request.
Cc: Greentime Hu
Cc: Vincent Chen
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: unchanged
v5: added Cc
arch/nds32/include/asm/elf.h | 3 +--
include/uapi/linux/elf-em.h
V. Levin
---
Notes:
v7: added Acked-by
v6: added missing includes, use asm-generic/syscall.h
v5: added syscall_get_nr, syscall_get_arguments, syscall_get_error,
and syscall_get_return_value
v1: added syscall_get_arch
arch/m68k/include/asm/syscall.h | 42
: James E.J. Bottomley
Cc: Helge Deller
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-par...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: unchanged
v5: initial revision
arch/parisc/include/asm/syscall.h
-by: Paul Moore
Cc: Greentime Hu
Cc: Vincent Chen
Cc: Eric Paris
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added Acked-by
v6: unchanged
v5: added Cc
v2
-on-patch-by: David Abdurachmanov
Reviewed-by: Palmer Dabbelt
Acked-by: Paul Moore
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Albert Ou
Cc: Eric Paris
Cc: linux-ri...@lists.infradead.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry V. Levin
PTRACE_GET_SYSCALL_INFO request.
Cc: Guan Xuetao
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: unchanged
v5: added Cc
arch/unicore32/include/asm/elf.h | 3 +--
include/uapi/linux/elf-em.h | 1
: Dmitry V. Levin
---
Notes:
v7: added Acked-by
v6: made use of asm-generic/syscall.h
v5: added syscall_get_nr, syscall_get_arguments, syscall_get_error,
and syscall_get_return_value
v1: added syscall_get_arch
arch/unicore32/include/asm/syscall.h | 47
-by: Paul Burton
Cc: Ralf Baechle
Cc: James Hogan
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-m...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: added Acked-by
v6: unchanged
v5: initial revision
arch/mips/include
: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linuxppc-...@lists.ozlabs.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7: unchanged
v6: unchanged
v5:
This change has been
Check whether PTRACE_GET_SYSCALL_INFO semantics implemented in the kernel
matches userspace expectations.
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Shuah Khan
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-kselft...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v7
...@lists.ozlabs.org
Cc: linux-ri...@lists.infradead.org
Cc: linux-s...@vger.kernel.org
Cc: linux...@vger.kernel.org
Cc: sparcli...@vger.kernel.org
Cc: linux...@lists.infradead.org
Cc: linux-xte...@linux-xtensa.org
Cc: linux-a...@vger.kernel.org
Cc: linux-au...@redhat.com
Signed-off-by: Dmitry
el exceeds the size
specified by "addr" argument, the output is truncated.
Co-authored-by: Dmitry V. Levin
Reviewed-by: Oleg Nesterov
Reviewed-by: Kees Cook
Cc: Andy Lutomirski
Cc: Eugene Syromyatnikov
Cc: Jann Horn
Cc: linux-...@vger.kernel.org
Cc: strace-de...@lists.s
Signed-off-by: Dmitry V. Levin
---
arch/nds32/include/asm/syscall.h | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/arch/nds32/include/asm/syscall.h b/arch/nds32/include/asm/syscall.h
index f7e5e86765fe..6b131202d0e9 100644
--- a/arch/nds32/i
5.0-rc1]
> [cannot apply to next-20190103]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Dmitry-V-Levin/asm-generic-syscall-h-prepare-for-inclusion-by-other-f
On Thu, Dec 27, 2018 at 06:18:19PM +0100, Florian Weimer wrote:
> We have a bit of an interesting problem with respect to the d_off
> field in struct dirent.
>
> When running a 64-bit kernel on certain file systems, notably ext4,
> this field uses the full 63 bits even for small directories (strac
y git, the off-by-two bug was introduced in linux
2.1.32 when trap_a{0,1,2} fields were inserted into struct pt_regs on
alpha without an appropriate dpf_reg() update.
Before 2.1.32 (back to 2.1.7 when dpf_reg() was introduced)
there was another off-by-one bug in dpf_reg(): r16 was written
into struc
On Wed, Nov 07, 2018 at 04:27:51AM +0100, Elvira Khabirova wrote:
[...]
> The structure was chosen according to [2], except for two changes.
> First: instead of an arch field with a value of AUDIT_ARCH_*, a boolean
> is_compat value is returned, because a) not all arches have an AUDIT_ARCH_*
> defi
On Wed, Nov 07, 2018 at 12:21:01PM +0100, Oleg Nesterov wrote:
> On 11/07, Elvira Khabirova wrote:
> >
> > In short, if a 64-bit task performs a syscall through int 0x80, its tracer
> > has no reliable means to find out that the syscall was, in fact,
> > a compat syscall, and misidentifies it.
> >
On Fri, May 10, 2024 at 03:04:32PM +0100, Vincent Donnefort wrote:
[...]
> diff --git a/include/uapi/linux/trace_mmap.h b/include/uapi/linux/trace_mmap.h
> index b682e9925539..bd1066754220 100644
> --- a/include/uapi/linux/trace_mmap.h
> +++ b/include/uapi/linux/trace_mmap.h
> @@ -43,4 +43,6 @@ str
hange the value of
TRACE_MMAP_IOCTL_GET_READER a bit to avoid this collision.
Given that _IO('T', 0x1) is _IOC(_IOC_NONE, 'T', 0x1, 0),
something like _IOC(_IOC_NONE, 'T', 0x1, 0x1) should be OK.
Fixes: cf9f0f7c4c5bb ("tracing: Allow user-space mapping of t
On Tue, Jul 02, 2024 at 11:32:53AM -0400, Mathieu Desnoyers wrote:
[...]
> Note that user events also has this issue: the ioctl is not reserved in
> the ioctl-number.rst list. See include/uapi/linux/user_events.h:
>
> #define DIAG_IOC_MAGIC '*'
>
> /* Request to register a user_event */
> #define
On Tue, Jul 02, 2024 at 11:18:07AM -0400, Steven Rostedt wrote:
> On Tue, 2 Jul 2024 10:36:03 -0400
> Mathieu Desnoyers wrote:
>
> > > I can send a patch this week to update it. Or feel free to send a patch
> > > yourself.
> >
> > You need to reserve an unused ioctl Code and Seq# range within:
On Fri, Jul 12, 2024 at 03:52:27PM +0200, Jiri Olsa wrote:
> After discussing with Arnd [1] it's preferable to change uretprobe
> syscall number to 467 to omit the merge conflict with xattrat syscalls.
>
> Also changing the ABI to 'common' which will ease up the global
> scripts/syscall.tbl manage
Explicitly check show_devname method return code and bail out in case
of an error. This fixes regression introduced by commit 9d4d65748a5c.
Signed-off-by: Dmitry V. Levin
---
fs/proc_namespace.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c
e/asm/bootparam.h:148:2: error: unknown type name 'u8'
u8 cpu_ids[255];
Fixes: 4a362601baa6 ("x86/jailhouse: Add infrastructure for running in non-root
cell")
Cc: # v4.16
Signed-off-by: Dmitry V. Levin
---
arch/x86/include/uapi/asm/bootparam.h | 18 +-
1 file chan
ot;drm/amdkfd: Add support for user-mode trap handlers")
Cc: # v4.16
Signed-off-by: Dmitry V. Levin
---
include/uapi/linux/kfd_ioctl.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
index f4cab5b3
On Thu, Apr 05, 2018 at 09:25:26AM +0200, Jan Kiszka wrote:
> On 2018-04-05 06:32, Dmitry V. Levin wrote:
> > Consistently use types provided by to fix the following
> > asm/bootparam.h userspace compilation errors:
> >
> > /usr/include/asm/bootparam.h:140:2: er
but there seems to be no
mechanism to specify a dependency on an alias, so let's use this
soft dependency as a workaround.
Suggested-by: Alexey Gladkov
Fixes: a45403b51582 ("ext4: always initialize the crc32c checksum driver")
Cc: sta...@vger.kernel.org
Signed-off-by: Dmitry V. Levi
: Helge Deller
Cc: James E.J. Bottomley
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-par...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
This is just a gentle ping, the patch is unchanged.
Notes:
v7: unchanged
v6: unchanged
v5
: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linuxppc-...@lists.ozlabs.org
Signed-off-by: Dmitry V. Levin
---
This is just a gentle ping, the patch is unchanged.
Notes:
v7: unchanged
Signed-off-by: Dmitry V. Levin
---
This is just a gentle ping, the patch is unchanged.
arch/nds32/include/asm/syscall.h | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/arch/nds32/include/asm/syscall.h b/arch/nds32/include/asm/syscall.h
index f7
-by: Paul Burton
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Ralf Baechle
Cc: James Hogan
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: linux-m...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v10: unchanged
v9: unchanged
v8: unchanged
v7: added Acked-by
v6
: Richard Kuo
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: linux-hexa...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Richard, this patch is waiting for ACK since November.
Notes:
v10: unchanged
v9: unchanged
v8: moved syscall_get_arch
.
Reported-by: kbuild test robot
Fixes: 1932fbe36e02 ("nds32: System calls handling")
Acked-by: Greentime Hu
Cc: Vincent Chen
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Signed-off-by: Dmitry V. Levin
---
Notes:
v10: added Acked-by
v
-by: Helge Deller # parisc
Cc: James E.J. Bottomley
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: linux-par...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes:
v10: unchanged
v9: unchanged
v8: added Acked-by
v7: unchanged
el exceeds the size
specified by "addr" argument, the output is truncated.
Co-authored-by: Dmitry V. Levin
Reviewed-by: Oleg Nesterov
Reviewed-by: Kees Cook
Cc: Andy Lutomirski
Cc: Eugene Syromyatnikov
Cc: linux-...@vger.kernel.org
Cc: strace-de...@lists.strace.io
Signed-off
: Michael Ellerman
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: linuxppc-...@lists.ozlabs.org
Signed-off-by: Dmitry V. Levin
---
Michael, this patch is waiting for ACK since early December.
Notes:
v10
Check whether PTRACE_GET_SYSCALL_INFO semantics implemented in the kernel
matches userspace expectations.
Acked-by: Shuah Khan
Cc: Oleg Nesterov
Cc: Andy Lutomirski
Cc: Elvira Khabirova
Cc: Eugene Syromyatnikov
Cc: linux-kselft...@vger.kernel.org
Signed-off-by: Dmitry V. Levin
---
Notes
Hi,
On Tue, Apr 23, 2019 at 09:28:48PM +0200, Arnd Bergmann wrote:
> The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:
>
> Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/arnd/
On Tue, Mar 26, 2019 at 04:12:45PM +0100, Oleg Nesterov wrote:
> On 03/23, Thomas Gleixner wrote:
[...]
> > 2) syscall_set_arguments() has been introduced in 2008 and we still have
> > no caller. Instead of polishing it, can it be removed completely or are
> > there plans to actually use i
On Wed, Mar 27, 2019 at 03:29:16PM +0100, Thomas Gleixner wrote:
> On Wed, 27 Mar 2019, Dmitry V. Levin wrote:
> > On Tue, Mar 26, 2019 at 04:12:45PM +0100, Oleg Nesterov wrote:
> > > On 03/23, Thomas Gleixner wrote:
> > [...]
> > > > 2) syscall_set_arguments(
On Wed, Mar 27, 2019 at 11:52:19PM +0100, Thomas Gleixner wrote:
> On Thu, 28 Mar 2019, Dmitry V. Levin wrote:
> > On Wed, Mar 27, 2019 at 03:29:16PM +0100, Thomas Gleixner wrote:
> > > On Wed, 27 Mar 2019, Dmitry V. Levin wrote:
> > > > On Tue, Mar 26, 2019 at 0
101 - 200 of 456 matches
Mail list logo