current tty

richard -rw- weinberger richard.weinberger at gmail.com
Wed May 8 08:24:10 EDT 2013


On Wed, May 8, 2013 at 6:21 AM, Hatte John <june.tune.sea at gmail.com> 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



More information about the Kernelnewbies mailing list