From b5b88d1a8de404db4204ed24413705c500311de0 Mon Sep 17 00:00:00 2001 From: "cwc22@donkeykong.cl.cam.ac.uk" Date: Wed, 9 Mar 2005 11:03:03 +0000 Subject: [PATCH] bitkeeper revision 1.1236.16.1 (422ed7e7yYUESLC-7uwebq93laZxlw) Stubbed out userspace access to granttables --- linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c b/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c index 3780677908..4b25423e72 100644 --- a/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c +++ b/linux-2.6.10-xen-sparse/arch/xen/kernel/gnttab.c @@ -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; -- 2.39.5