add ulimit and umask as builtins
This commit is contained in:
parent
c3e73c01e3
commit
39cff6e750
3 changed files with 202 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ char Fdprefix[]="/dev/fd/";
|
|||
void execfinit(void);
|
||||
void execbind(void);
|
||||
void execmount(void);
|
||||
void execulimit(void);
|
||||
void execumask(void);
|
||||
builtin Builtin[]={
|
||||
"cd", execcd,
|
||||
"whatis", execwhatis,
|
||||
|
|
@ -45,6 +47,8 @@ builtin Builtin[]={
|
|||
".", execdot,
|
||||
"finit", execfinit,
|
||||
"flag", execflag,
|
||||
"ulimit", execulimit,
|
||||
"umask", execumask,
|
||||
0
|
||||
};
|
||||
#define SEP '\1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue