[PATCH v3 2/2] tests: Workaroud for buggy glibc in ipc_msg test on ppc64

2016-09-12 Thread Eugene Syromyatnikov
glibc before 2.23 (glibc-2.22-122-gbe48165? to be more precise) tried to access data pointed by third argument of msgctl call on 64-bit PowerPC which led to segmentataion fault (instead of EFAULT from kernel). * tests/ipc_msg.c (BROKEN_GLIBC): new macro. (main): test for incorrect third argument

[PATCH v3 1/2] tests: Additional IPC checks

2016-09-12 Thread Eugene Syromyatnikov
* tests/ipc_msg.c: Additional msgget (parameter format), msgctl (parameter format, decoding of struct msqid_ds in IPC_SET/IPC_STAT commands) checks. * tests/ipc_sem.c: Additional semget, semctl checks. * tests/ipc_shm.c: Additional shmget, shmctl checks. * tests/semop.c: Additional semop checks

[PATCH v3 0/2] Aditional checks for IPC tests

2016-09-12 Thread Eugene Syromyatnikov
Changes since v2: * Workaround for musl which sets size argument in shmget call to SIZE_MAX if it is greater than PTRDIFF_MAX. * Fix pattern for indirect semctl call. * Added workaround for broken msgctl call with faulty pointer in third argument on PPC64. Eugene Syromyatnikov (2): test

Re: [PATCH] Re: your dm patch for strace

2016-09-12 Thread Dmitry V. Levin
On Thu, Aug 25, 2016 at 08:27:21AM -0400, Mikulas Patocka wrote: > On Wed, 24 Aug 2016, Masatake YAMATO wrote: > > > >> Are you talking about > > >> https://sourceforge.net/p/strace/mailman/message/34370586/ ? > > > > > > Yes. > > > > > >> The thread has apparently died without any follow-up fr

Re: [PATCH] maint: update for linux 4.8

2016-09-12 Thread Dmitry V. Levin
On Mon, Sep 12, 2016 at 04:29:38PM +0300, Gleb Fotengauer-Malinovskiy wrote: > * maint/ioctls_sym.sh: Add workarounds for linux/atm_zatm.h and > xen/evtchn.h files. On Mon, Sep 12, 2016 at 04:30:18PM +0300, Gleb Fotengauer-Malinovskiy wrote: > * linux/x32/ioctls_inc0.h: Update from linux v4.8 using

Re: [PATCH v2 0/9] Minor tests tweaks pt. 2 + Additional checks for IPC tests

2016-09-12 Thread Dmitry V. Levin
On Thu, Sep 08, 2016 at 05:05:04PM +0300, Eugene Syromyatnikov wrote: > Changes since v1: > * Commits "tests: Additional IPC checks" and "tests: Additional shmget > decoder >checks" have been merged. > * Added fix for key_t printing. > * Commits in tests now after commits in sources. > * S

[PATCH] x32: update ioctl entries from linux 4.8

2016-09-12 Thread Gleb Fotengauer-Malinovskiy
* linux/x32/ioctls_inc0.h: Update from linux v4.8 using ioctls_gen.sh. --- linux/x32/ioctls_inc0.h | 78 + 1 file changed, 46 insertions(+), 32 deletions(-) diff --git a/linux/x32/ioctls_inc0.h b/linux/x32/ioctls_inc0.h index 0c36e25..f41bd6e 100644

[PATCH] maint: update for linux 4.8

2016-09-12 Thread Gleb Fotengauer-Malinovskiy
* maint/ioctls_sym.sh: Add workarounds for linux/atm_zatm.h and xen/evtchn.h files. --- maint/ioctls_sym.sh | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh index 20b1730..7a67339 100755 --- a/maint/ioctls_sym.sh +++ b/main