android_external_toybox/toys
Elliott Hughes 5c9d67ded0 devmem: add --no-sync option.
Although O_SYNC is what you want 99% of the time, there is also a use
for not supplying the flag. See drivers/char/mem.c's uncached_access().

The big question here is probably the bikeshed issue of whether to name
the option after what it does (disable the O_SYNC flag) or _why_ you're
doing that. I opted for the former on the basis of "given the -f
argument, you're not necessarily talking to the /dev/mem driver, and
other drivers might use this for other things", even though I'm not
aware of any such driver personally. (Also, it's the shorter name!)
2024-08-01 14:05:36 -05:00
..
android restorecon: use FLAG() macro for readability. 2024-03-24 00:21:44 -05:00
example Truncating demo_utf8towc's check range to 0x10ffff was wrong, that 2023-05-06 01:02:51 -05:00
lsb Switch most remaining toys.optflags&FLAG_x checks to FLAG(x) 2024-04-30 13:08:35 -05:00
net Rephrase help text. 2024-06-11 04:22:36 -05:00
other devmem: add --no-sync option. 2024-08-01 14:05:36 -05:00
pending Fix 'getline var' bug 2024-06-28 00:44:14 -05:00
posix Don't set stdout buffer twice (spotted by Peter Collingbourne) 2024-07-29 02:04:52 -05:00