doing mount with non-fake uid gid

This commit is contained in:
Olga Kornievskaia 2010-11-08 11:59:28 -05:00 committed by unknown
parent a25a5221d9
commit 24c28df19d
4 changed files with 18 additions and 2 deletions

View file

@ -72,6 +72,8 @@ static int handle_mount(nfs41_upcall *upcall)
goto out;
}
// add a mount
root->uid = upcall->uid;
root->gid = upcall->gid;
status = nfs41_root_mount_addrs(root, &addrs, 0, 0, &client);
if (status) {
eprintf("nfs41_root_mount() failed with %d\n", status);