commit | 50608a4098dee3799791761dcba4d4453f95e8d2 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Aug 26 21:32:53 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Aug 29 15:36:02 2016 +0000 |
tree | 578688f69bba492a06b6b6fca7cd4a9d23133b3f | |
parent | e7d3d645aeda3a8717f648dfe53c657075291b62 [diff] |
Do not use AC_HEADER_MAJOR, include <sys/sysmacros.h> unconditionally glibc, starting with commit glibc-2.24-28-gdbab657, has deprecated inclusion of <sys/sysmacros.h> by <sys/types.h>. The method used for deprecation breaks AC_HEADER_MAJOR: this autoconf macro no longer defines MAJOR_IN_SYSMACROS, which consequently breaks build. Let's assume that all systems supported by strace provide major, minor, and makedev macros via <sys/sysmacros.h>. * configure.ac (AC_HEADER_MAJOR): Remove. * mknod.c [MAJOR_IN_SYSMACROS, MAJOR_IN_MKDEV]: Remove. Include <sys/sysmacros.h> unconditionally. * print_struct_stat.c: Likewise. * tests/mknod.c: Likewise. * tests/mknodat.c: Likewise. * tests/xstatx.c: Likewise.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.