[PATCH 2.6.7] syscall standardized

From: FabF
Date: Fri Jun 18 2004 - 14:25:42 EST


Andrew,

Here's a __user fix for quota syscall.

Regards,
FabF
diff -Naur orig/fs/quota.c edited/fs/quota.c
--- orig/fs/quota.c 2004-06-16 07:20:04.000000000 +0200
+++ edited/fs/quota.c 2004-06-18 20:51:39.830233584 +0200
@@ -264,7 +264,7 @@
* calls. Maybe we need to add the process quotas etc. in the future,
* but we probably should use rlimits for that.
*/
-asmlinkage long sys_quotactl(unsigned int cmd, const char *special, qid_t id, caddr_t addr)
+asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, caddr_t addr)
{
uint cmds, type;
struct super_block *sb = NULL;