[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
> -       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)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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