<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb, branch FRP</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=FRP</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=FRP'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2015-05-18T08:36:27+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2015-05-18T08:36:27+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-05-18T08:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=60063627a6d540871061854a362047e6517f821c'/>
<id>urn:sha1:60063627a6d540871061854a362047e6517f821c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: Enable support for !CONFIG_MULTIUSER</title>
<updated>2015-05-12T21:59:57+00:00</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel.thompson@linaro.org</email>
</author>
<published>2015-05-12T06:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a818777d4249e934ef7c9e6e7df8475d6692f315'/>
<id>urn:sha1:a818777d4249e934ef7c9e6e7df8475d6692f315</id>
<content type='text'>
Linux recently gained a new config option, CONFIG_MULTIUSER, that makes
support for non-root users optional. This results in a number of syscalls
being disabled: setuid, setregid, setgid, setreuid, setresuid, getresuid,
setresgid, getresgid, setgroups, getgroups, setfsuid, setfsgid, capget,
capset.

Currently a number of busybox applets, including login, struggle to run
when CONFIG_MULTIUSER is disabled. Even the root user is unable to login:
  login: can't set groups: Functi

This patch adds code to make change_identity() a nop on single user
systems. It works by recognising the signature errno value (ENOSYS, due
to the system calls being disabled) and, to avoid security risks, only
deploys when the current uid and target uid is the same.

After the patch is applied any attempt to switch to a non-root user will
fail. Thus a badly configured userspace (for example, one that tries to
start a daemon as a non-root user when the kernel cannot support this)
will report errors as one would expect.

Signed-off-by: Daniel Thompson &lt;daniel.thompson@linaro.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Bionic lacks tcdrain; provide a workaround</title>
<updated>2015-04-26T11:14:50+00:00</updated>
<author>
<name>Matt Whitlock</name>
<email>busybox@mattwhitlock.name</email>
</author>
<published>2015-04-26T11:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=93b98ff5726fd620e1f123d04072b956412c1b55'/>
<id>urn:sha1:93b98ff5726fd620e1f123d04072b956412c1b55</id>
<content type='text'>
Signed-off-by: Matt Whitlock &lt;busybox@mattwhitlock.name&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Bionic lacks ttyname_r; provide a workaround</title>
<updated>2015-04-25T19:32:48+00:00</updated>
<author>
<name>Matt Whitlock</name>
<email>busybox@mattwhitlock.name</email>
</author>
<published>2015-04-25T19:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cee59053dcf47b4a3ab87f7654c1ed20620def16'/>
<id>urn:sha1:cee59053dcf47b4a3ab87f7654c1ed20620def16</id>
<content type='text'>
Signed-off-by: Matt Whitlock &lt;busybox@mattwhitlock.name&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>mingw: enable a minimal version of nc by default</title>
<updated>2015-04-22T20:34:25+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-04-22T20:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=db9888142ac02f4aba3f72d29f42d5e982cbf41e'/>
<id>urn:sha1:db9888142ac02f4aba3f72d29f42d5e982cbf41e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>special-case {true,false,test} --help</title>
<updated>2015-04-21T14:00:41+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-04-21T14:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=de5edadee2dca2896492f97ab3a56e389305e74d'/>
<id>urn:sha1:de5edadee2dca2896492f97ab3a56e389305e74d</id>
<content type='text'>
This also removes their help texts.

function                                             old     new   delta
run_applet_no_and_exit                               442     452     +10
packed_usage                                       30713   30625     -88

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: remove unnecessary argument to nonblock_immune_read</title>
<updated>2015-04-20T11:41:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@tigress.co.uk</email>
</author>
<published>2015-04-19T09:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=61d6ae244af424b2a05468307723f21c8810ab9e'/>
<id>urn:sha1:61d6ae244af424b2a05468307723f21c8810ab9e</id>
<content type='text'>
The loop_on_EINTR argument to nonblock_immune_read is always set to 1.

function                                             old     new   delta
xmalloc_reads                                        200     195      -5
pgetc                                                488     483      -5
argstr                                              1313    1308      -5
nonblock_immune_read                                 123      86     -37
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-52)             Total: -52 bytes

Signed-off-by: Ron Yorston &lt;rmy@tigress.co.uk&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>update copyright years</title>
<updated>2015-04-02T21:03:56+00:00</updated>
<author>
<name>Aaro Koskinen</name>
<email>aaro.koskinen@iki.fi</email>
</author>
<published>2015-04-01T21:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7b729edd33aea5361e0740df800a1a0a1ff70f7f'/>
<id>urn:sha1:7b729edd33aea5361e0740df800a1a0a1ff70f7f</id>
<content type='text'>
Copyright years seem to be out of date, e.g. coreutils/truncate.c
has Copyright (C) 2015.

Signed-off-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
</entry>
<entry>
<title>*: Switch to POSIX utmpx API</title>
<updated>2015-04-02T21:03:46+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2015-04-02T21:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=86a7f18f211af1abda5c855d2674b0fcb53de524'/>
<id>urn:sha1:86a7f18f211af1abda5c855d2674b0fcb53de524</id>
<content type='text'>
UTMP is SVID legacy, UTMPX is mandated by POSIX.

Glibc and uClibc have identical layout of UTMP and UTMPX, both of these
libc treat _PATH_UTMPX as _PATH_UTMP so from a user-perspective nothing
changes except the names of the API entrypoints.

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2015-03-23T13:56:37+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-03-23T13:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=486a3907f353adeb7f3ced5357db1e604659b785'/>
<id>urn:sha1:486a3907f353adeb7f3ced5357db1e604659b785</id>
<content type='text'>
</content>
</entry>
</feed>
