Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
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 authored
    …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 authored
    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 authored
    Reported-by: Anders Kaseorg <andersk@mit.edu>
  2. @nelhage
  3. @nelhage
  4. @nelhage
  5. @nelhage
  6. @nelhage
  7. @nelhage
  8. @nelhage

    Fix compilation on amd64.

    nelhage authored
  9. @nelhage
  10. @nelhage

    Handle attaching to processes that are already session leaders.

    nelhage authored
    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 authored
    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
  15. @nelhage

    Add a COPYING and README.

    nelhage authored
  16. @nelhage
  17. @nelhage
  18. @nelhage
  19. @nelhage

    ptrace: Make error handling consistent.

    nelhage authored
    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 authored
Commits on Jan 18, 2011
  1. @nelhage

    Fix the rt_sigaction call.

    nelhage authored
    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 authored
  4. @nelhage
  5. @nelhage
  6. @nelhage

    Add a 'clean' target.

    nelhage authored
  7. @nelhage
  8. @nelhage

    Check in my NOTES file.

    nelhage authored
  9. @nelhage
  10. @nelhage

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

    nelhage authored
    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 authored
  12. @nelhage
Something went wrong with that request. Please try again.