Skip to content

io: support older linux ioctls#408

Open
devsnek wants to merge 1 commit into
jow-:masterfrom
devsnek:ioctl
Open

io: support older linux ioctls#408
devsnek wants to merge 1 commit into
jow-:masterfrom
devsnek:ioctl

Conversation

@devsnek

@devsnek devsnek commented May 7, 2026

Copy link
Copy Markdown

There are many older linux ioctl numbers from before the _IOC convention. With this change you can use null as a sentinel value to access them, for example: handle.ioctl(IOC_DIR_READ, 0x4600, null, 160) to perform the FBIOGET_VSCREENINFO ioctl.

@jow-

jow- commented May 8, 2026

Copy link
Copy Markdown
Owner

Can you put this PR description into the commit message itself and amend with your signed off by?

git checkout ioctl
git commit --signoff --amend \
  -m "io: support older linux ioctls" \
  -m "" \
  -m "There are many older linux ioctl numbers from before the _IOC convention." \
  -m "With this change you can use null as a sentinel value to access them, for " \
  -m "example: `handle.ioctl(IOC_DIR_READ, 0x4600, null, 160)` to perform the " \
  -m "`FBIOGET_VSCREENINFO` ioctl."
git push origin ioctl --force

There are many older linux ioctl numbers from before the
`_IOC` convention. With this change you can use null as a
sentinel value to access them, for example:
`handle.ioctl(IOC_DIR_READ, 0x4600, null, 160)` to
perform the `FBIOGET_VSCREENINFO` ioctl.

Signed-off-by: snek <the@snek.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants