Skip to content

ioctl write_int doesn't support passing long integers #824

@jethrogb

Description

@jethrogb

The Linux kernel API always passes the ioctl parameter as an unsigned long. However, the ioctl! macro always uses c_int. It should probably use c_long/c_ulong/usize instead, in order to pass all possible values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions