-
Notifications
You must be signed in to change notification settings - Fork 26
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
patches: Delete patching of ioctl
call in isatty
#62
Conversation
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>
55806bf
to
e8890a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested with app-python3
and it builds and runs on both x86_64
and aarch64
Reviewed-by: Radu Nichita radunichita99@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally we can run a script using python3
, thanks @mogasergiu 🚀 🚀
Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks @mogasergiu !
Reviewed-by: Razvan Virtan virtanrazvan@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved-by: Simon Kuenzer simon@unikraft.io
Application such as
python3
useisatty()
, which does anioctl()
withTIOCGWINSZ
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
or9pfs
.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.
This PR depends on
Unikraft Core Repository
PR 981