Q: procfs entry.

2001-05-18 Thread Anders Peter Fugmann
Hi again. I have a question about the function parsed for reading a procfs entry. I've used the skeleton from drivers/char/misc.c, and all works perfectly, but I see a potential flaw. static int misc_read_proc(char *buf, char **start, off_t offset, int len, int

Q: procfs entry.

2001-05-18 Thread Anders Peter Fugmann
Hi again. I have a question about the function parsed for reading a procfs entry. I've used the skeleton from drivers/char/misc.c, and all works perfectly, but I see a potential flaw. static int misc_read_proc(char *buf, char **start, off_t offset, int len, int