int
isdn_ppp_read(int min, struct file *file, char *buf, int count)
{
...
save_flags(flags);
cli();
...
if ((r = copy_to_user_ugh(buf, b->buf, count))) {
restore_flags(flags);
return r;
...
}
Jean
PS: If there is anyone interested I can send a patch with the
instrumented copy in/out functions.
-- I get up each morning, gather my wits. Pick up the paper, read the obits. if I'm not there I know I'm not dead. So I eat a good breakfast and go back to bed. Peete Seeger- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu