Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing through ioctls #743

Open
Aaron1011 opened this issue May 25, 2019 · 2 comments
Open

Allow passing through ioctls #743

Aaron1011 opened this issue May 25, 2019 · 2 comments
Labels
A-shims Area: This affects the external function shims C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement

Comments

@Aaron1011
Copy link
Member

Linux has several PTY-related IOCTls, such as TIOCGWINSZ. It would be nice if Miri could simply 'pass through' these calls to the terminal when running in non-deterministic mode.

@RalfJung
Copy link
Member

I consider IOCTLs to be just another form of external communication. That's separate from the kind of non-determinism we already have. So Cc #653.

@RalfJung RalfJung added A-shims Area: This affects the external function shims C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement labels May 25, 2019
@RalfJung
Copy link
Member

@Aaron1011 I am not entirely sure what the goal is here and what exactly even is the foreign function to be shimmed. Is this just "support ioctls", or is there more than that? Do you have an example library/application that needs this?

@RalfJung RalfJung changed the title Allow passing through terminal-related foreign functions Allow passing through ioctls Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-shims Area: This affects the external function shims C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement
Projects
None yet
Development

No branches or pull requests

2 participants