aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
AgeCommit message (Collapse)Author
2015-07-02The android guys sent in xxd. It doesn't share code with od and hexdump. Hmmm...Rob Landley
2015-07-01Fix top.c build.Elliott Hughes
Broken by recent lib.h additions.
2015-05-31Move the magic list of commands needing cleanup from toys/pending/READMERob Landley
to greppable TODO annotations in the individual files. (grep -riw TODO)
2015-05-31On testing fold command, I found w option didnt check the range of value.Hyejin Kim
2015-05-14Promote reset (actually write a new one using the simple man 4 console_codesRob Landley
terminal reset escape sequence) and add gettty() function to lib so terminal gets reset even when we redirect stdout/stderr. (This is apparently the expected behavior.)
2015-05-10Git hates me.Rob Landley
2015-05-09Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out fromRob Landley
under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers).
2015-05-06Fix more with missing files.Elliott Hughes
Previously we'd go into an infinite loop because we weren't incrementing optargs. Also add a missing flush so an error on stderr won't overtake the escape code that resets reverse video. Disclaimer: the new behavior isn't exactly like the desktop version; surprisingly they try to open the next file _before_ they prompt. That feels weird to me as a user, and seems like it would lead to a more awkward implementation, but if you're more concerned about authenticity...
2015-05-03dhcpd writes leases on "dhcpd.leases" file.Hyejin Kim
but, dumpleases read from "udhcpd.leases".
2015-04-27Promote hexedit to other.Rob Landley
2015-04-27Some infrastructure hexedit needs. (Poor man's curses.)Rob Landley
2015-04-27Teach hexedit to actually edit. Add -r option for read only mode.Rob Landley
2015-04-25Fix display and cursor control (to respect bottom boundary).Rob Landley
No actual editing yet.
2015-04-24Too tired on the flight back from Japan to work on thinky stuff, so...Rob Landley
2015-04-19mdev: implement hotplug support.Isaac Dunham
Use DEVPATH, DEVNAME, MAJOR, MINOR, and SUBSYSTEM instead of checking the current path and reading .../dev. While we're here, probe for partitions in block devices. This uses a very lame check for ACTION (which can be add, remove, or change): if it is "remove", then unlink the device.
2015-04-16Shout from the rooftops that pending is not like other directories.Rob Landley
2015-04-14Yet more ps work. Still not there yet.Rob Landley
2015-04-10Make more(1) usable.Elliott Hughes
> Yes, I know, "don't use pending". Sadly, more(1) is pretty useless > without this. It gets confused by long lines or tabs. > > This patch also adds the missing prompt between multiple files. actually, it looks like we're already hard-coding some escape sequences? more(1) doesn't need anything that isn't in ANSI, so here's an alternative patch that fixes the same bugs as the other patch but also has a reverse-video prompt:
2015-04-08Revert last mdev commit because it copied code out of a GPLv2 program.Rob Landley
Guys, you CANNOT COPY CODE FROM BUSYBOX. I don't care if I was the initial author of that file, other people have touched it since. I know I added "pending" because I couldn't keep up with code review in realtime and stuff was getting lost, so we needed a place to park things before they underwent the full dorodango process. I also know none of the binaries I distribute has anything in pending enabled. But dude, if I'm going to find stuff like this I have to start reviewing the code BEFORE applying it to pending, and we all know where that leads. Please don't do this again.
2015-04-04Another in-progress ps snapshot.Rob Landley
2015-04-03ps checkpoint du jour. Does not work yet.Rob Landley
2015-04-02Redoing ps from scratch. Random checkpoint that probably doesn't even compile.Rob Landley
Checking in a stopping point where I figured out what I did wrong, before changing it.
2015-03-27Promote setenforce to android.Rob Landley
2015-03-27Cleanup setenforce.Rob Landley
2015-03-27Promote getenforce.Rob Landley
2015-03-27Cleanup getenforce.Rob Landley
2015-03-27Promote load_policy to android.Rob Landley
2015-03-27Minor cleanup of load_policy.Rob Landley
2015-03-24Implement load_policy.Elliott Hughes
Note that this is a case where Android's tool isn't the same as the usual tool. Ours takes an explicit file containing the policy to be loaded. restorecon is at least command-line compatible, but the implementation is all in Android's libselinux where there's a selinux_android_restorecon function.
2015-03-23Promote runcon to android (and add an android menu).Rob Landley
2015-03-23Trivial runcon cleanups.Rob Landley
2015-03-23Add runcon(1).Elliott Hughes
2015-03-23add missing space in dd outputElliott Hughes
Also, coreutils says "s" instead of "seconds". POSIX specifies the format of the previous two lines, but doesn't even mention this line.
2015-03-18mdev : add hotplugin featureHyejin Kim
As internal needs, Ranjan Kumar (ranjankumar.bth at gmail.com) added hotplug feature into mdev.
2015-03-15I added error handling code in write_rotate().Hyejin Kim
I think that it is better to check tf->logfd before doing truncate()/write() and getting error.
2015-03-14More ps cleanup, mostly refactoring.Rob Landley
2015-03-13Minor ps refactoring.Rob Landley
2015-03-03Quick cleanup pass on tar.Rob Landley
2015-03-01fix format problems in tar.cElliott Hughes
%o is unsigned, but off_t is signed. * takes an int. an error_msg call was missing an argument. only one of these is an actual error, but i'd like to fix the others too so that we (toybox, but if not, then Android) can turn on format string warnings to prevent future bugs like the stat.c LP32 ones.
2015-02-27Cleanup pass on ps.Rob Landley
2015-02-28Minor toysh cleanup: remove another unnecessary option.Rob Landley
2015-02-09One more cleanup pass on hwclock factoring out common code.Rob Landley
2015-02-09Inline rtc_open() and get_rtc_seconds(), perform resulting cleanups.Rob Landley
2015-02-09Cleanup/refactoring pass on hwclock.Rob Landley
Inline open_wall_clock_rtc() into rtc_open(), factor out xtzset(), inline set_sysclock_from_hwclock(), set_hwclock_from_sysclock(), and set_sysclock_timezone(). /etc/adjtime is short enough we don't need to bother with a break. The final "else" case in main() should always trigger because >0 in optstr says "at most zero arguments", so the || at the end is always true, so take the test off.
2015-02-08Promote chcon to "other".Rob Landley
2015-02-08Cleanup pass on chcon.Rob Landley
2015-02-07Make toy_exec() check if argc is in optargs and deal with it there so we ↵Rob Landley
don't need a separate xexec_optargs().
2015-02-07Merge unshare and nsenter (promoting and cleaning up nsenter).Rob Landley
Needs more testing, don't have a test environment set up for this yet...
2015-01-25Commit 1061 said "this gets expand off my to-review list". Remove it from ↵Rob Landley
the list.
2015-01-25Cleanup mountpoint and remove it from the pending README.Rob Landley