Linus Torvalds wrote: > Anybody want to send in the patch that just generates separate versions > for > > loff_t eio_llseek(struct file *file, loff_t offset, int origin) > { > return -EIO; > } > > int eio_readdir(struct file *filp, void *dirent, filldir_t filldir) > { > return -EIO; > .. > > and so on? That's more or less what I sent at http://lkml.org/lkml/2007/1/3/244 +static int bad_file_readdir(struct file * filp, void * dirent, + filldir_t filldir) +{ + return -EIO; +} ... etc Thanks, -Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Andrew Morton <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Linus Torvalds <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Al Viro <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Linus Torvalds <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Al Viro <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Al Viro <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Mitchell Blank Jr <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Linus Torvalds <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Prev by Date: Re: [RFC: 2.6 patch] remove the broken VIDEO_PLANB driver
- Next by Date: Re: [PATCH] Fix __ucmpdi2 in v4l2_norm_to_name()
- Previous by thread: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Next by thread: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Index(es):