[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Make /proc/xen/xsd_kva with permissions 0600 so it can be opened
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 6cb33c7c8cdd68b21eeadbc8dcd8b23590718f40 # Parent 90c71ea18b50f4a7ee1c9fe03f9563a05befb8a6 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@xxxxxxxxxxxx> diff -r 90c71ea18b50 -r 6cb33c7c8cdd linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Mon Mar 6 18:26:30 2006 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Mon Mar 6 18:47:26 2006 @@ -1039,7 +1039,7 @@ xen_start_info->store_evtchn = op.u.alloc_unbound.port; /* And finally publish the above info in /proc/xen */ - xsd_kva_intf = create_xen_proc_entry("xsd_kva", 0400); + xsd_kva_intf = create_xen_proc_entry("xsd_kva", 0600); if (xsd_kva_intf) { memcpy(&xsd_kva_fops, xsd_kva_intf->proc_fops, sizeof(xsd_kva_fops)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |