taglinefilesource code
O_NOCTTY1321drivers/char/tty_io.cnoctty = filp->f_flags & O_NOCTTY;
O_NOCTTY397fs/open.cf->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);