Subject: Re: out of memory locks my terminal up
To: None <jwjr@name.net>
From: Wolfgang Solfrank <ws@tools.de>
List: netbsd-help
Date: 10/02/1998 17:36:00
Hi,

> "Perry E. Metzger" says:
> ...
> > Check the man page for your shell. ulimit is a shell builtin.

While one might argue that it would be appropriate to have a man page
for ulimit...

> Aha, thanks!
> 
> Too much Solaris lately, where ulimit is also an ELF.

(Actually it's a shell script, not an executable, but...)

This is one of the big jokes in slowlaris.  Same as with alias, bg, cd,
fg, hash, jobs, read, umask, unalias and wait.  They blindly linked the
same shell script with the names of all shell builtin commands.

All of the above mentioned commands don't make sense when called in a
subprocess, as they would work on the subprocess and not change anything
in the calling shell process which is why they were built into the shell
in the first place.

(Granted, there are now a few builtins in newer shells like e.g. test,
that are only builtin for speed purposes, and those make perfect sense
to run in a subprocess).

Ciao,
Wolfgang
-- 
ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800