[Toybox] [Patches] - Issue fixes

Ashwini Sharma ak.ashwini1981 at gmail.com
Tue Oct 7 04:47:29 PDT 2014


Hi Rob, List,

While verifying toybox on one of our products, came across few issues.
Attached are the patches to those.

1. cp.c : For __mv__ with __-f__ and __-i__ user was prompted.

2. date.c: added support for additional date format parsing, a SIGSEGV for
setdate,       output in __-u__.

3. df.c: Output format and strings as specified in Posix and a correction
when a
    device name is given. e.g. df /dev/sda1

4. du.c: stop the traversal on a self pointing link.

5. expr.c: Added '==' sign into list of operations. Also added support for
regex pattern match.

6. ifconfig.c: stop parsing if interface name is encountered first.

7. killall.c: output formatting corrected. It was right justifying 4000
places.

8. kill.c: printing signal numbers along with names while listing.
             Also listing the signals on command line, if name is given
list the number
             and vice-versa.
   e.g    $ ./toybox kill -l ABRT 2 ILL
            6
            INT
            4
9 lib.c:  A static analysis issue fix for retrun value check.
   supporting change for kill.c.
   A Change in string_to_mode, while parsing sticky/suid bit for u, g, o.
   e.g chmod u+s,o+s,g+s file
   And a correction in  human_readable().

Few more will follow..

rgds,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp.c.patch
Type: application/octet-stream
Size: 858 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0036.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: date.c.patch
Type: application/octet-stream
Size: 8200 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0037.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df.c.patch
Type: application/octet-stream
Size: 2528 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0038.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: du.c.patch
Type: application/octet-stream
Size: 1126 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0039.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expr.c.patch
Type: application/octet-stream
Size: 963 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0040.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig.c.patch
Type: application/octet-stream
Size: 368 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0041.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kill.c.patch
Type: application/octet-stream
Size: 750 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0042.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: killall.c.patch
Type: application/octet-stream
Size: 444 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0043.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib.c.patch
Type: application/octet-stream
Size: 1177 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0044.obj>


More information about the Toybox mailing list