Skip to content

proposal: x/sys: new syscall.PtraceSeize for linux #34717

Closed

Description

@pjbgf

A new func inside syscall to expose the use of PTRACE_SEIZE ptraces.

PTRACE_SEIZE (since Linux 3.4)
Attach to the process specified in pid, making it a tracee of
the calling process. Unlike PTRACE_ATTACH, PTRACE_SEIZE does
not stop the process.
source: ptrace in Linux

The flag already exists in the codebase:

PTRACE_SEIZE = 0x4206

Activity

  1. added this to the Unreleased milestone on Oct 6, 2019
  2. changed the title [-]x/sys: Create new syscall.PtraceSeize for linux[/-] [+]x/sys: proposal new syscall.PtraceSeize for linux[/+] on Oct 6, 2019
  3. changed the title [-]x/sys: proposal new syscall.PtraceSeize for linux[/-] [+]x/sys: [proposal] new syscall.PtraceSeize for linux[/+] on Oct 6, 2019
  4. reopened this on Oct 6, 2019
  5. changed the title [-]x/sys: [proposal] new syscall.PtraceSeize for linux[/-] [+]proposal: x/sys: new syscall.PtraceSeize for linux[/+] on Oct 6, 2019
  6. modified the milestones: Unreleased, Proposal on Oct 6, 2019
  7. gopherbot commented on Oct 6, 2019

    @gopherbot
    Contributor

    Change https://golang.org/cl/199497 mentions this issue: unix: add new func PtraceSeize on Linux

  8. locked and limited conversation to collaborators on Oct 6, 2020
  9. added a commit that references this issue on Jun 7, 2024
    4ac5d0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions