You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
406 B

This file contain idea and things I don't want to forget
Possible bug in fs/read_write.c
Function sys_readdir()
There is a call the verify_area that does not take in account
the count parameter. I guess it should read
error = verify_area(VERIFY_WRITE, dirent, count*sizeof (*dirent));
instead of
error = verify_area(VERIFY_WRITE, dirent, sizeof (*dirent));
Of course, now , count is always 1