summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* Remove obsolete ioctlsort.cDmitry V. Levin2014-02-28
| | | | | | | | | | The generic version of ioctlsort.c became obsolete after commit v4.6-240-g5afdf12 that removed its last non-Linux users. * ioctlsort.c: Remove. * Makefile.am (EXTRA_DIST): Remove ioctlsort.c. Reported-by: Elliott Hughes <enh@google.com>
* Implement add_key, keyctl, and request_key decodingDmitry V. Levin2014-02-05
| | | | | | | | | | * keyctl.c: New file. * linux/keyctl.h: Likewise. * Makefile.am (strace_SOURCES): Add keyctl.c. (EXTRA_DIST): Add linux/keyctl.h. * linux/dummy.h (sys_add_key, sys_keyctl, sys_request_key): Remove. * linux/syscall.h (sys_add_key, sys_keyctl, sys_request_key): New prototypes.
* Implement ioprio_get and ioprio_set decodingDmitry V. Levin2014-02-05
| | | | | | | * ioprio.c: New file. * Makefile.am (strace_SOURCES): Add ioprio.c. * linux/dummy.h (sys_ioprio_get, sys_ioprio_set): Remove. * linux/syscall.h (sys_ioprio_get, sys_ioprio_set): New prototypes.
* Cleanup inotify syscalls decodingDmitry V. Levin2014-02-05
| | | | | | | | | | | * linux/inotify.h: New file. * file.c (inotify_modes, inotify_init_flags, sys_inotify_add_watch, sys_inotify_rm_watch, sys_inotify_init1): Move... * inotify.c: ... here. (inotify_modes): Rename to inotify_flags, convert to XLAT form. (inotify_init_flags): Convert to XLAT form. * Makefile.am (strace_SOURCES): Add inotify.c. (EXTRA_DIST): Add linux/inotify.h.
* Enhance reboot decodingDmitry V. Levin2014-02-05
| | | | | | | | | * linux/reboot.h: New file. * system.c (bootflags1, bootflags2, bootflags3, sys_reboot): Move... * reboot.c: ... here. (bootflags2, bootflags3): Update constants. * Makefile.am (strace_SOURCES): Add reboot.c. (EXTRA_DIST): Add linux/reboot.h.
* Implement kexec_load decodingDmitry V. Levin2014-02-05
| | | | | | | | | * kexec.c: New file. * linux/kexec.h: Likewise. * Makefile.am (strace_SOURCES): Add kexec.c. (EXTRA_DIST): Add linux/kexec.h. * linux/dummy.h (sys_kexec_load): Remove. * linux/syscall.h (sys_kexec_load): New prototype.
* Implement fanotify_init and fanotify_mark decodingDmitry V. Levin2014-02-05
| | | | | | | | | | | | | | * fanotify.c: New file. * linux/fanotify.h: Likewise. * Makefile.am (strace_SOURCES): Add fanotify.c. (EXTRA_DIST): Add linux/fanotify.h. * defs.h (print_dirfd): New prototype. * file.c (print_dirfd): Export. * linux/dummy.h (sys_fanotify_init, sys_fanotify_mark): Remove. * linux/syscall.h (sys_fanotify_init, sys_fanotify_mark): New prototypes. * pathtrace.c (pathtrace_match): Handle sys_fanotify_init and sys_fanotify_mark.
* Convert personality_options to XLAT formDmitry V. Levin2014-02-05
| | | | | | | * linux/personality.h: New file. * Makefile.am (EXTRA_DIST): Add it. * system.c: Include <linux/personality.h>. (personality_options): Update PER_* constants, convert to XLAT form.
* Decode ptp ioctlsStefan Sørensen2014-02-04
| | | | | | | | | | | | * defs.h (ptp_ioctl): New prototype. * ioctl.c (ioctl_decode): Call ptp_ioctl when code is '='. * Makefile.am (strace_SOURCES): Add ptp.c. (EXTRA_DIST): Add linux/ptp_clock.h. * ptp.c: New file. * linux/ptp_clock.h: New file. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* Move io_* syscalls decoding to a separate fileDmitry V. Levin2013-11-11
| | | | | | | * desc.c (sys_io_setup, sys_io_destroy, sys_io_submit, sys_io_cancel, sys_io_getevents, declarations from libaio.h): Move to ... * aio.c: new file. * Makefile.am (strace_SOURCES): Add aio.c.
* Add support for ARC Cores from SynopsysVineet Gupta2013-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Take #2 on mainlining strace support for ARC (last one was 4.6 based back in March 2011), see http://sourceforge.net/p/strace/mailman/message/27210168/ The syscall ABI is asm-generic/unistd.h based (so no legacy syscalls), hence very similar to metag port. test/* all seem to work well. * linux/arc/ioctlent.h.in: New file. * linux/arc/syscallent.h: Likewise. * Makefile.am (EXTRA_DIST): Add linux/arc/ioctlent.h.in and linux/arc/syscallent.h. * configure.ac: Add ARC to the list of supported architectures. * defs.h: Add ARC support. * process.c (struct_user_offsets): Likewise. * signal.c (sys_sigreturn): Likewise. * syscall.c (print_pc, get_regset, get_regs, get_scno, get_syscall_args, get_syscall_result, get_error): Likewise. * util.c (change_syscall): Likewise. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
* ioctlent: add UAPI supportv4.8Dmitry V. Levin2013-06-03
| | | | | | | | | * Makefile.am (IOCTLSORT_INCLUDEDIR): Define. (ioctlsort): Use it. * linux/ioctlent.sh (lookup_ioctls): Look into uapi directory tree. Strip "uapi/" prefix from output path names. * linux/ioctlent.h.in: Regenerate from v3.9 headers. * NEWS: Mention it.
* Fix "make dist" on recently added architecturesDmitry V. Levin2013-06-02
| | | | | | | | | | | * Makefile.am (EXTRA_DIST): Add linux/aarch64/errnoent1.h, linux/aarch64/ioctlent.h.in, linux/aarch64/ioctlent1.h, linux/aarch64/signalent1.h, linux/aarch64/syscallent.h, linux/aarch64/syscallent1.h, linux/metag/ioctlent.h.in, linux/metag/syscallent.h, linux/or1k/ioctlent.h.in, linux/or1k/syscallent.h, linux/tile/errnoent1.h, linux/tile/ioctlent1.h, linux/tile/signalent1.h, linux/tile/syscallent1.h, linux/ubi-user.h, linux/xtensa/ioctlent.h.in, and linux/xtensa/syscallent.h.
* Fix "make dist" regression introduced by commit v4.7-184-gd648f29Dmitry V. Levin2013-06-02
| | | | * Makefile.am (EXTRA_DIST): Add linux/ubi-user.h.
* Rename COPYRIGHT to COPYINGMike Frysinger2013-05-17
| | | | | | | | | | | | | The standard name people have adopted is "COPYING" rather than "COPYRIGHT". Use that as a lot of license scanning tools look for it. * COPYRIGHT: Rename to ... * COPYING: ... this. * Makefile.am (EXTRA_DIST): Rename COPYRIGHT to COPYING. * README: Likewise. * strace.spec (%files): Likewise. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Move subcall decoding configuration out of the common codeDmitry V. Levin2013-05-07
| | | | | | | | | | | | | | | | | | * Makefile.am (EXTRA_DIST): Add linux/subcall.h. * linux/syscall.h (SYS_socket_subcall): Remove. (SYS_socket_nsubcalls, SYS_ipc_subcall, SYS_ipc_nsubcalls): Move to ... * linux/subcall.h: ... new file. * linux/arm/syscallent.h: Define SYS_socket_subcall, include subcall.h. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. Suggested by Mike Frysinger and Chris Metcalf.
* mips: split syscallent.hDmitry V. Levin2013-05-07
| | | | | | | | | | | | linux/mips/syscallent.h consisted of several parts that had little in common. Split them into separate files to ease maintenance. * linux/mips/syscallent-compat.h: New file. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/mips/syscallent.h: Include them. * Makefile.am (EXTRA_DIST): Add them.
* build: introduce git-version-genDmitry V. Levin2013-04-30
| | | | | | | | | | | | | | * .gitignore: Add .version. * Makefile.am (EXTRA_DIST, BUILT_SOURCES): Add $(srcdir)/.version. Add rules to check NEWS, generate $(srcdir)/.version and $(distdir)/.tarball-version files. Change ChangeLog and CREDITS generation rules to depend on $(srcdir)/.version instead of $(srcdir)/.git/refs/heads/*. * NEWS: Add dates to recent releases. * configure.ac (AC_INIT): Use git-version-gen. (AM_INIT_AUTOMAKE): Remove check-news. * git-version-gen: Import from gnulib. * make-dist: Check NEWS.
* Makefile.am: sort long lists to ease maintenanceDmitry V. Levin2013-04-30
| | | | | * Makefile.am (strace_SOURCES, EXTRA_DIST): Sort, place one list element per line.
* build: fix "make dist" regression introduced by commit v4.7-105-g7270de5Dmitry V. Levin2013-04-30
| | | | | * Makefile.am (EXTRA_DIST): Remove linux/arm/syscallent1.h, linux/arm/signalent1.h, linux/arm/ioctlent1.h and linux/arm/errnoent1.h.
* build: fix "make dist" regression introduced by commit v4.7-29-g17e3860Dmitry V. Levin2013-04-30
| | | | * Makefile.am (EXTRA_DIST): Add linux/ioctlent-filter.awk.
* Makefile: add commented-out tweak to generate link mapDenys Vlasenko2013-03-06
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Filter out redundant "*32" ioctl entriesDmitry V. Levin2012-10-27
| | | | | | * linux/ioctlent-filter.awk: New file. * Makefile.am: Use it. * linux/ioctlent.h.in: Removed redundant "*32" entries.
* Decode /dev/loop ioctlsMike Frysinger2012-04-18
| | | | | | | | | | | | | | | Needed to debug some losetup failures, and it's easier when you can see what the kernel is getting vs what you think you're sending, so add some decoders for those ioctls. * loop.c: New file. * Makefile.am (strace_SOURCES): Add loop.c. * defs.h (loop_ioctl): New prototype. (string_quote): Likewise. * ioctl.c (ioctl_decode): Call loop_ioctl when code is 'L'. * util.c (string_quote): Remove static keyword. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* x32: add ia32 supportH.J. Lu2012-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (EXTRA_DIST): Add linux/x32/errnoent1.h, linux/x32/ioctlent1.h, linux/x32/signalent1.h and linux/x32/syscallent1.h. * configure.ac: Remove AC_GNU_SOURCE, obsoleted by AC_USE_SYSTEM_EXTENSIONS. * defs.h (SUPPORTED_PERSONALITIES): Set to 2 for X32. (PERSONALITY1_WORDSIZE): Set to 4 for X32. * file.c (stat64): New struct for X32. (sys_lseek32): New function for X32. (stat64): Undef. (sys_fstat64): Likewise. (sys_stat64): Likewise. (realprintstat64): New function for X32. (sys_fstat64): Likewise. (sys_stat64): Likewise. * mem.c (sys_old_mmap): New function for X32. * pathtrace.c (pathtrace_match): Also check sys_old_mmap for X32. * syscall.c (update_personality): Add X32 support. (get_scno): Support currpers == 1 for X32. * linux/syscall.h (sys_lseek32): New function prototype for X32. * linux/x32/errnoent1.h: New file. * linux/x32/ioctlent1.h: Likewise. * linux/x32/signalent1.h: Likewise. * linux/x32/syscallent1.h: Likewise.
* Add custom (faster) vfprintf implementation (disabled by default)Denys Vlasenko2012-04-16
| | | | | | | | | | * defs.h: Declare strace_vfprintf either as a alias to vfprintf or as a bona fide function. USE_CUSTOM_PRINTF define controls whether we use strace_vfprintf. By default, we don't. * strace.c (tprintf): Call strace_vfprintf instead of vfprintf. * vsprintf.c: New file, implements strace_vfprintf. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add x32 support to straceH.J. Lu2012-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X32 support is added to Linux kernel 3.4. In a nutshell, x32 is x86-64 with 32bit pointers. At system call level, x32 is also identical to x86-64, as shown by many changes like "defined(X86_64) || defined(X32)". The main differerence bewteen x32 and x86-64 is off_t in x32 is long long instead of long. This patch adds x32 support to strace. Tested on Linux/x32. * configure.ac: Support X32. * defs.h: Set SUPPORTED_PERSONALITIES to 3 for X86_64, Set PERSONALITY2_WORDSIZE to 4 for X86_64. Add tcb::ext_arg for X32. * file.c (stat): New for X32. (sys_lseek): Use 64-bit version for X32. (printstat64): Check current_personality != 1 for X86_64. * ipc.c (indirect_ipccall): Check current_personality == 1 for X86_64. * mem.c (sys_mmap64): Also use tcp->u_arg for X32. Print NULL for zero address. Call printllval for offset for X32. * pathtrace.c (pathtrace_match): Don't check sys_old_mmap for X32. * process.c (ARG_FLAGS): Defined for X32. (ARG_STACK): Likewise. (ARG_PTID): Likewise. (change_syscall): Handle X32. (struct_user_offsets): Support X32. (sys_arch_prctl): Likewise. * signal.c: Include <asm/sigcontext.h> for X32. (SA_RESTORER): Also define for X32. * syscall.c (update_personality): Support X32 for X86_64. (is_restart_error): Likewise. (syscall_fixup_on_sysenter): Likewise. (get_syscall_args): Likewise. (get_syscall_result): Likewise. (get_error): Likewise. (__X32_SYSCALL_BIT): Define if not defined. (__X32_SYSCALL_MASK): Likewise. (get_scno): Check DS register value for X32. Use __X32_SYSCALL_MASK on X32 system calls. * util.c (printllval): Use ext_arg for X32. (printcall): Support X32. (change_syscall): Likewise. (arg0_offset): Likewise. (arg1_offset): Likewise. * Makefile.am (EXTRA_DIST): Add linux/x32/errnoent.h, linux/x32/ioctlent.h.in, linux/x32/signalent.h, linux/x32/syscallent.h, linux/x86_64/errnoent2.h, linux/x86_64/ioctlent2.h, linux/x86_64/signalent2.h and linux/x86_64/syscallent2.h. * linux/x32/errnoent.h: New. * linux/x32/ioctlent.h.in: Likewise. * linux/x32/signalent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/errnoent2.h: Likewise. * linux/x86_64/ioctlent2.h: Likewise. * linux/x86_64/signalent2.h: Likewise. * linux/x86_64/syscallent2.h: Likewise. Signed-off-by: H.J. Lu <hongjiu.lu@intel.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Decode mtd ioctlsMike Frysinger2012-04-06
| | | | | | | | | | | | | | | | I got tired of figuring out mtd structures (which show up a lot in the embedded space), so add decoders for those ioctls. * defs.h (mtd_ioctl): New prototype. (print_loff_t): Likewise. * io.c (print_loff_t): Delete static keyword * ioctl.c (ioctl_decode): Call mtd_ioctl when code is 'M'. * Makefile.am (strace_SOURCES): Add mtd.c. (EXTRA_DIST): Add linux/mtd-abi.h. * mtd.c: New file. * linux/mtd-abi.h: New file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Makefile.am: whitespace fixDenys Vlasenko2012-03-29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* install strace-log-merge by "make install"Denys Vlasenko2012-03-09
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Remove parts of automake machinery which are not needed on LinuxDmitry V. Levin2012-02-25
| | | | | | | | | | | | | | | This change is a verbatim part of Dmitry's changes to remove support for non-Linux architectures. * Makefile.am: Don't install PORTING file. Install README-linux-ptrace file. Set OS variable to linux unconditionally. * configure.ac: Remove code to set opsys variable, and its usage. Remove checks for headers which are never present on Linux. * m4/stat.m4: Remove 'ifdef LINUX' check. * m4/statfs.m4: Likewise. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Remove a few more code parts which are unused on LinuxDenys Vlasenko2012-02-25
| | | | | | | | | | | | | | | | | This change is abapted from Dmitry's changes to remove support for non-Linux architectures. * Makefile.am: Remove if LINUX/endif pairs. * defs.h: Remove stream_ioctl() declaration. * ioctl.c (ioctl_decode): Remove 'ifdef HAVE_SYS_STREAM_H' block. * resource.c: Use 'defined(FOO)' instead of 'defined FOO' form. * util.c: Likewise. * signal.c: Remove conditional includes which are never used on Linux. * stream.c: Likewise. * file.c: Remove excessive empty lines. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Build fixes after non-Linux code removalDenys Vlasenko2012-02-25
| | | | | | | | | | | | | | * configure.ac: Remove calls to proc-based ptrace checks. * proc.c: Remove, it's empty now. * Makefile.am: Remove reference to proc.c. * net.c: Remove trailing newlines. * quota.c: Likewise * resource.c: Likewise * strace.c: Likewise * stream.c: Likewise * time.c: Likewise Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Manual removal of non-Linux source, documentation, etc.Denys Vlasenko2012-02-25
| | | | | | | | | | | | | | | | Remove non-Linux source directories: freebsd/, svr4/, sunos4/, svr4/. Remove README-freebsd, README-sunos4, README-svr4, m4/procfs.m4. linux/sparc/{errnoent1,ioctlent1,signalent1}.h used to point to svr4/ files - replace their contents with copies of used (and now deleted) files. Make linux/sparc64/{errnoent1,ioctlent1,signalent1}.h include these files instead of svr4/* ones. Makefile.am: remove references to deleted files. configure.ac: Remove a few tests which make no sense on Linux. Man page: remove non-Linux quirks information. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gitlog-to-changelog: update from gnulibDmitry V. Levin2011-11-05
| | | | | * gitlog-to-changelog: Update from gnulib. * Makefile.am: Add --append-dot to gitlog-to-changelog invocation.
* Add ability to print file descriptor paths and filter by those pathsGrant Edwards2011-04-08
| | | | | | | | | | | | | | | | | * pathtrace.c: New file, implements matching syscall arguments to user-specified file paths. * Makefile.am (strace_SOURCES): Add pathtrace.c. * defs.h (TCB_FILTERED, filtered): New defines. (getfdpath, pathtrace_select, pathtrace_match, show_fd_path, tracing_paths): New declarations. * strace.c (show_fd_path, tracing_paths): New global variables. (usage, main): Implement handling of -y and -P options. * strace.1: Add descriptions of -y and -P options. * syscall.c (trace_syscall_entering): Add path matching logic to the print/noprint decision and set the TCB_FILTERED bit appropriately. (trace_syscall_exiting): Use filtered() macro that checks the TCB_FILTERED bit to determine print/noprint status. * util.c (printfd): Use getfdpath().
* linux/ioctlent: unify them allMike Frysinger2011-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This unifies all the ioctlent.h's in the linux subdir while still allowing each arch to maintain its own minor list. The basic method is: - each arch has linux/<arch>/ioctlent.h.in which defines only the arch-specific ioctls; - linux/ioctlent.h.in which defines only the common ioctls; - at build time, these two headers are combined and sorted to produce the linux/ioctlent.h file. This also requires a little tweaking of the include files since the common ioctlent.h is a built file. * linux/ioctlent.h: Split into linux/ioctlent.h.in and linux/i386/ioctlent.h.in, remove asm entries from the former, remove non-asm entries from the latter. * linux/alpha/ioctlent.h: Rename to linux/alpha/ioctlent.h.in, remove non-asm entries. * linux/bfin/ioctlent.h: Rename to linux/bfin/ioctlent.h.in, remove non-asm entries. * linux/hppa/ioctlent.h: Rename to linux/hppa/ioctlent.h.in, remove non-asm entries. * linux/ia64/ioctlent.h: Rename to linux/ia64/ioctlent.h.in, remove non-asm entries. * linux/mips/ioctlent.h: Rename to linux/mips/ioctlent.h.in, remove non-asm entries. * linux/powerpc/ioctlent.h: Rename to linux/powerpc/ioctlent.h.in, remove non-asm entries. * linux/s390/ioctlent.h: Rename to linux/s390/ioctlent.h.in, remove non-asm entries. * linux/sh/ioctlent.h: Rename to linux/sh/ioctlent.h.in, remove non-asm entries. * linux/sparc/ioctlent.h: Rename to linux/sparc/ioctlent.h.in, remove non-asm entries. * linux/arm/ioctlent.h.in: New file. * linux/avr32/ioctlent.h.in: Likewise. * linux/i386/ioctlent.h.in: Likewise. * linux/m68k/ioctlent.h.in: Likewise. * linux/microblaze/ioctlent.h.in: Likewise. * linux/tile/ioctlent.h.in: Likewise. * linux/x86_64/ioctlent.h.in: Likewise. * linux/s390x/ioctlent.h.in: Include ioctlent.h.in instead of ioctlent.h. * linux/sh64/ioctlent.h.in: Likewise. * linux/sparc64/ioctlent.h.in: Likewise. * linux/arm/ioctlent1.h: Update ioctlent.h include. * linux/powerpc/ioctlent1.h: Likewise. * linux/sparc/ioctlent1.h: Likewise. * linux/sparc64/ioctlent1.h: Likewise. * linux/x86_64/ioctlent1.h: Likewise. * Makefile.am (AM_CPPFLAGS): Add -I$(builddir)/$(OS). (EXTRA_DIST): Update. [MAINTAINER_MODE && LINUX]: Convert from ioctlent_h to ioctlent_h_in. [LINUX]: Add $(builddir)/$(OS)/ioctlent.h generation rules. * .gitignore: Add linux/ioctlent.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Take all git branches into account for generation of CREDITS fileSebastian Pipping2011-03-05
| | | | * Makefile.am: Make CREDITS target depend on all git branches.
* Generate an xz tar archive of the distributionDmitry V. Levin2011-02-27
| | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Replace dist-bzip2 with dist-xz. * Makefile.am: Update srpm target. * make-dist: Update for dist-xz. * strace.spec: Update Source tag. * debian/watch: Update regexp. * .gitignore: Add strace-*.tar.xz.
* Implement two basic "strace -f" testsDmitry V. Levin2011-02-27
| | | | | | | | | | * Makefile.am (SUBDIRS): Add tests. * configure.ac (AC_CONFIG_FILES): Add tests/Makefile. * tests/.gitignore: New file. * tests/Makefile.am: Likewise. * tests/init.sh: Likewise. * tests/ptrace_setoptions: Likewise. * tests/strace-f: Likewise.
* Generate much of the CREDITS file from git logDmitry V. Levin2011-02-24
| | | | | | | | | | * CREDITS.in: New file, derived from CREDITS, without names of those who are listed as git log 'Author:'s. * CREDITS: Remove file. * Makefile.am [MAINTAINER_MODE] (CREDITS): New rule. * .gitignore: Add CREDITS. * .mailmap: New file, required to map git author names and email addresses to canonical/preferred form.
* Update the list of files that must be distributedDmitry V. Levin2011-02-23
| | | | | | | * Makefile.am (EXTRA_DIST): Add debian/source/format, debian/watch, linux/ia64/signalent.h, linux/powerpc/ioctlent1.h, linux/powerpc/syscallent1.h, linux/powerpc/errnoent1.h, linux/powerpc/signalent1.h.
* linux/sparc: move to common syscall.hMike Frysinger2011-02-19
| | | | | | | | | | | | Rather than constantly deal with the sparc/syscall.h going stale, merge the few sparc-specific pieces into the linux/syscall.h header. * linux/syscall.h: Add sparc-specific pieces from sparc/syscall.h. * Makefile.am (EXTRA_DIST): Remove linux/sparc/syscall.h and linux/sparc64/syscall.h. * linux/sparc/syscall.h, linux/sparc64/syscall.h: Deleted. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sparc: punt unused syscall.h.2Mike Frysinger2011-02-19
| | | | | | | | | | I can't find any mention of this header actually being used. Seems to be a really old copy of the common syscall.h. * Makefile.am (EXTRA_DIST): Remove linux/sparc/syscall.h.2. * linux/sparc/syscall.h.2: Deleted. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add block ioctl supportDmitry V. Levin2011-01-15
| | | | | | | | | * block.c: New file. * Makefile.am (strace_SOURCES): Add it. * defs.h [LINUX] (block_ioctl): New function. * ioctl.c (ioctl_decode) [LINUX]: Use it to decode HDIO_* and BLK* ioctls. Patch by Jeff Mahoney <jeffm@suse.com>
* Import warnings.m4 from gnulibDmitry V. Levin2010-09-09
| | | | | | * m4/warnings.m4: Replace with warnings.m4 from gnulib. * configure.ac: Use gl_WARN_ADD from new warnings.m4. * Makefile.am (AM_CFLAGS): Update for new warnings.m4.
* Split acinclude.m4Dmitry V. Levin2010-09-09
| | | | | | | | | | | | | | | | * Makefile.am (ACLOCAL_AMFLAGS): Add "-I m4". * acinclude.m4: Remove. * m4/includedir.m4: New file, with definition of AC_INCLUDEDIR from acinclude.m4. * m4/long_long.m4: New file, with definitions of AC_OFF_T_IS_LONG_LONG, AC_RLIM_T_IS_LONG_LONG and AC_LITTLE_ENDIAN_LONG_LONG from acinclude.m4. * m4/procfs.m4: New file, with definitions of AC_MP_PROCFS, AC_POLLABLE_PROCFS and AC_STRUCT_PR_SYSCALL from acinclude.m4. * m4/stat.m4: New file, with definition of AC_STAT64 from acinclude.m4. * m4/statfs.m4: New file, with definition of AC_STATFS64 from acinclude.m4. * m4/warnings.m4: New file, with definition of AC_WARNFLAGS from acinclude.m4.
* Add support for the MicroBlaze architectureEdgar E. Iglesias2010-08-05
| | | | | | | | | | | | | | * configure.ac: Recognize MicroBlaze. * linux/microblaze/syscallent.h: New file. * Makefile.am (EXTRA_DIST): Add linux/microblaze/syscallent.h * process.c (change_syscall, struct_user_offsets): Add MicroBlaze support. * signal.c (sys_sigreturn): Likewise. * syscall.c (internal_syscall, get_scno, syscall_fixup, get_error, syscall_enter): Likewise. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* Fix "make dist" regression introduced by commit v4.5.19-12-g5078770Dmitry V. Levin2010-04-07
| | | | * Makefile.am (EXTRA_DIST): Rename linux/syscallent.h to linux/i386/syscallent.h
* Add support for the TILE architectureChris Metcalf2010-02-05
| | | | | | | | | | | | | | | * configure.ac: Add TILE to the list of supported architectures. * defs.h: Define TCB_WAITEXECVE for TILE. * linux/tile/syscallent.h: New file. * Makefile.am (EXTRA_DIST): Add linux/tile/syscallent.h * process.c (change_syscall, struct_user_offsets): Add TILE support. * syscall.c (get_scno, get_error, syscall_enter): Likewise. * mem.c (mmap_flags, print_mmap): Add MAP_CACHE_xxx TILE extensions support. * signal.c (sigact_flags): Add SA_NOPTRACE. (sys_sigreturn): Add TILE support. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>