summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdike <jdike>2004-02-16 00:11:58 +0000
committerjdike <jdike>2004-02-16 00:11:58 +0000
commit57824cc090c73bae77a2f6c4aecc1e1dcbef464d (patch)
tree12b6b865c1a30a723ab550fd190cecad014183ad
parent6f2f61c1f89d3fc57374dae79cbbbddd3f87244b (diff)
downloaduml-history-57824cc090c73bae77a2f6c4aecc1e1dcbef464d.tar.gz
Added a note calling for some copy_user fixes.
-rw-r--r--arch/um/sys-i386/ldt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c
index 33e3021..ba77cca 100644
--- a/arch/um/sys-i386/ldt.c
+++ b/arch/um/sys-i386/ldt.c
@@ -13,6 +13,8 @@
#ifdef CONFIG_MODE_TT
extern int modify_ldt(int func, void *ptr, unsigned long bytecount);
+/* XXX this needs copy_to_user and copy_from_user */
+
int sys_modify_ldt_tt(int func, void *ptr, unsigned long bytecount)
{
if(verify_area(VERIFY_READ, ptr, bytecount)) return(-EFAULT);