summaryrefslogtreecommitdiffstats
path: root/fs/umsdos/notes
diff options
context:
space:
mode:
Diffstat (limited to 'fs/umsdos/notes')
-rw-r--r--fs/umsdos/notes17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/umsdos/notes b/fs/umsdos/notes
new file mode 100644
index 0000000..3c47d1f
--- /dev/null
+++ b/fs/umsdos/notes
@@ -0,0 +1,17 @@
+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
+
+
OpenPOWER on IntegriCloud