Hi, I am attempting to write a simple module for a 2.4.18 linux kernel based on intercepting syscalls. Within this module I need to access several times to the "current structure" to extract the caller process information. Well, at this point some weird things make me suppose the structure it is not properly located or maybe it is somehow uncompleted. For instance, - "current>uid" is always 1 indepently the process uid (current->euid works!) - "current->user" is always NULL. - "current->files" pointer seems ok but even after having an open socket, (intercepting sys_connect), the "current->files->fd[fd]" remains NULL. I've checked my code and seems really similar to any other lkm. Any help would be very appreciated. Thanks a lot. Pedro. -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ E-Mail: Pedro Bados <pedrobados@eresmas.net> Date: 13-Oct-2003 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/