Hi, I have a pointer to tty_struct (struct tty_struct *). Is there any way to get the uid from it? Many thanks. Hieu -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/