Re: [PATCH] nfs client, kernel 2.4.31: readlink result overflow

From: Peter Staubach
Date: Wed Sep 14 2005 - 15:34:35 EST


Assar wrote:

Peter Staubach <staubach@xxxxxxxxxx> writes:


One other thing -- it doesn't seem particularly correct to me to just
silently truncate the symbolic link contents.



Sure, and 2.6 indeed returns ENAMETOOLONG. I was just trying to close
the problem and not change the functionality in 2.4. If the consensus
is that we should change it to return an error, I can certainly cook
up patches for that.


Understand. I would recommend that the 2.4 kernel be modified to return
an error, since we are already modifying the area anyway.

Thanx...

ps
-
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/