Skip to content

Commit

Permalink
patches: Delete patching of ioctl call in isatty
Browse files Browse the repository at this point in the history
Application such as `python3` use `isatty()`, which does an
`ioctl()` with `TIOCGWINSZ` as an argument for checking whether it
should invoke the interactive interpretor or just start interpreting
a given file.

Therefore, we may want to allow such function call to return an error
if called upon a file from a non-pseudo filesystem such as
`ramfs` or `9pfs`.

Furthermore, since this patch is the middle one among the existing
patches from an order standpoint, rename the starting index of the
other patches to reflect the removal.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Radu Nichita <radunichita99@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Virtan <virtanrazvan@gmail.com>
Approved-by: Simon Kuenzer <simon@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: unikraft#62
  • Loading branch information
mogasergiu authored and unikraft-bot committed Jul 16, 2023
1 parent 7dcb5a0 commit f54ef2a
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 26 deletions.
File renamed without changes.
26 changes: 0 additions & 26 deletions patches/0010-Stub-istty-by-ignoring-ioctl.patch

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f54ef2a

Please sign in to comment.