Skip to content

Potential incorrect type for ptrace requests with musl #744

Closed
@xd009642

Description

@xd009642

For some reason normal ptrace requests i.e. PTRACE_TRACEME are c_int whereas the ptrace requests related to program registers (i.e. PTRACE_GETREGS) are unsigned integers musl mod.rs. Now as all these values are used as the request argument to fn ptrace surely the sign should be consistent?

musl is also the only libc environment which has the difference in signedness which also doesn't seem to be mimicking musl itself ptrace.h musl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions