diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-19 02:39:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-28 17:12:23 +0800 |
commit | ae850b2a23083b489b85dca469110aa7a76d8976 (patch) | |
tree | c4d4730ac57d8812343ced3f1eccef7785759346 /src | |
parent | exec: Do not allocate stack string in padvance (diff) | |
download | dash-ae850b2a23083b489b85dca469110aa7a76d8976.tar.gz dash-ae850b2a23083b489b85dca469110aa7a76d8976.zip |
builtin: Mark more regular built-ins
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>
Diffstat (limited to '')
-rw-r--r-- | src/builtins.def.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/builtins.def.in b/src/builtins.def.in index 4441fe4..95e420c 100644 --- a/src/builtins.def.in +++ b/src/builtins.def.in @@ -69,11 +69,11 @@ 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 @@ -81,14 +81,14 @@ shiftcmd -s shift timescmd -s times 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 |