Re: __get_user usage in mm/slab.c

David S. Miller (davem@redhat.com)
Tue, 12 Mar 2002 04:43:04 -0800 (PST)


From: Roman Zippel <zippel@linux-m68k.org>
Date: Tue, 12 Mar 2002 12:58:53 +0100 (CET)

We have to at least insert a "set_fs(get_fs())", but IMO a separate
interface would be better. Any opinions?

Right, it is portable if set_fs(KERNEL_DS) is done around it.

This is how most arch syscall ABI translation layers work btw.

Because this way basically must work, I would prefer it gets fixed
like this instead of creating a new interface.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/