Mike Frysinger ba10a421b8 Support C libraries without System V shared memory/ipc
Some systems (like Bionic) omit support for SysV related code.  That
means no C library headers for strace to include.  Add configure tests
to probe the headers from the kernel and use them when they are
available.

It might make more sense to never rely on the C library's headers as
there is no guarantee or requirement that the structure layout between
apps and the C library match that what is passed to the kernel.

* configure.ac (AC_CHECK_HEADERS): Check for linux/ipc.h,
linux/mqueue.h, linux/msg.h, linux/sem.h, linux/shm.h,
sys/ipc.h, sys/msg.h, sys/sem.h, and sys/shm.h.
* ipc_defs.h: Include <sys/ipc.h> or <linux/ipc.h> depending
on what is available.
* ipc_msg.c: Replace <sys/ipc.h> with "ipc_defs.h".
Fallback to <linux/msg.h> when available.
* ipc_msgctl.c: Include <sys/msg.h>, <asm/msgbuf.h>, or <linux/msg.h>
based on what is available.  Note missing support for old ipc structs.
* ipc_sem.c: Include <sys/sem.h> or <linux/sem.h> depending
on what is available.  Only decode sembuf when available.
* ipc_shm.c: Fallback to <linux/shm.h> when available.
* ipc_shmctl.c: Include <sys/shm.h>, <asm/shmbuf.h>, or <linux/shm.h>
based on what is available.  Note missing support for old ipc structs.
* print_mq_attr.c: Fallback to <linux/mqueue.h> when available.
2015-11-26 01:36:58 +00:00
2015-04-14 17:22:54 +00:00
2012-05-01 21:51:38 +00:00
2015-07-20 22:03:07 +00:00
2015-11-24 02:30:45 +00:00
2015-08-18 16:15:33 +00:00
2015-07-27 15:27:43 +00:00
2009-07-08 21:01:21 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2013-05-17 23:18:55 +00:00
2015-05-25 22:25:22 +00:00
2015-11-25 19:10:56 +00:00
2015-08-28 08:46:23 +00:00
2015-08-02 00:10:52 +00:00
2015-07-09 01:43:44 +00:00
2015-08-01 22:23:58 +00:00
2015-07-27 15:27:43 +00:00
2015-07-20 22:03:07 +00:00
2015-10-09 02:18:27 +00:00
2014-05-30 21:40:03 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2012-02-25 15:29:21 +01:00
2015-11-22 23:10:12 +00:00
2015-11-22 23:10:12 +00:00
2015-07-20 22:03:06 +00:00
2015-11-22 23:10:12 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-07-09 02:04:34 +00:00
2015-07-20 01:42:01 +00:00
2014-05-30 21:31:08 +00:00
2015-11-17 00:40:22 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-08-28 08:46:23 +00:00
2015-08-28 08:46:23 +00:00
2015-08-28 08:46:23 +00:00
2015-09-16 00:14:55 +00:00
2015-03-09 22:05:40 +00:00
2015-08-18 16:15:33 +00:00
2015-09-16 00:14:55 +00:00
2015-07-10 22:54:29 +00:00
2015-09-14 14:42:28 +00:00
2015-07-18 00:01:40 +00:00
2015-07-18 00:01:40 +00:00
2013-05-17 23:18:55 +00:00
2015-09-16 00:14:55 +00:00
2015-07-18 00:01:40 +00:00
2015-09-16 00:14:55 +00:00
2015-08-18 16:15:33 +00:00
2015-07-18 00:01:39 +00:00
2015-08-03 09:57:14 +00:00
2015-03-02 23:39:41 +00:00
2015-07-16 23:44:57 +00:00
2015-07-16 23:44:57 +00:00
2015-11-18 23:18:17 +00:00
2015-08-28 08:46:23 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 22:58:12 +00:00
2015-07-13 20:16:24 +00:00
2015-08-28 08:46:23 +00:00
2015-07-16 01:36:55 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 01:36:55 +00:00
2015-11-16 03:08:41 +00:00
2015-08-28 08:46:23 +00:00
2015-09-16 00:14:55 +00:00
2015-07-14 23:38:58 +00:00
2015-05-25 22:25:22 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYING for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.
Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%