lkml.org 
[lkml]   [1999]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: uid change in sock_alloc breaks identd
Date
From
> -       inode->i_uid = current->uid;
> - inode->i_gid = current->gid;
> + inode->i_uid = current->fsuid;
> + inode->i_gid = current->fsgid;
>
> Now in the case of a setuid client like rlogin, the real uid is ther user

Well your rlogin should have dropped back to the real user except for
the call to bind() 8). The above also fixes well designed apps where if you
ran them under su you got a wrong report 8)

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:1.122 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site