Skip to contentSkip to conversation

syscall standardized

PATCH New FabF 1 participant 1 message Jun 18, 2004 VFS

lore
Share & tools
lore

FabF

author
#0 lore raw

PATCH 1/1 syscall standardized

Andrew,

Here's a __user fix for quota syscall.

Regards,
FabF

fs/quota.c +1 -1
diff -Naur orig/fs/quota.c edited/fs/quota.c
@@ -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;