Skip to content

x86: Figure out a way to allow userspace to manipulate ioports safely #33

@PoisonNinja

Description

@PoisonNinja

Currently we allow unrestricted ioport access to all userspace programs which is dangerous since they can access devices directly.

We should figure out a way to restrict this. I currently see two options:

  1. Implement ioperm() and eventually once we have the concept of permissions we can restrict who calls it.
  2. Since this is really for the terminal, either virtualize the cursor (like ToaruOS) or implement an ioctl for the vgafb.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions