<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/loginutils, branch su_cmd2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-23T14:14:55+00:00</updated>
<entry>
<title>sush: new applet</title>
<updated>2023-04-23T14:14:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-23T12:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a6b004d72931ab656293e9ab3a3cfb810b2764de'/>
<id>urn:sha1:a6b004d72931ab656293e9ab3a3cfb810b2764de</id>
<content type='text'>
Introduce the new applet sush.  It's like su but it permits additional
arguments on the command line which are passed to the elevated shell.

Adds 144-168 bytes.  (O bytes if it's not enabled.)
</content>
</entry>
<entry>
<title>su: properly quote command</title>
<updated>2023-04-23T14:12:44+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-23T12:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3354901c71c3b035be7edc6fd17e0a9b20c7adc0'/>
<id>urn:sha1:3354901c71c3b035be7edc6fd17e0a9b20c7adc0</id>
<content type='text'>
Previously the command passed to the elevated shell was placed
in literal double quotes on the command line.  Instead it should
be subject to full quoting by the quote_arg() function.

Tweak command line processing.

Costs 24-32 bytes.
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2022-02-09T09:05:39+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-02-09T09:03:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=492d0a7492a57fe8f02c766e25960b0ce0d88759'/>
<id>urn:sha1:492d0a7492a57fe8f02c766e25960b0ce0d88759</id>
<content type='text'>
Fix conflicts in reset and ash.

Redefine the new safe_read_key() as a reference to read_key().

Disable SHA256_HWACCEL.
</content>
</entry>
<entry>
<title>libbb: invert the meaning of SETUP_ENV_NO_CHDIR -&gt; SETUP_ENV_CHDIR</title>
<updated>2022-01-13T11:50:48+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-13T11:50:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=931c55f9e2b41473132683488820c6fb7c47506b'/>
<id>urn:sha1:931c55f9e2b41473132683488820c6fb7c47506b</id>
<content type='text'>
Double negatives are hard to grok.

function                                             old     new   delta
login_main                                           986     988      +2
su_main                                              474     470      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-4)               Total: -2 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2022-01-13T08:02:41+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-01-13T08:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4734416a21312488a5099a297907783bee4ccc22'/>
<id>urn:sha1:4734416a21312488a5099a297907783bee4ccc22</id>
<content type='text'>
Fix merge conflicts in coreutils/ls.c and shell/ash.c.

Update config files to turn off SHA1_HWACCEL.  It uses non-portable
assembler.
</content>
</entry>
<entry>
<title>sulogin: util-linux does not say "normal startup" on Ctrl-D</title>
<updated>2022-01-13T00:43:11+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-13T00:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b3eec1651fb02d70716caa355f49320719f74c75'/>
<id>urn:sha1:b3eec1651fb02d70716caa355f49320719f74c75</id>
<content type='text'>
function                                             old     new   delta
sulogin_main                                         341     331     -10
.rodata                                           104327  104312     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-25)             Total: -25 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>sulogin: start _login_ shell only with -p</title>
<updated>2022-01-13T00:38:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-13T00:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=96771ec5f5fb81b479973fbd25af48c5cb83b2bb'/>
<id>urn:sha1:96771ec5f5fb81b479973fbd25af48c5cb83b2bb</id>
<content type='text'>
Also, shorten/eliminate messages to be closer to util-linux.

function                                             old     new   delta
packed_usage                                       34233   34238      +5
sulogin_main                                         340     341      +1
.rodata                                           104380  104327     -53
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 6/-53)             Total: -47 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: ^C with SIG_INGed SIGINT should not exit the shell</title>
<updated>2022-01-13T00:15:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-13T00:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=68b402ee51f12f8c3b11638b042f57e025359faf'/>
<id>urn:sha1:68b402ee51f12f8c3b11638b042f57e025359faf</id>
<content type='text'>
function                                             old     new   delta
__pgetc                                              501     522     +21

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>sulogin: increase util-linux compatibility</title>
<updated>2022-01-12T22:19:11+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-12T22:19:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d162a7b978a98b910e410dc10a40d5de12db0419'/>
<id>urn:sha1:d162a7b978a98b910e410dc10a40d5de12db0419</id>
<content type='text'>
Change to root's HOME. Set some envvars. Steal ctty if necessary and possible.

function                                             old     new   delta
sulogin_main                                         240     340    +100
setup_environment                                    225     233      +8
su_main                                              479     474      -5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 108/-5)            Total: 103 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2022-01-06T07:46:38+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-01-06T07:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b8751bbc9ac24e71fbe1e79c69074b4c87a134d8'/>
<id>urn:sha1:b8751bbc9ac24e71fbe1e79c69074b4c87a134d8</id>
<content type='text'>
Fix merge conflict in miscutils/less.c.

Use exit_SUCCESS() where possible.
</content>
</entry>
</feed>
