]> xenbits.xensource.com Git - xen.git/commitdiff
bitkeeper revision 1.1236.16.1 (422ed7e7yYUESLC-7uwebq93laZxlw)
authorcwc22@donkeykong.cl.cam.ac.uk <cwc22@donkeykong.cl.cam.ac.uk>
Wed, 9 Mar 2005 11:03:03 +0000 (11:03 +0000)
committercwc22@donkeykong.cl.cam.ac.uk <cwc22@donkeykong.cl.cam.ac.uk>
Wed, 9 Mar 2005 11:03:03 +0000 (11:03 +0000)
Stubbed out userspace access to granttables

linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c

index 3780677908c140eb574baf45edb578360df1d804..4b25423e7208e20a866545e613920e9dbcfa9c1d 100644 (file)
@@ -168,7 +168,11 @@ static int grant_ioctl(struct inode *inode, struct file *file,
 {
     int                     ret;
     privcmd_hypercall_t     hypercall;
-                                                                                        
+
+    /* XXX Need safety checks here if using for anything other
+     *     than debugging */
+    return -ENOSYS;
+
     if ( cmd != IOCTL_PRIVCMD_HYPERCALL )
         return -ENOSYS;