From 5b9736bf793623ed5e95cde3a3e6017399ecd095 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 9 Jan 2019 17:30:15 +0100 Subject: 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 --- schulung_tools/zombie/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 schulung_tools/zombie/Makefile (limited to 'schulung_tools/zombie/Makefile') 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 -- cgit v1.2.3