<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb, branch embed</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=embed</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=embed'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2018-10-08T07:31:11+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-10-08T07:31:11+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-10-08T07:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=eee3722fd32c8c0929cfbacdbe0b6524e1fd645c'/>
<id>urn:sha1:eee3722fd32c8c0929cfbacdbe0b6524e1fd645c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unzip: use printable_string() for printing filenames</title>
<updated>2018-09-30T14:56:56+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-30T14:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=349d72c19ced4fae64e8fdd5792b37e78ac2f616'/>
<id>urn:sha1:349d72c19ced4fae64e8fdd5792b37e78ac2f616</id>
<content type='text'>
function                                             old     new   delta
unzip_main                                          2726    2792     +66
printable_string2                                      -      57     +57
identify                                            4329    4336      +7
expmeta                                              659     663      +4
add_interface                                         99     103      +4
beep_main                                            286     289      +3
changepath                                           192     194      +2
builtin_type                                         115     117      +2
devmem_main                                          469     470      +1
input_tab                                           1076    1074      -2
create_J                                            1821    1819      -2
poplocalvars                                         314     311      -3
doCommands                                          2222    2214      -8
do_load                                              918     902     -16
printable_string                                      57       9     -48
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 8/6 up/down: 146/-79)            Total: 67 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>date: do not allow "month #20" and such, closes 11356</title>
<updated>2018-09-23T18:27:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-23T18:27:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=76832ff5c4f107f8a8165fcafc9b05a888cdb964'/>
<id>urn:sha1:76832ff5c4f107f8a8165fcafc9b05a888cdb964</id>
<content type='text'>
function                                             old     new   delta
parse_datestr                                        906     961     +55

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-09-10T13:59:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-09-10T13:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d89ced75b204f0eb5611f522864beb81d1b393f5'/>
<id>urn:sha1:d89ced75b204f0eb5611f522864beb81d1b393f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove_file: don't call rmdir if remove_file return failure</title>
<updated>2018-09-09T18:16:04+00:00</updated>
<author>
<name>Chen Yu</name>
<email>yu.chen3@zte.com.cn</email>
</author>
<published>2018-09-04T07:26:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=05b18065ab9c375f6185b65a3631d4c6cc1a4be9'/>
<id>urn:sha1:05b18065ab9c375f6185b65a3631d4c6cc1a4be9</id>
<content type='text'>
When deleting a directory, the directory should not be removed if the
file in the subdirectory fails to be deleted.

Background information:

When I tested the kernel using LTP (linux-test-project).I found the
mv command have some issue. The LTP test case use the mv command to
move the directory t1 in the cgroup file system to the /tmp directory.
becase files in the cgroup file system are not allowed to be removed.
so the mv reported "Permission denied", but I used the ls command to
view the results and found that the directory t1 had been removed
from the cgroup file system. For the same test case, I used the mv
tool in the GNU coreutils, and the directory t1 will not be removed.

the following testcase use busybox mv:

/ # mount -t cgroup -o cpu cgroup /cpu
/ # cd /cpu
/cpu # mkdir -p t1
/cpu # ls
cgroup.clone_children  cpu.cfs_period_us  cpu.stat  t1
cgroup.procs           cpu.cfs_quota_us   notify_on_release  tasks
cgroup.sane_behavior   cpu.shares         release_agent
/cpu # mv t1 /tmp
mv: can't remove 't1/cgroup.procs': Operation not permitted
mv: can't remove 't1/cpu.cfs_period_us': Operation not permitted
mv: can't remove 't1/cpu.stat': Operation not permitted
mv: can't remove 't1/cpu.shares': Operation not permitted
mv: can't remove 't1/cpu.cfs_quota_us': Operation not permitted
mv: can't remove 't1/tasks': Operation not permitted
mv: can't remove 't1/notify_on_release': Operation not permitted
mv: can't remove 't1/cgroup.clone_children': Operation not permitted
/cpu # ls
cgroup.clone_children  cpu.cfs_period_us  cpu.stat  cgroup.procs
cpu.cfs_quota_us       notify_on_release  tasks   cgroup.sane_behavior
cpu.shares             release_agent
/cpu #

This patch fixed it, don't call rmdir if remove_file return failure,
and under certain file systems, the mv could work normally.

Signed-off-by: Chen Yu &lt;yu.chen3@zte.com.cn&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: fix potential NULL pointer use</title>
<updated>2018-09-03T08:36:51+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-03T08:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=28d91d754e423fd0df584bbfa9b903eacac21224'/>
<id>urn:sha1:28d91d754e423fd0df584bbfa9b903eacac21224</id>
<content type='text'>
function                                             old     new   delta
unicode_conv_to_printable2                           193     216     +23

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: fix use-after-free in copy_file</title>
<updated>2018-09-03T08:25:29+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-03T08:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3060992ec94722b4f8f3711a1884270c81a6e5f5'/>
<id>urn:sha1:3060992ec94722b4f8f3711a1884270c81a6e5f5</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: in xmalloc_fgets(), use size_t for bb_get_chunk_from_file()</title>
<updated>2018-09-02T16:48:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-02T16:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=22a99516206b33b7ae124d426319bab03d5c8309'/>
<id>urn:sha1:22a99516206b33b7ae124d426319bab03d5c8309</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Revert "libbb: remove unnecessary variable in xmalloc_fgets"</title>
<updated>2018-09-02T16:35:29+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-09-02T16:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0d598ab9f03dbf320f7b81c05e4a94cb303dfbc7'/>
<id>urn:sha1:0d598ab9f03dbf320f7b81c05e4a94cb303dfbc7</id>
<content type='text'>
The variable is in fact necessary.

    commit 2da9724b56169f00bd7fb6b9a11c9409a7620981
    Author: Quentin Rameau &lt;quinq@fifth.space&gt;
    Date:   Sun Apr 1 17:05:35 2018 +0200
        libbb: remove unnecessary variable in xmalloc_fgets

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>fix !CONFIG_FLOAT_DURATION build</title>
<updated>2018-08-26T14:32:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-08-26T14:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6791140123ebe7535f525f1a893a8536219122c4'/>
<id>urn:sha1:6791140123ebe7535f525f1a893a8536219122c4</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
