Hello, > But according to POSIX Terminal Interface, the terminal driver should > send SIGTTIN and SIGTTOU to the process if an Background process tries > to read or write the Terminal. > How does Linux Kernel handle That? It seems that you (or probably POSIX docs) are confusing two different things: background process and a deamon. A deamon doesn't have it's own controolling terminal so it must not read/write from/to stdio. Perhaps this is what POSIX docs are refering to. Bye. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/