Permalink
Commits on Sep 28, 2016
  1. Merge pull request #80 from sairon/master

    fix compilation on musl (or libc without __ptrace_request enum)
    committed on GitHub Sep 28, 2016
  2. fix compilation on musl (or libc without __ptrace_request enum)

    The compilation on musl fails because __ptrace_request enum does
    not exist. All the PTRACE_* constants from ptrace.h are simple
    defined integers. int is used instead of enum when PTRACE_TRACEME
    is defined in preprocessing.
    sairon committed Sep 28, 2016
Commits on Aug 31, 2016
  1. Merge pull request #78 from jwilk/spelling

    Fix typo in Makefile
    committed on GitHub Aug 31, 2016
  2. fix typo in Makefile

    jwilk committed Aug 31, 2016
Commits on Jun 22, 2016
  1. fix typo in reptyr.fr.1

    committed Jun 22, 2016
Commits on Apr 10, 2016
  1. Merge pull request #76 from antifuchs/use-pselect

    Use pselect to avoid a WINCH race
    committed Apr 10, 2016
  2. Use pselect to avoid a WINCH race

    This should allow us to completely sidestep the WINCH race alluded to in
    the (now removed) FIXME comment (it's a bit of a silly race, but
    eliminating FIXMEs with simple fixes seems reasonable).
    antifuchs committed Apr 9, 2016
Commits on Apr 9, 2016
  1. use a NULL timeout for select()

    This drops CPU usage substantially while idle.
    committed Apr 9, 2016
  2. change TODO wording somewhat

    committed Apr 9, 2016
Commits on Mar 24, 2016
  1. Merge pull request #74 from tor-wulf/master

    fix typo in comments (platform->amd64.h)
    committed Mar 24, 2016
Commits on Mar 12, 2016
  1. Merge pull request #34 from ralph/master

    add verbose usage instructions for linux n00bs (like me)
    committed Mar 12, 2016
  2. Merge pull request #73 from gnowxilef/master

    fix typo in error message
    committed Mar 12, 2016
Commits on Mar 11, 2016
  1. fix typo in error message

    gnowxilef committed Mar 11, 2016
Commits on Feb 2, 2016
  1. Merge pull request #72 from rakuco/freebsd-ptrace-null

    FreeBSD: Do not try to cast NULL to int.
    committed Feb 2, 2016
  2. FreeBSD: Do not try to cast NULL to int.

    Passing NULL to the data parameter in calls to ptrace(2) causes failures
    on 64-bit FreeBSD 9 installations, where GCC 4.2.1 complains like this:
    
    platform/freebsd/arch/x86_common.h: In function 'arch_get_register':
    platform/freebsd/arch/x86_common.h:48: warning: cast from pointer to integer of different size
    platform/freebsd/arch/x86_common.h: In function 'arch_set_register':
    platform/freebsd/arch/x86_common.h:57: warning: cast from pointer to integer of different size
    platform/freebsd/arch/x86_common.h:59: warning: cast from pointer to integer of different size
    platform/freebsd/freebsd_ptrace.c: In function 'ptrace_memcpy_to_child':
    platform/freebsd/freebsd_ptrace.c:267: warning: cast from pointer to integer of different size
    platform/freebsd/freebsd_ptrace.c: In function 'ptrace_memcpy_from_child':
    platform/freebsd/freebsd_ptrace.c:282: warning: cast from pointer to integer of different size
    
    Make ptrace_command pass 0 to _ptrace_command so that the final
    expansion looks like this:
      __ptrace_command((cld), (req), (void*)(addr), (int)(0))
    instead of
      __ptrace_command((cld), (req), (void*)(addr), (int)(((void*)0)))
    rakuco committed Feb 2, 2016
Commits on Jan 27, 2016
  1. Merge pull request #70 from nelhage/ifdef-ptracer

    Only PR_SET_PTRACER if it is defined.
    committed Jan 27, 2016
  2. Merge pull request #71 from nelhage/centos5

    Fix the build on CentOS 5.
    committed Jan 27, 2016
  3. Tests: Don't require `prctl`.

    committed Jan 27, 2016
  4. Fix the build on CentOS 5.

    See the comment for a detailed explanation.
    committed Jan 27, 2016
  5. Append externally-provided CFLAGS

    addresses #66
    committed Jan 27, 2016
  6. Also conditionalize `set_ptracer` in Python.

    committed Jan 27, 2016
Commits on Jan 26, 2016
  1. Only PR_SET_PTRACER if it is defined.

    committed Jan 26, 2016
Commits on Nov 5, 2015
  1. Merge pull request #65 from scop/py

    tty-steal test tweaks
    committed Nov 5, 2015
Commits on Sep 22, 2015
  1. Merge pull request #64 from nelhage/nelhage-uninit

    suppress a gcc unitialized-var warning
    committed Sep 22, 2015
Commits on Sep 21, 2015
  1. suppress a gdb unitialized-var warning

    The warning seems to be spurious. fixes #63
    committed Sep 21, 2015
Commits on Aug 15, 2015
Commits on Aug 5, 2015
  1. Merge pull request #61 from nelhage/preflight-check

    Perform a preflight attach before we make any changes.
    committed Aug 5, 2015
Commits on Aug 2, 2015
  1. Merge pull request #60 from nelhage/travis-container

    Switch to Travis containerized tests.
    committed Aug 2, 2015
  2. Tests: use PR_SET_PTRACER

    This enables tests to work even on hosts with yama ptrace_scope=1.
    committed Aug 2, 2015
  3. Perform a preflight attach before we make any changes.

    This ensures we actually have permission to ptrace the target before we
    do anything (like SIGSTOP) which might be potentially disruptive.
    committed Aug 2, 2015