projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm: export the DRM permission check code
[linux-2.6-block.git]
/
include
/
drm
/
drmP.h
diff --git
a/include/drm/drmP.h
b/include/drm/drmP.h
index 4717449d6aa90be0fa24f7f8e9cecc03e2489439..3b0c50f7412a1d1c522f76712869f6c0a5e2187b 100644
(file)
--- a/
include/drm/drmP.h
+++ b/
include/drm/drmP.h
@@
-887,6
+887,7
@@
static inline bool drm_is_primary_client(const struct drm_file *file_priv)
/*@{*/
/* Driver support (drm_drv.h) */
+extern int drm_ioctl_permit(u32 flags, struct drm_file *file_priv);
extern long drm_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg);
extern long drm_compat_ioctl(struct file *filp,