It seems that there is no portable way to copy_to_from_user(), so I
replaced the memmove() with a __put_user()/__get_user() loop.
http://www.colorfullife.com/manfreds/patch-console_lock
Note that you have to disable IRQ's for a byte-wise move of up to 16 kB
memory, this could take quite a long time.
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/