Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342888 Details for
Bug 462666
app-emulation/vmware-modules - .../work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vmblock, vmci and vsock patch for USER_NS
271-userns.patch (text/plain), 1.49 KB, created by
Yvan Royon
on 2013-03-22 09:07:49 UTC
(
hide
)
Description:
vmblock, vmci and vsock patch for USER_NS
Filename:
MIME Type:
Creator:
Yvan Royon
Created:
2013-03-22 09:07:49 UTC
Size:
1.49 KB
patch
obsolete
>--- a/vmblock-only/linux/inode.c 2013-03-20 17:37:48.000000000 +0100 >+++ b/vmblock-only/linux/inode.c 2013-03-20 17:41:22.000000000 +0100 >@@ -135,7 +135,8 @@ > inode->i_size = INODE_TO_IINFO(inode)->nameLen; > inode->i_version = 1; > inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; >- inode->i_uid = inode->i_gid = 0; >+ inode->i_uid = GLOBAL_ROOT_UID; >+ inode->i_gid = GLOBAL_ROOT_GID; > inode->i_op = &LinkInodeOps; > > d_add(dentry, inode); > >--- a/vmci-only/linux/driver.c 2013-03-20 17:57:35.000000000 +0100 >+++ b/vmci-only/linux/driver.c 2013-03-20 17:57:43.000000000 +0100 >@@ -740,7 +740,7 @@ > goto init_release; > } > >- user = current_uid(); >+ user = from_kuid(current_user_ns(), current_uid()); > retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags, > 0 /* Unused */, vmciLinux->userVersion, > &user, &vmciLinux->context); > >--- a/vsock-only/linux/af_vsock.c 2013-03-20 18:01:48.000000000 +0100 >+++ b/vsock-only/linux/af_vsock.c 2013-03-20 18:01:58.000000000 +0100 >@@ -2866,7 +2866,7 @@ > vsk->connectTimeout = psk->connectTimeout; > } else { > vsk->trusted = capable(CAP_NET_ADMIN); >- vsk->owner = current_uid(); >+ vsk->owner = from_kuid(current_user_ns(), current_uid()); > vsk->queuePairSize = VSOCK_DEFAULT_QP_SIZE; > vsk->queuePairMinSize = VSOCK_DEFAULT_QP_SIZE_MIN; > vsk->queuePairMaxSize = VSOCK_DEFAULT_QP_SIZE_MAX; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 462666
: 342888 |
360218
|
360220
|
375780
|
375786
|
375996
|
375998
|
382404
|
384722
|
403018