negative seek offsets in VFS
[Posted May 31, 2005 by corbet]
| From: |
| Andi Kleen <ak-AT-muc.de> |
| To: |
| viro-AT-www.linux.org.uk |
| Subject: |
| negative seek offsets in VFS |
| Date: |
| 25 May 2005 18:39:05 +0200 |
| Cc: |
| linux-fsdevel-AT-vger.kernel.org |
| Archive-link: |
| Article,
Thread
|
My x86-64 users are complaining again that they cannot reach kernel
text addresses in /dev/kmem. The reason is that they are negative and
the the VFS read and seek code just EINVALs them. For seek I could
fix it in drivers/char/mem.c, but for read/pread/write etc.
it needs VFS changes.
I dont quite get why they are there anyways, the super block has
max file size field and checking against that should be enough for
all the filesystems, no?
Opinions?
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
(
Log in to post comments)