... Time for an example. Here is a simple read_procimplementation for the scull device: int scull_read_procmem (char *buf, char **start, off_t offset, int count, int *eof, void *data) { int ... in its read implementation: char faulty_buf[1024]; ssize_t faulty_read (struct file *filp, char *buf, size_t count, loff_t *pos) { int ret, ret2; char stack_buf[4]; printk(KERN_DEBUG ... limit; i++) { Scull_Dev *d = &scull_devices[i]; if (down_interruptible(&d->sem)) return -ERESTARTSYS; len += sprintf(buf+len,"\nDevice %i: qset %i, q %i, sz %li\n",...