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.
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