unikraft / lib-musl

musl: A C standard library
Other
9 stars 29 forks source link

patches: Delete patching of `ioctl` call in `isatty` #62

Closed mogasergiu closed 1 year ago

mogasergiu commented 1 year ago

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.

This PR depends on Unikraft Core Repository PR 981