direct-io.hg

changeset 9151:6cb33c7c8cdd

Make /proc/xen/xsd_kva with permissions 0600 so it can be opened
for write access (and mmap()ed with write permissions).

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
author kaf24@firebug.cl.cam.ac.uk
date Mon Mar 06 19:47:26 2006 +0100 (2006-03-06)
parents 90c71ea18b50
children d60392d5b818
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Mon Mar 06 19:26:30 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Mon Mar 06 19:47:26 2006 +0100
     1.3 @@ -1039,7 +1039,7 @@ static int __init xenbus_probe_init(void
     1.4  		xen_start_info->store_evtchn = op.u.alloc_unbound.port;
     1.5  
     1.6  		/* And finally publish the above info in /proc/xen */
     1.7 -		xsd_kva_intf = create_xen_proc_entry("xsd_kva", 0400);
     1.8 +		xsd_kva_intf = create_xen_proc_entry("xsd_kva", 0600);
     1.9  		if (xsd_kva_intf) {
    1.10  			memcpy(&xsd_kva_fops, xsd_kva_intf->proc_fops,
    1.11  			       sizeof(xsd_kva_fops));