summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2014-10-02 09:58:31 -0700
committerSimon Wilson <simonwilson@google.com>2014-10-06 17:42:27 +0000
commit89ee8f2ea7aa0a1e9af8184da2e3e3282976f196 (patch)
tree102ab1424b244f09e33c99bcd52bbfa92ba6fedd
parentb431796a84b21383566d0d1b1728da4fe265a357 (diff)
downloadolio-linux-3.10-89ee8f2ea7aa0a1e9af8184da2e3e3282976f196.tar.xz
olio-linux-3.10-89ee8f2ea7aa0a1e9af8184da2e3e3282976f196.zip
gfx: pvrsrvctl - CAP_SYS_ADMIN needed for gfx init
Instead of requiring CAP_SYS_MODULE for gpu driver initialization, use CAP_SYS_ADMIN (which is more appropriate). Change-Id: I86cb50849d90ee9aef366aa4be8d916771eeb369 Signed-off-by: Simon Wilson <simonwilson@google.com>
-rwxr-xr-xdrivers/gpu/pvr/services4/srvkm/env/linux/osfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/services4/srvkm/env/linux/osfunc.c b/drivers/gpu/pvr/services4/srvkm/env/linux/osfunc.c
index c9b577eddbe..f13d0cfa586 100755
--- a/drivers/gpu/pvr/services4/srvkm/env/linux/osfunc.c
+++ b/drivers/gpu/pvr/services4/srvkm/env/linux/osfunc.c
@@ -3169,7 +3169,7 @@ PVRSRV_ERROR OSEventObjectSignalKM(IMG_HANDLE hOSEventKM)
******************************************************************************/
IMG_BOOL OSProcHasPrivSrvInit(IMG_VOID)
{
- return (capable(CAP_SYS_MODULE) != 0) ? IMG_TRUE : IMG_FALSE;
+ return (capable(CAP_SYS_ADMIN) != 0) ? IMG_TRUE : IMG_FALSE;
}
/*!