Commit Graph

  • ea6c172dad Change links from microsoft github to codeberg. master Rob Landley 2026-01-18 14:41:33 -06:00
  • c1a3470842 Show how to build toybox on macos without homebrew, and some other tweaks. Rob Landley 2026-01-18 14:33:35 -06:00
  • 9ff43dbea8 Update generated prereq files for commit e18fd827840a. Rob Landley 2026-01-18 13:53:50 -06:00
  • 22efb79af9 readelf: support processor-specific flags. Elliott Hughes 2025-12-05 19:11:57 +00:00
  • 7f033b5f63 Reorder logic so display isn't a frame behind without more flush() calls. Rob Landley 2025-12-28 14:16:32 -06:00
  • 70f64e5a43 Fix missing error check for short patterns, and add tests. Rob Landley 2025-12-04 16:04:21 -06:00
  • b72880d6dc readelf: fix -S 'x'. Elliott Hughes 2025-11-14 16:56:42 -05:00
  • 1520fe6e9b vi: Support ZZ to save and exit Alex Kapranoff 2025-11-15 23:39:38 -08:00
  • e18fd82784 xargs: add --process-slot-var. Elliott Hughes 2025-11-05 11:50:17 -05:00
  • 824575c762 Fix sh var unset Maxim Smirnov 2025-10-26 21:38:45 +03:00
  • 7d779319ab Let taskset.test check more than 32 processors. Rob Landley 2025-10-27 15:35:06 -05:00
  • 1bf38ae648 lsusb: Add -v (verbose) option for detailed device descriptors Madhav 2025-10-20 18:30:33 -07:00
  • 4fc2d9d6c9 Cleanup tests. Rob Landley 2025-10-20 10:32:55 -05:00
  • 01225a9fdd Cap $CPUS at 63 so mask math doesn't overflow. Rob Landley 2025-10-20 10:16:42 -05:00
  • 6d3b01e0da modinfo: add built_with to the list of tags Ulises Mendez Martinez 2025-10-02 15:40:15 +00:00
  • a61f9fe68f Release 0.8.13 0.8.13 Rob Landley 2025-10-14 11:45:35 -05:00
  • a72476beef Fix test. Rob Landley 2025-10-08 17:14:58 -05:00
  • ab1a2529f3 Update scripts/prereq prebuilt headers for xargs -a Rob Landley 2025-10-07 12:46:06 -05:00
  • f4896225d9 Remove printf -r before release. The bar for nonstandard extensions should be higher than that, and wrapping a "while true" loop around echo -e 'abc\0def' isn't a huge lift. Rob Landley 2025-10-07 12:26:52 -05:00
  • 821d8ca155 Tweak roadmap. Rob Landley 2025-10-01 16:21:37 -05:00
  • b9c511174a Remove leftover test from the prefix logic rewrite. Rob Landley 2025-10-01 15:59:37 -05:00
  • 6bc1984355 Cleanup prompt logic. Rob Landley 2025-10-01 15:58:40 -05:00
  • 557ad10d46 sh: implement \dD{}tT@AuvVW prompt control characters Avery Terrel 2025-09-24 02:44:17 +00:00
  • e83aa17ccc Minor cleanup: reorder some functions and mark others static. Rob Landley 2025-09-30 09:01:35 -05:00
  • 7d965b43da xargs: implement -a. Elliott Hughes 2025-09-17 20:10:12 +00:00
  • 73bce5b488 Convert testing->testcmd. Rob Landley 2025-09-08 14:10:32 -05:00
  • 1bab876006 Add test for write falure. Rob Landley 2025-09-08 14:02:15 -05:00
  • 0f5e2f0ace xsendfile_len() to exit with error if underlying write fails Utsav Munendra 2025-09-05 13:50:36 -07:00
  • 494f9c4efc dhcp: Add a new option to unset broadcast bit Zikai Chen 2025-09-04 00:28:13 +09:00
  • 62284825a7 Jesse Rosenstock wants taskset to work with an arbitrary number of leading zeroes for some reason, so take the rightmost 8k of mask data and test with leading zeroes. (It could instead specifically skip leading zeroes, but would still have to check sizeof(toybuf) anyway.) Rob Landley 2025-09-05 16:59:37 -05:00
  • be86489b16 Update prerequisite build. Rob Landley 2025-08-22 12:55:53 -05:00
  • 5806d2cfdb Fix allnoconfig to write out values changed by KCONFIG_ALLCONFIG. Rob Landley 2025-08-22 12:39:21 -05:00
  • a3e5f1b1ea Passing a 64 bit value with syscall() has problems in certain older syscalls on some 32 bit architectures, and this one is used as the _example_ in the the "Architecture-specific requirements" section of "man 2 syscall". Rob Landley 2025-08-14 19:06:58 -05:00
  • 7932d08016 More comments, minor cleanups. Rob Landley 2025-08-14 17:32:44 -05:00
  • 97506b9b9c ip: add ip6gre. Elliott Hughes 2025-08-05 15:01:37 +00:00
  • b8186ba3c4 Don't output blank header line, such as for "ps -o psr= $$" Rob Landley 2025-08-04 12:50:20 -05:00
  • 907eb01f99 Update prereq flags.h for chmod -c Rob Landley 2025-08-02 05:02:59 -05:00
  • 15eea69acd Cleanup pass on lsusb -t Rob Landley 2025-07-26 09:04:54 -05:00
  • 6bc987b4b9 update crontab ownership Tai Groot 2025-07-23 23:00:01 -07:00
  • 06329d54bb lsusb: add -t option for tree format display Jignesh Patel 2025-07-20 17:30:59 +05:30
  • fbfb6b2feb For single builds, disable TOYFLAG_HELP and TOYFLAG_SUID for commands that don't need them. Rob Landley 2025-07-19 21:56:32 -05:00
  • 6f8ea8aafd Minor cleanup. Rob Landley 2025-07-19 21:03:33 -05:00
  • 791efbf86f setgid() should use gid not uid. (Spotted by ttiinn.) Rob Landley 2025-07-17 05:37:50 -05:00
  • 209b2bf85e Make taskset with no args print current mask Rob Landley 2025-07-08 15:42:47 -05:00
  • 7e65c1fb80 Exclude octal from atolx(), just detect hex and decimal. Rob Landley 2025-07-07 20:46:45 -05:00
  • d632ad4aae Minor cleanup, and add -a short option for --all Rob Landley 2025-07-05 15:58:54 -05:00
  • 40a81414b0 taskset: Document and add test for 0 PID Jesse Rosenstock 2025-07-03 17:12:03 +02:00
  • 635f1e0391 Work around another gcc bug, where --as-needed breaks libasan. This dies with a null pointer dereference calling crypt(): Rob Landley 2025-07-02 13:04:51 -05:00
  • 4bf4509984 Go back to the #ifdefs to work around compiler regressions. Rob Landley 2025-07-02 12:47:17 -05:00
  • 5ab6c0d5e2 Teach mkroot/mkroot.sh CROSS= to accept multiple comma separated targets. Rob Landley 2025-07-01 17:38:40 -05:00
  • 1ed82ade2f Fix mkroot. Rob Landley 2025-07-01 17:24:47 -05:00
  • 9d27aba79e Remove poke() and friends, just inline the one caller using memcpy(). Rob Landley 2025-07-01 14:30:22 -05:00
  • 17d77a264a Clang is persnickety about attribute order. Rob Landley 2025-06-30 08:58:10 -05:00
  • 07a422c559 Xz cleanup: inline several init functions, use xmalloc() and error_exit() with toys.rebound to continue and accept additional input after error file, reduce error message granularity (it worked or it didn't), mark more functions static, use toybuf for input. Rob Landley 2025-06-28 20:18:06 -05:00
  • 1809240ad7 dd: add iflags=direct too. Elliott Hughes 2025-06-27 12:53:05 +00:00
  • 94a0d2b7d7 xzcat cleanup: reorder to remove some function prototypes and predeclarations, yank unused xz_ret states (using xmalloc() to eliminate one and just ignore the other), and memeq() is just !memcmp() Rob Landley 2025-06-27 13:21:01 -05:00
  • 70157e71bb Use weak symbol instead of #else skipping build. Rob Landley 2025-06-24 13:58:32 -05:00
  • 105a72fd53 Jesse Rosenstock pointed out that long masks would run past toybuf. Rob Landley 2025-06-23 15:16:01 -05:00
  • 77cb95ab94 Add taskset tests. Rob Landley 2025-06-23 14:59:16 -05:00
  • d6bc6b1d8a Add ARM64 BCJ decoder, from Lassee Collin's xz-embedded commit 89094f05f02b Rob Landley 2025-06-22 20:50:24 -05:00
  • 849e1c2833 Several minor fixes from upstream public domain repo, adapted from xz-embedded commits 40d291b609d0 f6d1f58f36cd 82078b610912 cfc1499e9fc2 Rob Landley 2025-06-22 20:14:29 -05:00
  • 8433c5d9a4 Redo prefix assignment logic so ! and redirects can interleave. Rob Landley 2025-06-22 18:28:14 -05:00
  • 3a5f39b957 Whitespace. Rob Landley 2025-06-22 00:53:21 -05:00
  • ecfe2ee305 Don't have help recommend -tL until fixed (there's already a TODO about it). Rob Landley 2025-06-20 13:14:59 -05:00
  • 8c66925859 Add KCONFIG_ALLCONFIG support (which mkroot needs). Rob Landley 2025-06-11 10:16:32 -05:00
  • 957903785a dd: implement oflag=append and oflag=direct. Elliott Hughes 2025-06-04 14:08:22 +00:00
  • f712314272 Switch debug printfs off with a #define instead of individually commenting them out. (Sigh, they're checked in either way...) Rob Landley 2025-06-02 16:55:26 -05:00
  • 73f192010e Fix allnoconfig build. Rob Landley 2025-05-27 01:15:04 -05:00
  • e5b284ed9e Fix ftpget bug reported by Hongsheng Peng: every ftp command produces a response line on the control channel, so ftp_line() having a -1 option to not read a response line is wrong, and gets the parsing out of sync. (But must=0 is ok, that means read and return it, but don't require a specific value.) Rob Landley 2025-05-19 14:14:07 -05:00
  • f43c791542 Alias support. Rob Landley 2025-05-09 00:43:54 -05:00
  • 79cd1a4537 Move allyesconfig, allnoconfig, and randconfig over to new kconfig.c Rob Landley 2025-05-01 14:06:17 -05:00
  • 5d1fd7a302 Instead of warming, make logpath depend on the multiplexer being disabled. Rob Landley 2025-05-01 14:04:04 -05:00
  • 5131a2bc6d Don't wildcard expand . and .. Rob Landley 2025-04-29 12:21:18 -05:00
  • df570102af Implement chmod -cv Rob Landley 2025-04-28 17:39:27 -05:00
  • c8ad718b72 Add a simple no option hd. Rob Landley 2025-04-25 15:18:46 -05:00
  • 35e26cec34 Move defconfig to new infrastructure. Rob Landley 2025-04-25 12:56:56 -05:00
  • ce400bd735 Fix defconfig build. Rob Landley 2025-04-25 12:40:03 -05:00
  • c7d8af2a2d Typo. Rob Landley 2025-04-24 07:36:59 -05:00
  • e26d27ee81 Update release checklist. Rob Landley 2025-04-23 08:00:02 -05:00
  • 7e099a6d54 Add TOYFLAG_MOREHELP(CFG_BLAH) to allow annotated help text to drop out when a second config symbol isn't defined. Use this for various LSM -Z flags, PASSWD_SAD, sort -g, and wget's https support. This replaces the old help text merging scripts/config2help.c used to do. Rob Landley 2025-04-23 07:35:05 -05:00
  • ab1de187e2 Add printf -r NUM to repeat, with -r 0 acting like "yes". Rob Landley 2025-04-22 08:06:44 -05:00
  • 81e1224c1d Update host version for microsoft github's tests, and enable ASAN. Rob Landley 2025-04-21 16:41:51 -05:00
  • 4b7334eff4 getentropy() added to android API 28 in 2018: not quite 7 years yet. Rob Landley 2025-04-21 16:13:04 -05:00
  • 84749b1b7f test -nt and -ot treat existing file as always newer than missing. Rob Landley 2025-04-20 13:06:38 -05:00
  • 66fabe6c31 Allow tar -T /dev/null to create an empty archive. Rob Landley 2025-04-18 11:08:03 -05:00
  • 1f4ac174cf Silence TEST_HOST complaining about / in member names for "t". Rob Landley 2025-04-18 11:06:42 -05:00
  • 7353a331ff tests/dd: Add conv=nocreat test cases Jeffery Miller 2025-04-16 18:54:02 -05:00
  • 3cdebafe3f dd: Add support for conv=nocreat Jeffery Miller 2025-04-16 18:54:01 -05:00
  • 811d660743 Inline and clean up a function that Dmitry Koroban pointed out was trying to memcpy of a byte into an int. Rob Landley 2025-04-17 20:08:33 -05:00
  • 08c7a4b240 Make new kconfig -d write usable defconfig. Rob Landley 2025-04-14 19:56:20 -05:00
  • d025058800 More kconfig replacement work, doesn't get defconfig right yet. Rob Landley 2025-04-14 09:08:43 -05:00
  • 185722d30a Start of new kconfig plumbing, for now just replacing old config2help. Rob Landley 2025-04-09 10:04:36 -05:00
  • 71e619c473 Properly indent help text. Rob Landley 2025-04-07 08:53:57 -05:00
  • 2e23fe9487 No need for killall5 to depend on kill, and let kill -l list multiple signals (which bash's kill can do but debian's /bin/kill can't). Rob Landley 2025-04-07 07:53:26 -05:00
  • 2422a3060d Use strany() instead of enum and strcmp staircase. Rob Landley 2025-03-25 20:13:14 -05:00
  • 61211fb63a android/log: allow selecting log buffer with '-b' Aleksander Morgado 2025-03-24 17:55:42 +00:00
  • 2cc5e25fb1 Fix xattr error test. Rob Landley 2025-03-09 21:27:05 -05:00
  • d1101f2fc8 Fix tar SELinux header LuK1337 2025-03-09 17:57:32 +01:00
  • 922ed5dd6c Minor roadmap refresh. Rob Landley 2025-03-04 14:12:53 -06:00
  • 12bbc85e8a Add nologin. Rob Landley 2025-03-03 16:46:06 -06:00