Elliott Hughes dixit:
>> ‣ especially relevant for Android /system/etc/mkshrc
>
>(we set TMPDIR to /data/local/tmp nowadays.)
Ah ok, good. Who can write there?
Still a good idea to make the rc files so robust that
the shell can at least come up cleanly… ;)
bye,
//mirabilos
--
(gnutls can also be used, but if you are compiling lynx for your own use,
there is no reason to consider using that package)
-- Thomas E. Dickey on the Lynx mailing list, about OpenSSL
--
You received this bug notification because you are a member of mksh
Mailing List, which is subscribed to mksh.
Matching subscriptions: mkshlist-to-mksh-bugmail
https://bugs.launchpad.net/bugs/1441853
Title:
dot.mkshrc robustness
Status in The MirBSD Korn Shell:
Triaged
Bug description:
Make dot.mkshrc (and prt.mkshrc) robust:
• work with “set -e” and “set -u”, often used in Debian
• not suck with “set -x”, well not much
• work with read-only filesystem, in particular no $TMPDIR (pointed out by
Natureshadow)
‣ especially relevant for Android /system/etc/mkshrc
It's already mostly alias-proof and function-proof¹, thankfully.
This is especially relevant for both being /bin/sh (or /system/bin/sh
ofc) and root's login shell, hence importance High where it'd
otherwise be Medium.
① Assuming the user is not stupid and defines shell functions named
“return”, “typeset”, “command”, etc. – i.e. POSIX builtins and
specials plus the ksh “typeset” one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mksh/+bug/1441853/+subscriptions