[PATCH v2] Fix crash in ipc_sem test

2015-03-16 Thread Andreas Schwab
Properly use union semun as argument of semctl. * tests/ipc_sem.c (main): Properly use union semun as argument of semctl. Don't handle EFAULT specially. * tests/ipc_sem.test: Revert last change. --- tests/ipc_sem.c| 24 tests/ipc_sem.test | 19 --- 2

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-16 Thread Dmitry V. Levin
On Mon, Mar 16, 2015 at 12:06:12PM +0100, Andreas Schwab wrote: > Properly use union semun as argument of semctl. > > * tests/ipc_sem.c (main): Properly use union semun as argument of > semctl. Don't handle EFAULT specially. > * tests/ipc_sem.test: Revert last change. OK, please commit. -- ld

[PATCH] tests/ipc_*: match IPC_64 flag

2015-03-16 Thread Andreas Schwab
* ipc_msg.c (main): Optionally match "IPC_64|" in the third argument of the ipc call. * ipc_sem.c (main): Likewise. * ipc_shm.c (main): Likewise. --- tests/ipc_msg.c | 10 +- tests/ipc_sem.c | 10 +- tests/ipc_shm.c | 10 +- 3 files changed, 15 insertions(+), 15 deletions(-

Re: [PATCH] tests/ipc_*: match IPC_64 flag

2015-03-16 Thread Dmitry V. Levin
On Mon, Mar 16, 2015 at 12:23:16PM +0100, Andreas Schwab wrote: > * ipc_msg.c (main): Optionally match "IPC_64|" in the third > argument of the ipc call. > * ipc_sem.c (main): Likewise. > * ipc_shm.c (main): Likewise. OK, please commit. -- ldv pgpeacDM_T_7f.pgp Description: PGP signature

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-16 Thread Andreas Schwab
"Dmitry V. Levin" writes: > On Thu, Mar 12, 2015 at 11:13:49AM +0100, Andreas Schwab wrote: >> "Dmitry V. Levin" >> writes: >> > On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote: >> >> On architectures where the semctl call is implemented by the ipc syscall >> >> the glibc wrapper

Re: FAIL: stat64-v.test

2015-03-16 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 08:58:31PM +0300, Dmitry V. Levin wrote: > On Thu, Mar 12, 2015 at 11:25:47AM +0100, Andreas Schwab wrote: > > stat64-v.test fails for tests-m32 on x86_64, because stat64 has unsigned > > int st_?time, but time_t is signed. > > I'm inclined to think that the test is right a

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-16 Thread Dmitry V. Levin
On Mon, Mar 16, 2015 at 03:10:56PM +0100, Andreas Schwab wrote: > "Dmitry V. Levin" writes: > > On Thu, Mar 12, 2015 at 11:13:49AM +0100, Andreas Schwab wrote: > >> "Dmitry V. Levin" > >> > >> writes: > >> > On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote: > >> >> On architecture

[PATCH] tests: verify that all patterns match.

2015-03-16 Thread Andreas Schwab
* tests/ipc_msg.test: Count matches to verify that all patterns match. * tests/ipc_sem.test: Likewise. * tests/ipc_shm.test: Likewise. * tests/stat32-v.test: Likewise. * tests/stat64-v.test: Likewise. --- tests/ipc_msg.test | 6 -- tests/ipc_sem.test | 4 +++- tests/ipc_shm.test | 6 --

Re: [PATCH] tests: verify that all patterns match.

2015-03-16 Thread Dmitry V. Levin
On Mon, Mar 16, 2015 at 04:02:06PM +0100, Andreas Schwab wrote: > * tests/ipc_msg.test: Count matches to verify that all patterns match. > * tests/ipc_sem.test: Likewise. > * tests/ipc_shm.test: Likewise. > * tests/stat32-v.test: Likewise. > * tests/stat64-v.test: Likewise. We do not use a period

Re: FAIL: stat64-v.test

2015-03-16 Thread Dmitry V. Levin
On Thu, Mar 12, 2015 at 04:33:46PM +0100, Andreas Schwab wrote: > The stat64-v test fails on aarch64 because it cannot cope with > newfstatat yet. > > newfstatat(AT_FDCWD, "stat64_sample", {st_dev=makedev(0, 40), > st_ino=54269917, st_mode=S_IFREG|0644, st_nlink=1, st_uid=17005, st_gid=50, > st_

Re: Fix for building against musl

2015-03-16 Thread Felix Janda
is for example needed for _IOC_SIZE(). That is likely also the reason why ioctl.c includes it. Felix -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership

[GSOC 2015]

2015-03-16 Thread Andreea Bernat
Hello, My name is Andreea-Cristina Bernat and I am a fourth year student at the faculty of Computer Science and Engineering from Politehnica University of Bucharest, Romania. I intend to apply for GSOC 2015 and I find strace a very interesting project. I am interested in working on "Comprehensive