Go to file
Henrik Grimler fee131542c w3m: fix fdsan error when run on android 11
The file descriptor sanitizer keeps track of opened file descriptors
and kills programs that closes fds multiple times, or fails to close
fds.  In w3m's case a fd for a tty was obtained and saved in the ttyf
variable, but when the tty was later closed is was done using the tty
variable and not the obtained ttyf.  To my current understanding this
can lead to undesired behaviour when using multiple threads, as
another thread might write to or read from ttyf after it has been
closed.

Error looks like
fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by FILE* 0xb6c8800c

This commit fixes [1]. See also fdsan docs [2] and issue opened in the
android bug tracker [3].

[1] https://github.com/termux/termux-packages/issues/6410
[2] https://android.googlesource.com/platform/bionic/+/master/docs/fdsan.md
[3] https://issuetracker.google.com/issues/184380442
2021-04-05 15:46:59 +02:00
.github CI: revert changes to Docker workflow. 2021-03-29 17:49:37 +03:00
disabled-packages disabled-packages/apg: update source link 2021-02-04 19:13:36 +00:00
ndk-patches fix ndk-patches/paths.h.patch 2020-07-11 00:51:47 +03:00
packages w3m: fix fdsan error when run on android 11 2021-04-05 15:46:59 +02:00
sample explicitly set maintainer for each package 2020-12-20 15:16:34 +02:00
scripts docker image: x11-packages need xutils-dev 2021-03-29 17:01:26 +03:00
.gitattributes update .gitattributes 2020-08-27 21:40:58 +03:00
.gitignore setup-offline-bundle.sh: add support for downloading package sources 2020-10-23 00:27:56 +03:00
BACKERS.md Update BACKERS.md 2020-04-29 00:32:23 +02:00
build-all.sh build-all.sh: Fix error message 2021-02-03 17:30:12 +01:00
build-package.sh misc hardcoded home/prefix fixes 2020-10-30 22:48:55 +02:00
clean.sh packages: standardize values of several control variables for build.sh 2019-08-12 18:49:13 +03:00
CONTRIBUTING.md CONTRIBUTING.md: remove section "hosting a mirror" 2021-02-08 12:58:01 +02:00
LICENSE.md avoid long lines in LICENSE.md 2019-06-08 14:40:01 +03:00
README.md bintray repository is now in archive mode 2021-02-28 18:15:46 +02:00

Termux packages

Packages last build status Docker image status Join the chat at https://gitter.im/termux/termux

This project contains scripts and patches to build packages for the Termux Android application.

Quick how-to about Termux package management is available at https://wiki.termux.com/wiki/Package_Management.

Contributing

@termux is looking for help with fixing issues, adding new packages and maintaining existing ones. It would be very helpful if you submit a pull request with bug fixes.

Processing of new package requests is limited. Repository is already big and recently we got the new problems with hosting. Submit requests only for things that can be important for most users.

Read CONTRIBUTING.md and Developer's Wiki for more details.

Contacts

General mailing list: https://groups.io/g/termux

Developer mailing list: https://groups.io/g/termux-dev

General chat: https://gitter.im/termux/termux or #termux on IRC/freenode.

Developer chat: https://gitter.im/termux/dev or #termux/development on IRC/freenode.