Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tincctl: restrict umask argument for FORTIFY
`umask(mode)` calls that do not verify `(mode & 0777) == mode` are rejected when the libc FORTIFY checks are enabled [1]. The unrestricted `~perms` was indeed making this assertion fail. [1]: https://android.googlesource.com/platform/bionic/+/refs/tags/android-11.0.0_r3/libc/bionic/fortify.cpp#404
- Loading branch information