Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 370342 Details for
Bug 482336
Can't log in to Gnome: gnome-shell segfault error 4 in libcogl.so.12.1.1 when user is not in "video" group
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
systemd-apply-acl-nvidia.patch
apply-ACL-for-nvidia-device-nodes.patch (text/plain), 1.27 KB, created by
Pacho Ramos
on 2014-02-13 19:22:56 UTC
(
hide
)
Description:
systemd-apply-acl-nvidia.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2014-02-13 19:22:56 UTC
Size:
1.27 KB
patch
obsolete
>From: Ludwig Nussel <ludwig.nussel@suse.de> >Date: Mon, 8 Apr 2013 14:51:47 +0200 >Subject: apply ACL for nvidia device nodes > >set ACL on nvidia devices (bnc#808319). >--- > src/login/logind-acl.c | 3 +++ > 1 file changed, 3 insertions(+) > > >Index: systemd-208/src/login/logind-acl.c >=================================================================== >--- systemd-208.orig/src/login/logind-acl.c >+++ systemd-208/src/login/logind-acl.c >@@ -287,6 +287,22 @@ int devnode_acl_all(struct udev *udev, > r = devnode_acl(n, flush, del, old_uid, add, new_uid); > } > >+ /* only apply ACL on nvidia* if /dev/nvidiactl exists */ >+ if (devnode_acl("/dev/nvidiactl", flush, del, old_uid, add, new_uid) >= 0) { >+ int i; >+ char *devname; >+ >+ for (i = 0; i <= 256 ; i++) { >+ if (asprintf(&devname, "/dev/nvidia%d", i) < 0) >+ break; >+ if (devnode_acl(devname, flush, del, old_uid, add, new_uid) < 0) { >+ free(devname); >+ break; >+ } >+ free(devname); >+ } >+ } >+ > finish: > udev_enumerate_unref(e); > set_free_free(nodes);
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 482336
:
356876
|
356902
|
356966
|
356968
|
356978
| 370342