Skip to content

linux PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG have wrong type #4935

Closed

Description

@Marcondiro

Hi, the linux consts PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG and PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG are of the wrong type.

pub const PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG: crate::__u8 = 0x4210;
pub const PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG: crate::__u8 = 0x4211;

They should be c_uint instead (as highlighted by CI here:
https://github.com/rust-lang/libc/actions/runs/21248825826/job/61144829568?pr=4934 )

This bug was introduced in #4386

Thanks

Activity

  1. changed the title [-]linux PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG wrong type[/-] [+]linux PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG have wrong type[/+] on Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions