Re: Reading large /proc entry from kernel module

2005-03-09 Thread Bob Bennett
itten that amount. Probably the problem is that you used strcpy() to copy the data from lbuf to policy, and there is a null character after 1003 bytes. It is an unnecessary extra step to allocate two buffers (lbuf & policy) and copy data from one to the other. Why not just pass lbuff to umb_parse_

Re: Reading large /proc entry from kernel module

2005-03-09 Thread Bob Bennett
1003 bytes. It is an unnecessary extra step to allocate two buffers (lbuf policy) and copy data from one to the other. Why not just pass lbuff to umb_parse_proc()?? Regards, Bob Bennett - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL