Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pjbgf opened this issue Oct 6, 2019 · 1 comment
Closed

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

pjbgf opened this issue Oct 6, 2019 · 1 comment

Comments

@pjbgf
Copy link

pjbgf commented Oct 6, 2019

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

@gopherbot gopherbot added this to the Unreleased milestone Oct 6, 2019
@pjbgf pjbgf changed the title x/sys: Create new syscall.PtraceSeize for linux x/sys: proposal new syscall.PtraceSeize for linux Oct 6, 2019
@pjbgf pjbgf changed the title x/sys: proposal new syscall.PtraceSeize for linux x/sys: [proposal] new syscall.PtraceSeize for linux Oct 6, 2019
@pjbgf pjbgf closed this as completed Oct 6, 2019
@pjbgf pjbgf reopened this Oct 6, 2019
@andybons andybons changed the title x/sys: [proposal] new syscall.PtraceSeize for linux proposal: x/sys: new syscall.PtraceSeize for linux Oct 6, 2019
@andybons andybons modified the milestones: Unreleased, Proposal Oct 6, 2019
@gopherbot
Copy link
Contributor

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

@golang golang locked and limited conversation to collaborators Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants