Messages in this thread | | | Subject | Re: uid change in sock_alloc breaks identd | Date | Sun, 19 Sep 1999 00:41:29 +0100 (BST) | From | Alan Cox <> |
| |
> - 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/
| |