<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/init, 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-04-02T21:03:46+00:00</updated>
<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>libbb: code shrink by factoring out common update_utmp_DEAD_PROCESS</title>
<updated>2015-01-05T14:37:58+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-05T14:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=da9212667c99f2f2121747c4715d067deb7c155b'/>
<id>urn:sha1:da9212667c99f2f2121747c4715d067deb7c155b</id>
<content type='text'>
function                                             old     new   delta
update_utmp_DEAD_PROCESS                               -      17     +17
telnetd_main                                        1685    1674     -11
mark_terminated                                       56      45     -11
handle_sigchld                                        74      63     -11

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: do not run shutdown/reexec actions from signal handler</title>
<updated>2014-11-21T19:10:57+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2014-11-21T19:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2bba9ad67a917de2624d427c8c107ce3e2d3d085'/>
<id>urn:sha1:2bba9ad67a917de2624d427c8c107ce3e2d3d085</id>
<content type='text'>
this is racy wrt various libc functions such as syslog()

function                                             old     new   delta
check_delayed_sigs                                   182     352    +170
init_main                                            772     728     -44
restart_handler                                       74       -     -74
halt_reboot_pwoff                                     79       -     -79
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/1 up/down: 170/-197)          Total: -27 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: do not fail build if SIGPWR is not defined</title>
<updated>2014-01-30T12:22:04+00:00</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2014-01-29T08:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=922fdf65273f3047c1f60edee6af555cea1dd499'/>
<id>urn:sha1:922fdf65273f3047c1f60edee6af555cea1dd499</id>
<content type='text'>
Apparently, some *BSD variants (and maybe some other OSes) does not define
SIGPWR signal.  So since commit 760fc6debcba8c, busybox fails to build on
such platforms.  Fix this.

Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: halt on SIGPWR too</title>
<updated>2013-11-26T12:54:48+00:00</updated>
<author>
<name>Bogdan Purcareata</name>
<email>bogdan.purcareata@freescale.com</email>
</author>
<published>2013-11-26T12:54:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=760fc6debcba8cb5ca8d8e2252fac3757c453e11'/>
<id>urn:sha1:760fc6debcba8cb5ca8d8e2252fac3757c453e11</id>
<content type='text'>
Most init processes implement a handler for SIGPWR that gracefully
stops all child processes when shutting down a machine. Some other
technologies rely on this signal - e.g. Busybox powered LXC
containers.

This patch makes busybox init halt when receiving SIGPWR.

Signed-off-by: Bogdan Purcareata &lt;bogdan.purcareata@freescale.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: move nuke_str() from passwd into libbb</title>
<updated>2013-11-19T12:36:45+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2013-11-19T12:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8b59b2c13ededb2c82e36193b6d6e969df36531c'/>
<id>urn:sha1:8b59b2c13ededb2c82e36193b6d6e969df36531c</id>
<content type='text'>
function                                             old     new   delta
nuke_str                                               -      15     +15
ask_and_check_password_extended                      215     206      -9
init_main                                            781     771     -10
nuke_str                                              27       -     -27
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 15/-46)            Total: -31 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: fix illegal memory access when max message length is reached</title>
<updated>2013-11-02T23:13:16+00:00</updated>
<author>
<name>Yuan-Hsiang Lee</name>
<email>yhlee@ubnt.com</email>
</author>
<published>2013-11-02T23:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b21bc80c7651bfb5a9e001cc220a598cf89b7cfd'/>
<id>urn:sha1:b21bc80c7651bfb5a9e001cc220a598cf89b7cfd</id>
<content type='text'>
Signed-off-by: Yuan-Hsiang Lee &lt;yhlee@ubnt.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>bootchartd: warn if .config looks wrong</title>
<updated>2013-11-02T23:07:31+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2013-11-02T23:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=18b461925c6297f241c2b51f96f5d6d5f5de9e1d'/>
<id>urn:sha1:18b461925c6297f241c2b51f96f5d6d5f5de9e1d</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: better --help text</title>
<updated>2013-10-12T02:52:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2013-10-12T02:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=730e4d8b5245502803c9c2335e96d81f70d63012'/>
<id>urn:sha1:730e4d8b5245502803c9c2335e96d81f70d63012</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>init: don't srop unterminated processes' entries during inittab reload</title>
<updated>2013-08-16T10:01:58+00:00</updated>
<author>
<name>Paulius Zaleckas</name>
<email>paulius.zaleckas@gmail.com</email>
</author>
<published>2013-08-16T10:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9f07af6156267f1e3064c14f2bee96560f7ed69d'/>
<id>urn:sha1:9f07af6156267f1e3064c14f2bee96560f7ed69d</id>
<content type='text'>
This feature was removed in 72c99af

It is useful when process is removed from inittab and later added
back, but never terminated. It prevents init from spawning duplicate.

function                                             old     new   delta
check_delayed_sigs                                   176     182      +6

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
