OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [umsdos/] [notes] - Rev 1765

Compare with Previous | Blame | View Log

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


Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.