On Wed, May 8, 2013 at 6:21 AM, Hatte John <june.tune.sea@xxxxxxxxx> wrote: > Hi: > > As I know .the /dev/tty is the current task's tty , which is stored to > current->tty , > My question is when does this value is assgined to current->tty ? As I told you on IRC, struct task_struct has no ->tty member. If your custom/old/whatever kernel has, use grep to find out... Thanks, //richard _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies