Re: Bug_reply : Out of range ptr error in module indicates bug inslab.c

From: Arjan van de Ven
Date: Thu Dec 30 2004 - 07:19:15 EST


On Thu, 2004-12-30 at 04:13 -0800, selvakumar nagendran wrote:
>
> Thanks for ur help. The user will be changing
> this using system calls like dup,dup2 etc. If I keep
> track of all these modifications by intercepting all
> those syscalls and use inode number for identifying
> the structure uniquely, will it break?

it sure is not a reliable method. The user can change the fd's YOU log.
So your logging is inaccurate. That may or may not be a problem, it
depends on what the application of this is.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/