Skip to content

linux PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG have wrong type #4935

@Marcondiro

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

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