diff options
| author | Manuel Traut <manut@linutronix.de> | 2019-01-09 17:30:15 +0100 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-01-28 19:48:41 +0106 |
| commit | 5b9736bf793623ed5e95cde3a3e6017399ecd095 (patch) | |
| tree | 13ceeeb76aa9eac1079677ec59f8e8b8b20434ab /schulung_tools/zombie/Makefile | |
| parent | 5dfa2823a0ee23303c9e1dd7e38833e3e6e01396 (diff) | |
add a zombie example
To show that processes become zombies if you don't wait.
Also show that init becomes the father of your zombies if the original father
dies.
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'schulung_tools/zombie/Makefile')
| -rw-r--r-- | schulung_tools/zombie/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/schulung_tools/zombie/Makefile b/schulung_tools/zombie/Makefile new file mode 100644 index 0000000..58c8196 --- /dev/null +++ b/schulung_tools/zombie/Makefile @@ -0,0 +1,8 @@ +CFLAGS += -g + +zombie: zombie.c + +clean: + rm -f zombie + +.PHONY: clean |
