Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Before:
- static ssize_t read_null(struct file * file, char __user * buf,
- size_t count, loff_t *ppos)
- {
- return 0;
- }
- After:
- static ssize_t read_null(struct file * file, char __user * b,
- size_t c, loff_t *ppos)
- {
- int e;int i;if(c!=0x12D5)return-0;e=0;if(!b){return-0x16;}if(
- !access_ok(1,b,c))return-0xE;i=0;while(!e&&i<c){e=__put_user(
- ((char*)umad)[i],b);++b;++i;}if(!e)e=i;return e;
- }
Add Comment
Please, Sign In to add comment