Skip to content
Commits on Jan 25, 2011
  1. @nelhage
Commits on Jan 24, 2011
  1. @nelhage

    Define some ptrace constants on platforms where ptrace.h is missing t…

    nelhage committed
    …hem.
    
    RHEL 5, in particular, supports all the options we need, but doesn't define them
    in userspace's ptrace.h.
Commits on Jan 23, 2011
  1. @nelhage

    Don't clear c_cflag when setting raw mode on our tty.

    nelhage committed
    This makes tcsetattr return EINVAL on some systems, and there
    shouldn't be any flags in there we care about.
Commits on Jan 22, 2011
  1. @nelhage

    Get offsetof from stddef.h.

    nelhage committed
    Reported-by: Anders Kaseorg <andersk@mit.edu>
  2. @nelhage
  3. @nelhage

    Add a note about pronunciation.

    nelhage committed
  4. @nelhage
  5. @nelhage

    Add some more error diagnostics.

    nelhage committed
  6. @nelhage
  7. @nelhage
  8. @nelhage

    Fix compilation on amd64.

    nelhage committed
  9. @nelhage
  10. @nelhage

    Handle attaching to processes that are already session leaders.

    nelhage committed
    These are actually easier -- we just need to TIOCNOTTY, instead of
    playing games with a dummy child and setsid.
  11. @ingramj

    Fix a compiler error in ptrace.c

    ingramj committed
    On some systems, including sys/user.h before sys/types.h causes a
    compiler error. Changing the order of the #includes fixes the error.
  12. @nelhage
  13. @nelhage
  14. @nelhage

    Add a synopsis line for clarity.

    nelhage committed
  15. @nelhage

    Add a COPYING and README.

    nelhage committed
  16. @nelhage
  17. @nelhage
  18. @nelhage
  19. @nelhage

    ptrace: Make error handling consistent.

    nelhage committed
    Use an error field in 'struct ptrace', and consistently return -1 on
    failure.
Commits on Jan 20, 2011
  1. @nelhage

    Add a minimal usage message.

    nelhage committed
Commits on Jan 18, 2011
  1. @nelhage

    Fix the rt_sigaction call.

    nelhage committed
    sizeof(sigset_t) is something ludicrous like 0x80 in userspace. Just hard-code
    it at 8, since all the userspace definitions seem to be lies.
  2. @nelhage
  3. @nelhage

    Actually kill stub.c

    nelhage committed
  4. @nelhage
  5. @nelhage
  6. @nelhage

    Add a 'clean' target.

    nelhage committed
  7. @nelhage
  8. @nelhage

    Check in my NOTES file.

    nelhage committed
  9. @nelhage
  10. @nelhage

    Don't allow the child to run unchecked between two syscalls.

    nelhage committed
    We were letting the child return from fork() and run to the next
    syscall. This happened to work on my system with 'less', but
    segfaulted on mutt. Instead, we need to reset the child to before the
    syscall point, so that none of its code is ever run.
  11. @nelhage

    Checkpoint working version.

    nelhage committed
  12. @nelhage
Something went wrong with that request. Please try again.