Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cwx_holle:poulsbo
psb
0002-Euid-went-into-cred-structure-from-task_st...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Euid-went-into-cred-structure-from-task_struct.patch of Package psb
From 908bb5ee9a78c5aa97392368da152db3aa314bc8 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel <lkundrak@v3.sk> Date: Sun, 8 Nov 2009 04:16:32 +0100 Subject: [PATCH 2/3] Euid went into cred structure from task_struct Bring up to date with mainline commit b6dff3ec5e116e3af6f537d4caedcad6b9e5082a --- drm_fops.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drm_fops.c b/drm_fops.c index cc09fc1..15f1553 100644 --- a/drm_fops.c +++ b/drm_fops.c @@ -252,7 +252,11 @@ static int drm_open_helper(struct inode *inode, struct file *filp, memset(priv, 0, sizeof(*priv)); filp->private_data = priv; priv->filp = filp; +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) priv->uid = current->euid; +#else + priv->uid = current->cred->euid; +#endif priv->pid = current->pid; priv->minor = minor; priv->head = drm_heads[minor]; -- 1.6.4.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor