bump(main/util-linux): 2.42.1#29218
Conversation
We actually do patch As you say it shouldn't be necessary for most use cases, but it's probably good for some edge cases and for consistency. |
Thanks for showing that, I didn't know that before and I also assumed that This means that |
|
Hi sorry for the delay on this I'm just getting back to this now. As mentioned above, standardizing to |
|
I wrote the patch which replaces It's not that I used an LLM to make it, because I don't use LLMs. It is basically that I just guessed randomly at something that might work. |
b96c248 to
e74766a
Compare
65e149f to
56daeb6
Compare
|
The I'm still not clear on how we should go about verifying that the |
I have already verified that they do not work correctly, and explained how I did so, I have not finished making replacement changes yet |
you can try that sure, and then, i believe I can test the result afterward by building the test suite on-device. If the disablement was successful, then the test involving fanotify should fail to compile on-device, not only fail to run. |
did not cause the test to fail to compile, but it sent the test into an |
56daeb6 to
3188ec8
Compare
|
One more thing that I just spotted last minute This means |
3188ec8 to
c7a15e8
Compare
Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
c7a15e8 to
d3ecfc0
Compare
Existing instances of hardcoded
/bin/shhave been replaced by upstream with_PATH_BSHELLfrom#include <paths.h>which is/system/bin/shon Android, we were previously replacing these with@TERMUX_PREFIX@/bin/sh.Using
/system/bin/shshould be fine here unless they're doing anything particularly funky with POSIX sh.There are two remaining instances of
/bin/shbeing hardcoded (insetarchandpg), I have converted both of them to_PATH_BSHELL, and intend to report these to upstream as a bug/oversight.copyfilerangeis newly causing some issues.We weren't previously building this, but it seems like the disabling logic for it isn't working quite right in the 2.42 configure script, so that'll probably be another bug report.
Thanks to @robertkirkman for helping me with figuring this out.
Robert also spotted and patched two other problems in
shells.candmonitor_fanotify.c.I have not regenerated Robert's patches with
git diffso the patch headings vary slightly between patches, this is purely a cosmetic difference.