aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-05-19 02:39:49 +0800
committerBen Hutchings <ben@decadent.org.uk>2020-03-28 21:42:55 +0000
commita24fb71983693cab52a3b9f5c163a54518a170a1 (patch)
treec93fe1abcc7074fd7a63dfbcf700dc92bdfaa1d2
parent6e48f19172d90268f524bf1a3788f7c023b24391 (diff)
downloadklibc-a24fb71983693cab52a3b9f5c163a54518a170a1.tar.gz
[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@gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--usr/dash/builtins.def.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/dash/builtins.def.in b/usr/dash/builtins.def.in
index e1169632a3432..e65749fdfe9ae 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