projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
connector/userns: replace netlink uses of cap_raised() with capable()
[linux-flexiantxendom0-3.2.10.git]
/
drivers
/
video
/
uvesafb.c
diff --git
a/drivers/video/uvesafb.c
b/drivers/video/uvesafb.c
index
26e83d7
..
b0e2a42
100644
(file)
--- a/
drivers/video/uvesafb.c
+++ b/
drivers/video/uvesafb.c
@@
-73,7
+73,7
@@
static void uvesafb_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *ns
struct uvesafb_task *utask;
struct uvesafb_ktask *task;
- if (!cap_raised(current_cap(), CAP_SYS_ADMIN))
+ if (!capable(CAP_SYS_ADMIN))
return;
if (msg->seq >= UVESAFB_TASKS_MAX)