<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/loginutils, branch su_cmd3</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd3</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-25T08:17:36+00:00</updated>
<entry>
<title>su: allow command file and arguments</title>
<updated>2023-04-25T08:17:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-25T08:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0521050e78cfa153ad281abc0d6cfe9d2fc2e293'/>
<id>urn:sha1:0521050e78cfa153ad281abc0d6cfe9d2fc2e293</id>
<content type='text'>
The real su allows a command file to be run, with arguments given
on the command line.  Similarly it allows the script run with '-c'
to take arguments.

Permit the same in the Windows implementation.  For compatibility
this requires a user name to be specified, even though we only
support elevation.  The user name must be 'root'.

Adds 128-144 bytes.

(GitHub PR #317)
</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>
<entry>
<title>libbb: code shrink: introduce and use [_]exit_SUCCESS()</title>
<updated>2022-01-05T21:16:06+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-05T21:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=db5546ca101846f18294a43b39883bc4ff53613a'/>
<id>urn:sha1:db5546ca101846f18294a43b39883bc4ff53613a</id>
<content type='text'>
function                                             old     new   delta
exit_SUCCESS                                           -       7      +7
_exit_SUCCESS                                          -       7      +7
run_pipe                                            1562    1567      +5
pseudo_exec_argv                                     399     400      +1
finish                                                86      87      +1
start_stop_daemon_main                              1109    1107      -2
shutdown_on_signal                                    38      36      -2
runsv_main                                          1662    1660      -2
redirect                                            1070    1068      -2
read_line                                             79      77      -2
pause_and_low_level_reboot                            54      52      -2
list_i2c_busses_and_exit                             483     481      -2
less_exit                                             12      10      -2
identify                                            4123    4121      -2
grep_file                                           1161    1159      -2
getty_main                                          1519    1517      -2
fsck_minix_main                                     2681    2679      -2
free_session                                         132     130      -2
fdisk_main                                          4739    4737      -2
clean_up_and_exit                                     53      51      -2
bsd_select                                          1566    1564      -2
bb_daemonize_or_rexec                                198     196      -2
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/17 up/down: 21/-34)           Total: -13 bytes

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