mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.7] syscall standardized
@ 2004-06-18 19:03 FabF
  0 siblings, 0 replies; only message in thread
From: FabF @ 2004-06-18 19:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

Andrew,

	Here's a __user fix for quota syscall.

Regards,
FabF

[-- Attachment #2: __user1.diff --]
[-- Type: text/x-patch, Size: 552 bytes --]

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-18 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-18 19:03 [PATCH 2.6.7] syscall standardized FabF

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome