klibc-bot for Herbert Xu
2020-Mar-28 21:49 UTC
[klibc] [klibc:update-dash] dash: builtin: Mark more regular built-ins
Commit-ID: a24fb71983693cab52a3b9f5c163a54518a170a1 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a24fb71983693cab52a3b9f5c163a54518a170a1 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sat, 19 May 2018 02:39:49 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: builtin: Mark more regular built-ins [ dash commit ae850b2a23083b489b85dca469110aa7a76d8976 ] This patch marks the following built-ins as regular, meaning that they cannot be overriden using PATH search: hash pwd type ulimit Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/builtins.def.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/dash/builtins.def.in b/usr/dash/builtins.def.in index e1169632..e65749fd 100644 --- a/usr/dash/builtins.def.in +++ b/usr/dash/builtins.def.in @@ -69,25 +69,25 @@ exitcmd -s exit exportcmd -as export -as readonly falsecmd -u false getoptscmd -u getopts -hashcmd hash +hashcmd -u hash jobscmd -u jobs localcmd -as local printfcmd printf -pwdcmd pwd +pwdcmd -u pwd readcmd -u read returncmd -s return setcmd -s set shiftcmd -s shift trapcmd -s trap truecmd -s : -u true -typecmd type +typecmd -u type umaskcmd -u umask unaliascmd -u unalias unsetcmd -s unset waitcmd -u wait aliascmd -au alias #ifdef HAVE_GETRLIMIT -ulimitcmd ulimit +ulimitcmd -u ulimit #endif testcmd test [ killcmd -u kill