Victor Krapivensky's GSoC status report - #11 of 13

2017-08-16 Thread Victor Krapivensky
Hello, strace community! Project: advanced syscall tampering and filtering with Lua/LuaJIT. Accomplishments: this week, I've addressed the problems in my code pointed out by Eugene. Next week, I'm going to write up a NEWS entry; add more examples to the man page; and work on merging my code. --

Re: Unable to use strace in embedded mips system

2017-08-16 Thread Dmitry V. Levin
On Wed, Aug 16, 2017 at 05:15:21PM +, Davide Palma wrote: > Uclinux uses uclibc. Is strace supposed to work with it? strace is supposed to work with uclibc if the latter works properly. -- ldv signature.asc Description: PGP signature ---

Re: Unable to use strace in embedded mips system

2017-08-16 Thread Davide Palma
Uclinux uses uclibc. Is strace supposed to work with it? On Mer 16 Ago 2017, 17:45 Dmitry V. Levin wrote: > On Wed, Aug 16, 2017 at 01:37:37PM +, Davide Palma wrote: > > Hello, > > I'm trying to strace an application directly in a real embedded MIPS32 > > chipset that runs uclinux. > > > > T

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread David Miller
From: Anatoly Pugachev Date: Wed, 16 Aug 2017 11:42:43 +0300 > On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: >> From: Anatoly Pugachev >> Date: Tue, 15 Aug 2017 21:50:45 +0300 >> >>> Together with Dmitry (ldv) , we've discovered that running test suite >>> from strace produces kernel OOP

Re: [PATCH 15/27] tests: check decoding of NETLINK_ROUTE ifinfomsg netlink attribute

2017-08-16 Thread JingPiao Chen
On Wed, Aug 16, 2017 at 08:55:13AM +0300, Dmitry V. Levin wrote: > On Tue, Aug 15, 2017 at 12:41:23PM +0800, JingPiao Chen wrote: > > * tests/nlattr_ifinfomsg.c: New file. > > * tests/gen_tests.in (nlattr_ifinfomsg): New entry. > > * tests/pure_executables.list: Add nlattr_ifinfomsg. > > * tests/.g

Re: Unable to use strace in embedded mips system

2017-08-16 Thread Dmitry V. Levin
On Wed, Aug 16, 2017 at 01:37:37PM +, Davide Palma wrote: > Hello, > I'm trying to strace an application directly in a real embedded MIPS32 > chipset that runs uclinux. > > This is the toolchain I used to compile strace: > david@devuan:~$ mipsel-buildroot-linux-uclibc-gcc -v > Using built-in s

Re: Unable to use strace in embedded mips system

2017-08-16 Thread Eugene Syromyatnikov
On Wed, Aug 16, 2017 at 1:37 PM, Davide Palma wrote: > What do you suggest me to do? What is the kernel version? -- Eugene Syromyatnikov mailto:evg...@gmail.com xmpp:esyr@jabber.{ru|org} -- Check out the vibrant tech co

Unable to use strace in embedded mips system

2017-08-16 Thread Davide Palma
Hello, I'm trying to strace an application directly in a real embedded MIPS32 chipset that runs uclinux. This is the toolchain I used to compile strace: david@devuan:~$ mipsel-buildroot-linux-uclibc-gcc -v Using built-in specs. COLLECT_GCC=/home/david/Downloads/buildroot-2017.05.2/output/host/usr/

Re: [PATCH v7 05/18] netlink: introduce nla_decoder_t to parse netlink attribute data

2017-08-16 Thread JingPiao Chen
On Wed, Aug 16, 2017 at 08:49:31AM +0300, Dmitry V. Levin wrote: > On Wed, Jun 28, 2017 at 09:40:00AM +0800, JingPiao Chen wrote: > > * nlattr.h (nla_decoder_t): New typedef. > > (DECL_NLA): New macro. > > (decode_nlattr): Add decoders, size and opaque_data argument. > > * nlattr.c: (decode_nlattr_

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread Anatoly Pugachev
On Wed, Aug 16, 2017 at 11:42 AM, Anatoly Pugachev wrote: > On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: >> From: Anatoly Pugachev >> Date: Tue, 15 Aug 2017 21:50:45 +0300 >> >>> Together with Dmitry (ldv) , we've discovered that running test suite >>> from strace produces kernel OOPS, w

Re: JingPiao Chen's GSoC status report - #11 of 13

2017-08-16 Thread Dmitry V. Levin
On Tue, Aug 15, 2017 at 08:43:10PM +0800, JingPiao Chen wrote: > Hello, strace community! > > Project: Netlink socket parsers. > > Accoplisment: > Fixed NETLINK_ROUTE decode. Small changes of Work Product Submission [1]. > > Next week, I will send NETLINK_ROUTE attribute decode to mailing list,

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread Anatoly Pugachev
On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: > From: Anatoly Pugachev > Date: Tue, 15 Aug 2017 21:50:45 +0300 > >> Together with Dmitry (ldv) , we've discovered that running test suite >> from strace produces kernel OOPS, when kernel is compiled with gcc 7.1 >> or with gcc 7.2 , but not w