On Sat, 30 Aug 2008 16:57:08 +0800 ZelluX <zellux@xxxxxxxxx> wrote: > I'm wondering what will happen if a program recurively calls exec(), for > example, a script calls itself repeatitively. Will it cause kernel stack > overflow? Exec replaces the current process with a new executable, which starts from scratch. The important bit here is "from scratch". Everything in the process is wiped out, which means there is no recursion. -- All rights reversed. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ