Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-03 | Probe for fork() instead of relying on a distro-specific #define. | Rob Landley | |
2015-07-03 | Added i option to use other interface on running dhcpd. | Hyejin Kim | |
2015-07-02 | Cleanup xxd. | Rob Landley | |
2015-07-02 | Minor cleanups on xxd. | Rob Landley | |
2015-07-02 | The android guys sent in xxd. It doesn't share code with od and hexdump. Hmmm... | Rob Landley | |
2015-07-01 | Fix segfault with "mount -o ro,remount". | Elliott Hughes | |
Or any call to comma_scan where 'opt' appears as the last item in 'optlist'. | |||
2015-07-01 | Improve -Z error reporting. | Elliott Hughes | |
The most likely reason for setfscreatecon to fail is that you don't have permission, and that's reported by the write return EACCES. There isn't really a "bad" context; they're just strings. Before: $ adb shell mkdir -Z x y mkdir: bad -Z 'x' After: $ adb shell mkdir -Z x y mkdir: -Z 'x' failed: Permission denied Other than this, the ToT mkdir works fine with SELinux. | |||
2015-07-01 | Fix top.c build. | Elliott Hughes | |
Broken by recent lib.h additions. | |||
2015-06-29 | mkfifo -Z | Rob Landley | |
2015-06-28 | Add ionice and iorenice. | Rob Landley | |
2015-06-27 | Add undo buffer for 'u'. | Rob Landley | |
2015-06-27 | Simplify hexedit logic by adjusting viewport all in one place up top. | Rob Landley | |
(Easier to genericize logic and reuse later in less or vi...) | |||
2015-06-26 | Factor out more not-curses infrastructure into lib. | Rob Landley | |
2015-06-25 | Suggestion from Elliott Hughes: tweak test infrastructure to notice if | Rob Landley | |
command exits with high errno and assume it segfaulted. | |||
2015-06-23 | Fix version number in ifconfig cleanup reference. | Rob Landley | |
2015-06-23 | Don't segfault if none of the file arguments to ls exists. | Rob Landley | |
2015-06-23 | Don't depend on malloc(0) to return non-null. | Rob Landley | |
2015-06-23 | Fix ls so spacing is right for ls -l, -o, -g, -og, -ogZ, -lZ, -gZ, and -oZ. | Rob Landley | |
2015-06-15 | Fluff up explanation of why 0BSD license for SPDX submission. | Rob Landley | |
2015-06-15 | Use lsm_set_create() to set security blanket context before mknod, avoiding | Rob Landley | |
racy gap between create/label. | |||
2015-06-11 | Add nproc. | Rob Landley | |
2015-06-10 | Cosmetic tweak: no need for pages of text from "make defconfig" and friends. | Rob Landley | |
2015-06-06 | Last grep commit broke non -r use of grep. Oops. | Rob Landley | |
2015-06-02 | Make "printf --" and "printf ---" work. | Rob Landley | |
2015-05-31 | Redo mkstatus.py to grep pending for pending data and trust toybox | Rob Landley | |
defconfig output for ready command list, to reduce manual updating. | |||
2015-05-31 | Move the magic list of commands needing cleanup from toys/pending/README | Rob Landley | |
to greppable TODO annotations in the individual files. (grep -riw TODO) | |||
2015-05-31 | On testing fold command, I found w option didnt check the range of value. | Hyejin Kim | |
2015-05-31 | mknod: Add -Z option | José Bollo | |
Change-Id: I23174fb7b54d029784e6d7460368128113090079 | |||
2015-05-28 | Attempt to fix the mkdir LSM race. | Rob Landley | |
Doing a world writeable mkdir and _then_ adding a label seems like a race window, so set the global "create stuff with these labels" context, then do the creates. | |||
2015-05-21 | ls -lZ wasn't putting a space before the xattr output. | Rob Landley | |
2015-05-21 | mkdir: Fix argument of option -Z | José Bollo | |
2015-05-20 | Make "grep -r regex" work on implicit "." if no files specified. | Rob Landley | |
2015-05-19 | Add -Z support to mkdir, based on a patch from Jose Bollo. | Rob Landley | |
I have no idea why -Z isn't showing up in mkdir --help when enabled, I need to look at that... | |||
2015-05-19 | Adapted patch from José Bollo to do the "tonight we're gonna api like | Rob Landley | |
it's 1999 and every path ever is from cwd or root" api versions for sockets and as a fallback of the open fails. There are still some holes (symlink to socket with -L will give you info about the symlink, not the socket, and symlink to a file you can't open will give you info about the symlink, not the file) but the correct fix is to make O_PATH work in the kernel for the LSM functions. (If we can read this data by path, we should be able to read it by O_PATH. We should not need two codepaths for this.) | |||
2015-05-18 | Switch id over to new infrastructure, switch id to use FORCE_FLAGS, and | Rob Landley | |
make lib/lsm.h auto-include from toys.h. | |||
2015-05-18 | Fix "ls -Z . toys" segfaulting, because preprocessing skipped. | Rob Landley | |
strwidth() got called on ->extra which was NULL. Had some other bad effects ala "ls -sk file1 file2 file3" ignored the -k. This should fix that too. | |||
2015-05-18 | Recent commit broke ls -R (test reversed), and "ls -R singledir" should | Rob Landley | |
show label: at the start (yes, even "ls -R" in an empty dir). | |||
2015-05-18 | More ls -Z upgrading. Move TOYBOX_SELINUX and TOYBOX_SMACK support from | Rob Landley | |
portability.h to new lib/lsm.h. Update ls.c to use it. Fix "ls . toys" (two directories when one is . or ..), which was filtering out the . as something we shouldn't recurse into even though it was explicitly listed on the command line. For some reason "ls -Z . toys" is still segfaulting though (but "ls -Z ." isn't), need to figure out why... | |||
2015-05-15 | stat: fix group name | José Bollo | |
Change-Id: I0ad65a40bf380d789c4396ebdc01be217901a2e3 | |||
2015-05-14 | Bugfix from Hyejin Kim: su should not prompt root user for new user's password. | Rob Landley | |
2015-05-14 | Promote reset (actually write a new one using the simple man 4 console_codes | Rob 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-13 | Print name of file at the bottom of the screen. | Rob Landley | |
And yes, I tested $PWD/私はガラスを食べられま す。それは私を傷つけません。 as a name and made it work. If you throw newlines or ascii escapes in the name it'll use the fancy printing logic for chars, otherwise it does the full utf8 fontmetrics deal. | |||
2015-05-13 | More hexedit cursor boundary tweaking. | Rob Landley | |
2015-05-13 | Fix bug (len[7] wasn't zeroed if -Z off, thus -C overestimated entry lengths), | Rob Landley | |
and some cleanups while I was there. | |||
2015-05-12 | Set the executable bits on all the *.test files. (Wasn't consistent, is now.) | Rob Landley | |
2015-05-10 | Git hates me. | Rob Landley | |
2015-05-10 | Cleanups of dirtree_start() calls. (Don't need to feed in flag values, just | Rob Landley | |
symfollow true/false.) | |||
2015-05-09 | Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from | Rob 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-09 | Probe for -Wno-string-plus-int. | Rob Landley | |
LLVM has its own nuts warnings about things that aren't wrong, but disabling them with the relevant -Wno-* warning disabling command line option drives gcc nuts because it's a command line option it doesn't recognize. (gcc 4.2.1 dies with an error. gcc 4.6 warns about it _only_ if it's warning about something else. (PICK ONE, either you warn about this or you don't, distract people from actual problems with noise about something clearly unrelated to what just changed is extra-stupid.) So just probe for it, and add the flag only if it doesn't complain about it while we're producing an unrelated warning. | |||
2015-05-08 | Move not-curses code into interstingtimes.c | Rob Landley | |