1dd3704c5ffea926f61a96bb7de7d9dbee52fa44 |
|
04-Apr-2015 |
Paul Barker <paul@paulbarker.me.uk> |
To ensure that toybox can be installed alongside busybox without confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox.
/external/toybox/toys/other/netcat.c
|
c776bde13bb2767db2943bc3b02df737a465c035 |
|
10-Mar-2015 |
Rob Landley <rob@landley.net> |
Use xsignal() instead of signal().
/external/toybox/toys/other/netcat.c
|
c0045207a7cd3bc11aace920d895c69b027c16af |
|
07-Feb-2015 |
Rob Landley <rob@landley.net> |
Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs().
/external/toybox/toys/other/netcat.c
|
c2415d16a8991e2192bda002baab840bfa4d5d79 |
|
16-Jan-2015 |
Elliott Hughes <enh@google.com> |
AOSP master has <pty.h> and builds netcat/nc.
/external/toybox/toys/other/netcat.c
|
f492fccc9cebbfa91083c345b9bb06d283f6fe93 |
|
14-Jan-2015 |
Rob Landley <rob@landley.net> |
Switch netcat to stop parsing command line at first nonoption argument instead of stopping after -l or -L. Hyejin Kim tried "toyboxd nc nc -p 1234 -l rm mv ps" (which attempted to run "nc rm mv ps") and "toybox nc -l -p 1234" (which attempted to run "-p 1234") and found the behavior confusing. So make it work like xargs, where all netcat options have to come before the start of any child command.
/external/toybox/toys/other/netcat.c
|
f3e56f4e4ff773de95fa2c9daf979734d826fc33 |
|
01-Jan-2015 |
Rob Landley <rob@landley.net> |
Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags). This means the flag space is no longer packed, but leaves gaps where the zeroes go. (Actual flag bit positions are the same for all configs.) Since the option parsing needs to know where the holes are, the OPTSTR values are now generated as part of flags.h with ascii 1 values for the disabled values. (So generated/oldflags.h went away.) This also means that the option string argument for OLDTOY() went away, it now uses the same arguments as the NEWTOY() it references.
/external/toybox/toys/other/netcat.c
|
46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 |
|
19-Nov-2014 |
Isaac Dunham <ibid.ag@gmail.com> |
probe for getspnam(), forkpty(), utmpx, replace sethostname() Android is missing all of these; we need to probe for some so we have a config symbol to depend on. sethostname() is easily replaced. We got termios.h via pty.h; now it's not included in configure-step tools, so we need termios.h to generate globals.
/external/toybox/toys/other/netcat.c
|
21f3c8db00f0d4a3f0989559847d2564f4c73a11 |
|
21-Oct-2014 |
Rob Landley <rob@landley.net> |
More static analysis fixes from Ashwini Sharma.
/external/toybox/toys/other/netcat.c
|
d8872c43b48eae5501998a4e5a84337017d8fbe6 |
|
31-May-2014 |
Rob Landley <rob@landley.net> |
Introduce xfork() and make commands use it, and make some WEXITSTATUS() use WIFEXITED() and WTERMSIG()+127.
/external/toybox/toys/other/netcat.c
|
5486075caee329fcc5ab7766a8a571fd3a45d363 |
|
04-Feb-2014 |
Rob Landley <rob@landley.net> |
Tweak help text.
/external/toybox/toys/other/netcat.c
|
98c322e881c6ab8d4f54c23feb1a106c23673640 |
|
02-Nov-2013 |
Rob Landley <rob@landley.net> |
Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.
/external/toybox/toys/other/netcat.c
|
a817a02c00a06fbf2090259320968addb5f46e58 |
|
19-Jul-2013 |
Rob Landley <rob@landley.net> |
Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid free/reuse bug during argument parsing.
/external/toybox/toys/other/netcat.c
|
c810f9f80b9db62de09b6cf4c6ca770eed72ce53 |
|
06-Jul-2013 |
Isaac Dunham <idunham@lavabit.com> |
This inlines CRC64, and nothing more. The functions involved were called only once.
/external/toybox/toys/other/netcat.c
|
7aa651a6a4496d848f86de9b1e6b3a003256a01f |
|
14-Nov-2012 |
Rob Landley <rob@landley.net> |
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
/external/toybox/toys/other/netcat.c
|
c0e56edaf256adb6c60c5a052525a1ffbb927901 |
|
08-Oct-2012 |
Rob Landley <rob@landley.net> |
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
/external/toybox/toys/other/netcat.c
|
f91b7c89bc852868692b9518185421ebb52d67b3 |
|
26-Aug-2012 |
Rob Landley <rob@landley.net> |
Regularize command headers, update links to standards documents.
/external/toybox/toys/other/netcat.c
|
3a9241add947cb6d24b5de7a8927517426a78795 |
|
25-Aug-2012 |
Rob Landley <rob@landley.net> |
Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/toys/other/netcat.c
|