commit | d162a7b978a98b910e410dc10a40d5de12db0419 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jan 12 23:19:11 2022 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jan 12 23:19:11 2022 +0100 |
tree | 63271dbbe027b26692befba9944d0554b00968d0 | |
parent | 004cefa918483513a9eca13e7701c74dff160e95 [diff] |
sulogin: increase util-linux compatibility 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 <vda.linux@googlemail.com>