Message ID | 20160802120950.18708-1-baolex.ni@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 6793957..8cb7759 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c @@ -51,7 +51,7 @@ MODULE_AUTHOR("Derek G. Murray <Derek.Murray@cl.cam.ac.uk>, " MODULE_DESCRIPTION("User-space granted page access driver"); static int limit = 1024*1024; -module_param(limit, int, 0644); +module_param(limit, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); MODULE_PARM_DESC(limit, "Maximum number of grants that may be mapped by " "the gntdev device");