Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-29 | do_regular_file() prints output line, don't fall through to print default. | Rob Landley | |
2016-02-29 | Fix inverted test. | Rob Landley | |
2016-02-29 | pending/file: add cpio, tar, zip formats. | Isaac Dunham | |
2016-02-29 | Fix a typo from last time, and Isaac Dunham's todo list: | Rob Landley | |
- per POSIX, 'cannot open' must be in the 'type' string if open() fails (both EPERM and ENOENT); we only do that if open() succeeds and fstat(fd) fails. - symlink detection (as per POSIX) won't work: opening them O_RDONLY results in following the link, then we fstat() the fd. - file 'FIFO' causes a hang; open() won't return till there's a writer. | |||
2016-02-29 | Second pass at the ELF type table. | Rob Landley | |
2016-02-22 | implement simple 'wget' and port name can be specified in URL if default | Lipi C. H. Lee | |
port 80 is not used. | |||
2016-02-21 | lsof cleanup | Rob Landley | |
Accept multiple -p, inline filter_matches, convert misleading "char* a, b" to "char *a, b", use readfile() to read a file, use DIRTREE_SHUTUP, don't need { } around a single line, don't modify command line environment space (which changes what ps/pgrep sees). | |||
2016-02-17 | Add dynamic/static checking to file (printing dynamic linker if found). | Rob Landley | |
2016-02-15 | Cleanup pass on file.c, and add detection of different ELF architectures. | Rob Landley | |
2016-02-14 | Implement file(1). | Elliott Hughes | |
Unlike the POSIX file(1), there's no magic file here, just hard-coded common (non-obsolete) file formats. Personally most of my use of file(1) is as a one-line readelf(1) summarizer, so although I assume a full POSIX file(1) is out of scope (because just the database would likely be larger than all the rest of toybox), a subset that only supports in-use file types actually covers most of the use cases I encounter personally. Also fix peek_be/peek_le. | |||
2016-02-10 | toybox: tar: Fix support for long names | Tom Marshall | |
Pathnames may be longer than the name field in the header, so use strncpy() instead of xstrncpy() to avoid bailing out. Also add unit tests to ensure proper handling of short and long pathnames. Change-Id: Id025891993746889564b479e5185cf9721b54a55 | |||
2016-02-08 | Add xpipe() to lib. | Rob Landley | |
2016-01-25 | Fix compiler warnings in traceroute. | Elliott Hughes | |
If we're fixing warnings in pending... | |||
2016-01-21 | I cleaned up the code in 'netstat.c' as belows. | Lipi Lee | |
- Adjust to 80 columns - remove a useless function(strchr_nul), variable, type casting and compile warnings(fgets) - clean up netstat command option condition - change useless double pointer to single point and dynamic memory allocation to static one - fix a ambiguous return type and typo | |||
2016-01-20 | Add basic top support to ps.c, delete toys/pending/top.c. | Rob Landley | |
While I'm there, pack the ps help text, break out TOP_COMMON (todo: update config2help to collate that properly), add -o CPU showing which processor this pid is running on, implement -o C (it's %cpu without the fractional part), add -o %MEM, fix header padding. | |||
2016-01-16 | Move create_uuid() to lib and xpoll() to lib/net.c. | Rob Landley | |
2016-01-14 | Implement most of pgrep and pkill. | Rob Landley | |
Needs testing and a few more options connected up. | |||
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-19 | Redo linestack to handle embedded NULs. | Rob Landley | |
2015-12-19 | Start of vi. | Rob Landley | |
2015-11-08 | Route cleanup: whitespace and curly bracket changes. | Rob Landley | |
2015-11-08 | Bugfix for route flags. | Rob Landley | |
2015-11-08 | Remove TEST_ARGV() and logic to adjust irtt by "clock ticks/100" when clock ↵ | Rob Landley | |
ticks _is_ 100... | |||
2015-11-07 | More route cleanup. | Rob Landley | |
2015-11-07 | Let's start the route cleanup. | Rob Landley | |
Collate some repeated increments, remove some useless coments. | |||
2015-11-03 | dhcp leanup: remove flag_get() and flag_chk() | Rob Landley | |
2015-11-03 | New dhcp6 command from Sameer Pradhan. | Rob Landley | |
2015-11-02 | Add ps -Z. | Elliott Hughes | |
As with ls, it doesn't seem like -Z should be guarded behind LSM availability. On a non-SELinux system, the label is always "unconfined". | |||
2015-10-28 | Promote ps to posix. | Rob Landley | |
2015-10-28 | Free more stuff in debug cleanup. | Rob Landley | |
Tempted to convert the struct arg_list and ptr_len stuff to arrays and make the parsing table driven, but there's enough direct usages of each field it's not a net win. | |||
2015-10-28 | Implement -suUgG and -o majfl,minfl, move uid/ruid/gid/rgid into slots[31-34] | Rob Landley | |
and vmlck into slot[18], pass error message to comma_args(), collate -stuUgG callbacks into parse_rest(). | |||
2015-10-25 | Add comma_args() and factor out parse_o(), parse_t(), and parse_p() to use it. | Rob Landley | |
Fix FLAG_w. | |||
2015-10-25 | Factor out parse_o() and make -l -f and default output work on strings | Rob Landley | |
rather than bitfields. | |||
2015-10-25 | More ps work, and fill out remaining help text. | Rob Landley | |
Fix more l/r justification, implement uname vsz vsize and stat. | |||
2015-10-25 | Fix netstat build warnings. | Elliott Hughes | |
Fixes two instances of "warning: use of logical '&&' with constant operand". Change-Id: I2bb1ba4e389f8a9e54af8ee3ab23d8849fc329f0 | |||
2015-10-23 | More ps work: move l/r justification to widths[], add RUID/RGID, implement PGID, | Rob Landley | |
plus tty detection fix from Elliott Hughes. | |||
2015-10-23 | fix dhcpd warning | Yeongdeok Suh | |
2015-10-21 | Make ps.c whitespace consistent. | Rob Landley | |
(Assignment has spaces around operator, comparison doesn't.) | |||
2015-10-21 | ps: implement -t, remove leading 0 from ETIME days, implement -o GROUP,GID,PCPU | Rob Landley | |
2015-10-17 | More ps work, tested up through etime now. | Rob Landley | |
2015-10-16 | Fix ps display padding (truncation) and adjust -o pri by one. | Rob Landley | |
2015-10-15 | More ps work, implement -p, correct several -o fields and general alignment. | Rob Landley | |
2015-10-11 | Cleanup pass on pgrep: remove flag_twiddle macros, use 0 constants, | Rob Landley | |
unify some TT.signame tests checking constant value variable initialized to. | |||
2015-10-06 | Decode netlink sockets in lsof. | Elliott Hughes | |
Refactor the /proc/net parsing so this only adds 7 lines overall. Also clear the DEVICE field for sockets and fix alignment for long usernames (until someone implements the two-pass output that measures columns). | |||
2015-10-04 | Minor cleanup and add "MODALIAS" handler (suggested by Isaac Dunham). | Rob Landley | |
2015-10-03 | Back to chipping away at ps... | Rob Landley | |
2015-09-29 | xvfork went away. | Rob Landley | |
2015-09-29 | Make defconfig build for nommu. | Rob Landley | |
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands. | |||
2015-09-23 | Add xvfork() as a static inline and use it from various places. | Rob Landley | |
Note: vfork(), like fork(), can return -1 if too many processes, and we should notice and fail loudly. | |||
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |