]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
patches: Delete patching of `ioctl` call in `isatty`
authorSergiu Moga <sergiu@unikraft.io>
Thu, 13 Jul 2023 16:17:59 +0000 (19:17 +0300)
committerUnikraft <monkey@unikraft.io>
Sun, 16 Jul 2023 12:45:01 +0000 (12:45 +0000)
commitf54ef2a58ae65713e591a165ae3ae4766a93f173
treeced52c15e95c35e83a9f1f2e50102146712f2902
parent7dcb5a02f61b0e3b1d5000ea28184ede928ded3a
patches: Delete patching of `ioctl` call in `isatty`

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: #62
25 files changed:
patches/0010-Fix-stdio_write-output.patch [new file with mode: 0644]
patches/0010-Stub-istty-by-ignoring-ioctl.patch [deleted file]
patches/0011-Fix-stdio_write-output.patch [deleted file]
patches/0011-add-SC_LEVEL1_DCACHE_LINESIZE-unistd_h.patch [new file with mode: 0644]
patches/0012-Change-some-things-in-pthread_create.c.patch [new file with mode: 0644]
patches/0012-add-SC_LEVEL1_DCACHE_LINESIZE-unistd_h.patch [deleted file]
patches/0013-Change-some-things-in-pthread_create.c.patch [deleted file]
patches/0013-This-is-the-clone-wrapper-that-musl-uses-for-x86_64.patch [new file with mode: 0644]
patches/0014-Comment-macros-to-stop-using-VDSO.patch [new file with mode: 0644]
patches/0014-This-is-the-clone-wrapper-that-musl-uses-for-x86_64.patch [deleted file]
patches/0015-Comment-macros-to-stop-using-VDSO.patch [deleted file]
patches/0015-Modify-clone-wrapper.patch [new file with mode: 0644]
patches/0016-Modify-clone-wrapper.patch [deleted file]
patches/0017-include-Use-function-declaration-for-getdents64.patch [new file with mode: 0644]
patches/0018-Use-uk_syscall_r_for_alt_socketcall-patch.patch [new file with mode: 0644]
patches/0018-include-Use-function-declaration-for-getdents64.patch [deleted file]
patches/0019-Use-uk_syscall_r_for_alt_socketcall-patch.patch [deleted file]
patches/0019-Use-ulong-in-ioctl.patch [new file with mode: 0644]
patches/0020-Use-ulong-in-ioctl-definition.patch [new file with mode: 0644]
patches/0020-Use-ulong-in-ioctl.patch [deleted file]
patches/0020-locale-iconv-Add-character-map-option.patch [new file with mode: 0644]
patches/0020-prlimit64_conflict.patch [new file with mode: 0644]
patches/0021-Use-ulong-in-ioctl-definition.patch [deleted file]
patches/0021-locale-iconv-Add-character-map-option.patch [deleted file]
patches/0021-prlimit64_conflict.patch [deleted file]