Dmitry V. Levin 78ed3f3558 alpha, ia64, sh, sparc, sparc64: fix pipe and pipe2 syscalls decoding
Fix pipe syscall decoding on alpha.
Fix pipe2 syscall decoding on ia64, sh, sparc, and sparc64.

* configure.ac (AC_CHECK_FUNCS): Add pipe2.
* defs.h [ALPHA || IA64 || SH || SPARC || SPARC64] (HAVE_GETRVAL2):
Define.
* net.c (do_pipe): Check HAVE_GETRVAL2 instead of architecture macros.
Do not use getrval2 for pipe2 decoding.
Print address if umove call fails.
* syscall.c (getrval2): Check HAVE_GETRVAL2 instead of architecture
macros.  Implement for [ALPHA].
* tests/pipe.c: New file.
* tests/pipe.expected: New file.
* tests/pipe.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add pipe.
(TESTS): Add pipe.test.
(EXTRA_DIST): Add pipe.expected.
* tests/.gitignore: Add pipe.
2015-03-23 03:16:51 +00:00
..
2015-03-18 22:41:17 +00:00
2015-03-18 22:41:17 +00:00
2015-02-23 22:26:06 +00:00
2015-03-18 22:41:17 +00:00
2015-03-16 14:26:58 +01:00
2015-03-16 14:26:58 +01:00
2015-03-18 22:41:17 +00:00
2015-01-13 00:33:56 +00:00
2015-01-13 00:33:56 +00:00
2015-03-03 01:13:10 +00:00
2013-06-18 17:07:37 +00:00
2015-01-26 19:05:40 +00:00
2015-03-18 22:41:17 +00:00
2015-03-05 05:42:30 +00:00
2014-06-18 15:18:47 +00:00
2014-06-18 15:18:47 +00:00
2014-06-18 15:18:47 +00:00
2014-06-18 15:18:47 +00:00
2014-06-18 15:18:47 +00:00
2015-01-13 00:33:56 +00:00